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

public Class Thread

extends VMObject
Class Inheritance
Known Direct Subclasses
sun.jvm.hotspot.runtime.WatcherThread, sun.jvm.hotspot.runtime.JavaThread
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 CIntegerField
private static AddressField
private static AddressField
private static AddressField
private static CIntegerField
private static long
Inherited from sun.jvm.hotspot.runtime.VMObject:
addr

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
public ObjectMonitor
public ObjectMonitor
private static synchronized void
public boolean
public boolean
public boolean
public boolean
public void
oopsDo(AddressVisitor oopVisitor)

Memory operations

public OSThread
public int
pack-priv Address
threadObjectAddress()

Assistance for ObjectMonitor implementation

public ThreadLocalAllocBuffer
tlab()

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

Field Detail

allocatedBytesFieldback to summary
private static CIntegerField allocatedBytesField
currentPendingMonitorFieldback to summary
private static AddressField currentPendingMonitorField
currentWaitingMonitorFieldback to summary
private static AddressField currentWaitingMonitorField
osThreadFieldback to summary
private static AddressField osThreadField
suspendFlagsFieldback to summary
private static CIntegerField suspendFlagsField
tlabFieldOffsetback to summary
private static long tlabFieldOffset

Constructor Detail

Threadback to summary
public Thread(Address addr)

Method Detail

allocatedBytesback to summary
public long allocatedBytes()
getCurrentPendingMonitorback to summary
public ObjectMonitor getCurrentPendingMonitor()
getCurrentWaitingMonitorback to summary
public ObjectMonitor getCurrentWaitingMonitor()
initializeback to summary
private static synchronized void initialize(TypeDataBase db)
isHiddenFromExternalViewback to summary
public boolean isHiddenFromExternalView()
isInStackback to summary
public boolean isInStack(Address a)
isLockOwnedback to summary
public boolean isLockOwned(Address lock)
isVMThreadback to summary
public boolean isVMThread()
oopsDoback to summary
public void oopsDo(AddressVisitor oopVisitor)

Memory operations

osThreadback to summary
public OSThread osThread()
suspendFlagsback to summary
public int suspendFlags()
threadObjectAddressback to summary
pack-priv Address threadObjectAddress()

Assistance for ObjectMonitor implementation

tlabback to summary
public ThreadLocalAllocBuffer tlab()