APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.debugger.remote

public Class RemoteDebuggerServer

extends UnicastRemoteObject
implements RemoteDebugger
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.remote.RemoteDebugger, java.rmi.Remote
Imports
java.io.*, java.rmi.*, java.rmi.server.*, java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.tools.*

The implementation of the RemoteDebugger interface. This delegates to a local debugger

Field Summary

Modifier and TypeField and Description
private transient JVMDebugger

Constructor Summary

AccessConstructor and Description
public
RemoteDebuggerServer()

This is the required no-arg constructor

public
RemoteDebuggerServer(JVMDebugger debugger, int port)

This is the constructor used on the machine where the debuggee process lies that accepts an RMI connector port

public
RemoteDebuggerServer(JVMDebugger debugger)

This is the constructor used on the machine where the debuggee process lies

Method Summary

Modifier and TypeMethod and Description
public boolean
areThreadsEqual(long addrOrId1, boolean isAddress1, long addrOrId2, boolean isAddress2)

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.areThreadsEqual.

public String
public String
public String
public String
public long
public long
public long
public long
public long
public long
public long
public long
public long
public long
public MachineDescription
public long
public int
public long
public int
public String
public int
public long[]
private ThreadProxy
getThreadProxy(long addrOrId, boolean isAddress)

public boolean
public long
public ReadResult
Inherited from java.rmi.server.UnicastRemoteObject:
cloneexportObjectexportObjectexportObjectexportObjectexportObjectunexportObject

Field Detail

debuggerback to summary
private transient JVMDebugger debugger

Constructor Detail

RemoteDebuggerServerback to summary
public RemoteDebuggerServer() throws RemoteException

This is the required no-arg constructor

RemoteDebuggerServerback to summary
public RemoteDebuggerServer(JVMDebugger debugger, int port) throws RemoteException

This is the constructor used on the machine where the debuggee process lies that accepts an RMI connector port

RemoteDebuggerServerback to summary
public RemoteDebuggerServer(JVMDebugger debugger) throws RemoteException

This is the constructor used on the machine where the debuggee process lies

Method Detail

areThreadsEqualback to summary
public boolean areThreadsEqual(long addrOrId1, boolean isAddress1, long addrOrId2, boolean isAddress2) throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.areThreadsEqual.

consoleExecuteCommandback to summary
public String consoleExecuteCommand(String cmd) throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.consoleExecuteCommand.

execCommandOnServerback to summary
public String execCommandOnServer(String command, Map<String, Object> options) throws RemoteException

Overrides default sun.jvm.hotspot.debugger.remote.RemoteDebugger.execCommandOnServer.

Annotations
@Override
getConsolePromptback to summary
public String getConsolePrompt() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getConsolePrompt.

getCPUback to summary
public String getCPU() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getCPU.

getHeapOopSizeback to summary
public long getHeapOopSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getHeapOopSize.

getJBooleanSizeback to summary
public long getJBooleanSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJBooleanSize.

getJByteSizeback to summary
public long getJByteSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJByteSize.

getJCharSizeback to summary
public long getJCharSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJCharSize.

getJDoubleSizeback to summary
public long getJDoubleSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJDoubleSize.

getJFloatSizeback to summary
public long getJFloatSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJFloatSize.

getJIntSizeback to summary
public long getJIntSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJIntSize.

getJLongSizeback to summary
public long getJLongSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJLongSize.

getJShortSizeback to summary
public long getJShortSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getJShortSize.

getKlassPtrSizeback to summary
public long getKlassPtrSize() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getKlassPtrSize.

getMachineDescriptionback to summary
public MachineDescription getMachineDescription() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getMachineDescription.

getNarrowKlassBaseback to summary
public long getNarrowKlassBase() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getNarrowKlassBase.

getNarrowKlassShiftback to summary
public int getNarrowKlassShift() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getNarrowKlassShift.

getNarrowOopBaseback to summary
public long getNarrowOopBase() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getNarrowOopBase.

getNarrowOopShiftback to summary
public int getNarrowOopShift() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getNarrowOopShift.

getOSback to summary
public String getOS() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getOS.

getThreadHashCodeback to summary
public int getThreadHashCode(long addrOrId, boolean isAddress) throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getThreadHashCode.

getThreadIntegerRegisterSetback to summary
public long[] getThreadIntegerRegisterSet(long addrOrId, boolean isAddress) throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.getThreadIntegerRegisterSet.

getThreadProxyback to summary
private ThreadProxy getThreadProxy(long addrOrId, boolean isAddress) throws DebuggerException
hasConsoleback to summary
public boolean hasConsole() throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.hasConsole.

lookupInProcessback to summary
public long lookupInProcess(String objectName, String symbol) throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.lookupInProcess.

readBytesFromProcessback to summary
public ReadResult readBytesFromProcess(long address, long numBytes) throws RemoteException

Implements sun.jvm.hotspot.debugger.remote.RemoteDebugger.readBytesFromProcess.