public class JavaThread extends Thread
Constructor and Description |
---|
JavaThread(Address addr) |
Modifier and Type | Method and Description |
---|---|
static AddressField |
getAnchorField() |
Address |
getBaseOfStackPointer()
A stack pointer older than any java frame stack pointer.
|
Frame |
getCurrentFrameGuess()
This is only designed to be used by the debugging system.
|
Oop |
getCurrentParkBlocker() |
Frame |
getLastFrame()
Accessing frames
|
protected Frame |
getLastFramePD()
Internal routine implemented by platform-dependent subclasses
|
Address |
getLastJavaFP()
Abstract accessor to last Java frame pointer, implemented by
OS/CPU-specific JavaThread implementation.
|
Address |
getLastJavaPC() |
Address |
getLastJavaSP()
Get the last Java stack pointer
|
JavaVFrame |
getLastJavaVFrame(RegisterMap regMap)
Accessing frames.
|
JavaVFrame |
getLastJavaVFrameDbg()
This should only be used by a debugger.
|
OSThread |
getOSThread() |
Address |
getStackBase() |
long |
getStackBaseValue() |
long |
getStackSize() |
java.lang.String |
getThreadName()
Get the Java-side name of this thread
|
Oop |
getThreadObj()
Gets the Java-side thread object for this JavaThread
|
ThreadProxy |
getThreadProxy() |
JavaThreadState |
getThreadState() |
boolean |
hasLastJavaFrame()
Tells whether the last Java frame is set
|
boolean |
isInStack(Address a) |
boolean |
isJavaThread()
NOTE: for convenience, this differs in definition from the
underlying VM.
|
boolean |
isLockOwned(Address a) |
RegisterMap |
newRegisterMap(boolean updateMap)
In this system, a JavaThread is the top-level factory for a
RegisterMap, since the JavaThread implementation is already
platform-specific and RegisterMap is also necessarily
platform-specific.
|
JavaThread |
next() |
void |
oopsDo(AddressVisitor oopVisitor)
Memory operations
|
void |
printInfoOn(java.io.PrintStream tty) |
void |
printThreadID() |
void |
printThreadIDOn(java.io.PrintStream tty)
Also only intended for use by the debugging system.
|
activeHandles, allocatedBytes, getCurrentPendingMonitor, getCurrentWaitingMonitor, hasAsyncException, isAnySuspended, isBeingExtSuspended, isCompilerThread, isConcurrentMarkSweepThread, isExternalSuspend, isExtSuspended, isHiddenFromExternalView, isJvmtiAgentThread, isServiceThread, isVMThread, isWatcherThread, suspendFlags, tlab
equals, getAddress, hashCode, toString
public JavaThread(Address addr)
public JavaThread next()
public boolean isJavaThread()
isJavaThread
in class Thread
public static AddressField getAnchorField()
public Address getLastJavaSP()
public Address getLastJavaPC()
public Address getLastJavaFP()
public Address getBaseOfStackPointer()
public boolean hasLastJavaFrame()
public Frame getLastFrame()
protected Frame getLastFramePD()
public JavaVFrame getLastJavaVFrame(RegisterMap regMap)
public JavaVFrame getLastJavaVFrameDbg()
public RegisterMap newRegisterMap(boolean updateMap)
public Frame getCurrentFrameGuess()
public void printThreadIDOn(java.io.PrintStream tty)
public void printThreadID()
public ThreadProxy getThreadProxy()
public JavaThreadState getThreadState()
public OSThread getOSThread()
public Address getStackBase()
public long getStackBaseValue()
public long getStackSize()
public Oop getThreadObj()
public java.lang.String getThreadName()
public void oopsDo(AddressVisitor oopVisitor)
Thread
public boolean isLockOwned(Address a)
isLockOwned
in class Thread
public Oop getCurrentParkBlocker()
public void printInfoOn(java.io.PrintStream tty)
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.