APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.runtime

public Class BasicObjectLock

extends VMObject
Class Inheritance
Imports
java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.types.*, sun.jvm.hotspot.utilities.Observable, .Observer

Field Summary

Modifier and TypeField and Description
private static Field
private static OopField
private static int
Inherited from sun.jvm.hotspot.runtime.VMObject:
addr

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Address
address()

Helper routine for Frames (also probably needed for iteration)

private static synchronized void
public BasicLock
lock()

public OopHandle
obj()

public static int
size()

Note

Use frame::interpreter_frame_monitor_size() for the size of BasicObjectLocks in interpreter activation frames since it includes machine-specific padding.

Inherited from sun.jvm.hotspot.runtime.VMObject:
equalsgetAddresshashCodetoString

Field Detail

lockFieldback to summary
private static Field lockField
objFieldback to summary
private static OopField objField
sizeback to summary
private static int size

Constructor Detail

BasicObjectLockback to summary
public BasicObjectLock(Address addr)

Method Detail

addressback to summary
public Address address()

Helper routine for Frames (also probably needed for iteration)

initializeback to summary
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException
lockback to summary
public BasicLock lock()
objback to summary
public OopHandle obj()
sizeback to summary
public static int size()

Note

Use frame::interpreter_frame_monitor_size() for the size of BasicObjectLocks in interpreter activation frames since it includes machine-specific padding. This routine returns a size in BYTES in this system!