Top Description Methods
sun.jvm.hotspot.debugger

public Interface JVMDebugger

extends Debugger
Known Direct Subinterfaces
sun.jvm.hotspot.debugger.bsd.BsdDebugger, sun.jvm.hotspot.debugger.linux.LinuxDebugger, sun.jvm.hotspot.debugger.windbg.WindbgDebugger
Known Direct Implementers
sun.jvm.hotspot.debugger.remote.RemoteDebuggerClient

An extension of the Debugger interface which can be configured with Java type sizes to allow the sizes of primitive Java types to be read from the remote JVM.

Method Summary

Modifier and TypeMethod and Description
public void
configureJavaPrimitiveTypeSizes(long jbooleanSize, long jbyteSize, long jcharSize, long jdoubleSize, long jfloatSize, long jintSize, long jlongSize, long jshortSize)

This intent is that this can be called late in the bootstrapping sequence, after which the debugger can handle reading of Java primitive types, and thereby implement the Java functionality in class Address.

public Address
newAddress(long value)

public void
putHeapConst(long heapOopSize, long klassPtrSize, long narrowKlassBase, int narrowKlassShift, long narrowOopBase, int narrowOopShift)

Inherited from sun.jvm.hotspot.debugger.Debugger:
attachattachconsoleExecuteCommanddetachfindSymbolgetAddressValuegetCDebuggergetConsolePromptgetCPUgetHeapOopSizegetJBooleanSizegetJByteSizegetJCharSizegetJDoubleSizegetJFloatSizegetJIntSizegetJLongSizegetJShortSizegetKlassPtrSizegetMachineDescriptiongetNarrowKlassBasegetNarrowKlassShiftgetNarrowOopBasegetNarrowOopShiftgetOSgetProcessListhasConsolehasProcessListparseAddressreadBytesFromProcess

Method Detail

configureJavaPrimitiveTypeSizesback to summary
public void configureJavaPrimitiveTypeSizes(long jbooleanSize, long jbyteSize, long jcharSize, long jdoubleSize, long jfloatSize, long jintSize, long jlongSize, long jshortSize)

This intent is that this can be called late in the bootstrapping sequence, after which the debugger can handle reading of Java primitive types, and thereby implement the Java functionality in class Address. FIXME: consider adding oop size here as well and removing it from the MachineDescription.

newAddressback to summary
public Address newAddress(long value)
putHeapConstback to summary
public void putHeapConst(long heapOopSize, long klassPtrSize, long narrowKlassBase, int narrowKlassShift, long narrowOopBase, int narrowOopShift)