public class Thread extends VMObject
Modifier and Type | Method and Description |
---|---|
JNIHandleBlock |
activeHandles() |
long |
allocatedBytes() |
ObjectMonitor |
getCurrentPendingMonitor() |
ObjectMonitor |
getCurrentWaitingMonitor() |
boolean |
hasAsyncException() |
boolean |
isAnySuspended() |
boolean |
isBeingExtSuspended() |
boolean |
isCompilerThread() |
boolean |
isConcurrentMarkSweepThread() |
boolean |
isExternalSuspend() |
boolean |
isExtSuspended() |
boolean |
isHiddenFromExternalView() |
boolean |
isInStack(Address a) |
boolean |
isJavaThread() |
boolean |
isJvmtiAgentThread() |
boolean |
isLockOwned(Address lock) |
boolean |
isServiceThread() |
boolean |
isVMThread() |
boolean |
isWatcherThread() |
void |
oopsDo(AddressVisitor oopVisitor)
Memory operations
|
int |
suspendFlags() |
ThreadLocalAllocBuffer |
tlab() |
equals, getAddress, hashCode, toString
public Thread(Address addr)
public int suspendFlags()
public boolean isExternalSuspend()
public boolean isExtSuspended()
public boolean isBeingExtSuspended()
public boolean isAnySuspended()
public boolean hasAsyncException()
public ThreadLocalAllocBuffer tlab()
public JNIHandleBlock activeHandles()
public long allocatedBytes()
public boolean isVMThread()
public boolean isJavaThread()
public boolean isCompilerThread()
public boolean isHiddenFromExternalView()
public boolean isJvmtiAgentThread()
public boolean isWatcherThread()
public boolean isConcurrentMarkSweepThread()
public boolean isServiceThread()
public void oopsDo(AddressVisitor oopVisitor)
public ObjectMonitor getCurrentPendingMonitor()
public ObjectMonitor getCurrentWaitingMonitor()
public boolean isLockOwned(Address lock)
public boolean isInStack(Address a)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.