| Modifier and Type | Field and Description |
|---|---|
| private static JavaThreadPDAccess | |
| private static AddressField | |
| private static final String | |
| private static AddressField | |
| private static int | |
| private static int | |
| private static AddressField | |
| private static final boolean | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static int | |
| private static AddressField | |
| private static AddressField | |
| private static long | |
| private static long | |
| private static CIntegerField | |
| private static int | |
| private static int | |
| private static int | |
| private static long | |
| private static AddressField | |
| private static AddressField | |
| private static CIntegerField | |
| private static CIntegerField | |
| private static long | |
| private static CIntegerField | |
| private static int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JNIHandleBlock | |
| private Frame | |
| public static AddressField | |
| public Address | |
| public ContinuationEntry | |
| public Frame | |
| public Oop | |
| public Frame | |
| protected Frame | |
| public Address | getLastJavaFP()
Abstract accessor to last Java frame pointer, implemented by OS/CPU-specific JavaThread implementation. |
| public Address | |
| public Address | |
| public JavaVFrame | |
| public JavaVFrame | |
| public Address | |
| public OSThread | |
| public Address | |
| public long | |
| public long | |
| public int | |
| public String | |
| public Oop | |
| public ThreadProxy | |
| public JavaThreadState | |
| public boolean | |
| private static synchronized void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public Address | |
| public 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. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| pack-priv void |
| access | back to summary |
|---|---|
| private static JavaThreadPDAccess access | |
| activeHandlesField | back to summary |
|---|---|
| private static AddressField activeHandlesField | |
| ADDRESS_FORMAT | back to summary |
|---|---|
| private static final String ADDRESS_FORMAT | |
| anchorField | back to summary |
|---|---|
| private static AddressField anchorField | |
| BLOCKED | back to summary |
|---|---|
| private static int BLOCKED | |
| BLOCKED_TRANS | back to summary |
|---|---|
| private static int BLOCKED_TRANS | |
| contEntryField | back to summary |
|---|---|
| private static AddressField contEntryField | |
| DEBUG | back to summary |
|---|---|
| private static final boolean DEBUG | |
| EXITING | back to summary |
|---|---|
| private static int EXITING | |
| IN_JAVA | back to summary |
|---|---|
| private static int IN_JAVA | |
| IN_JAVA_TRANS | back to summary |
|---|---|
| private static int IN_JAVA_TRANS | |
| IN_NATIVE | back to summary |
|---|---|
| private static int IN_NATIVE | |
| IN_NATIVE_TRANS | back to summary |
|---|---|
| private static int IN_NATIVE_TRANS | |
| IN_VM | back to summary |
|---|---|
| private static int IN_VM | |
| IN_VM_TRANS | back to summary |
|---|---|
| private static int IN_VM_TRANS | |
| lastJavaPCField | back to summary |
|---|---|
| private static AddressField lastJavaPCField | |
| lastJavaSPField | back to summary |
|---|---|
| private static AddressField lastJavaSPField | |
| lockStackBaseOffset | back to summary |
|---|---|
| private static long lockStackBaseOffset | |
| lockStackTopOffset | back to summary |
|---|---|
| private static long lockStackTopOffset | |
| monitorOwnerIDField | back to summary |
|---|---|
| private static CIntegerField monitorOwnerIDField | |
| NEW | back to summary |
|---|---|
| private static int NEW | |
| NEW_TRANS | back to summary |
|---|---|
| private static int NEW_TRANS | |
| NOT_TERMINATED | back to summary |
|---|---|
| private static int NOT_TERMINATED | |
| oopPtrSize | back to summary |
|---|---|
| private static long oopPtrSize | |
| osThreadField | back to summary |
|---|---|
| private static AddressField osThreadField | |
| stackBaseField | back to summary |
|---|---|
| private static AddressField stackBaseField | |
| stackSizeField | back to summary |
|---|---|
| private static CIntegerField stackSizeField | |
| terminatedField | back to summary |
|---|---|
| private static CIntegerField terminatedField | |
| threadObjFieldOffset | back to summary |
|---|---|
| private static long threadObjFieldOffset | |
| threadStateField | back to summary |
|---|---|
| private static CIntegerField threadStateField | |
| UNINITIALIZED | back to summary |
|---|---|
| private static int UNINITIALIZED | |
| JavaThread | back to summary |
|---|---|
| public JavaThread(Address addr) | |
| activeHandles | back to summary |
|---|---|
| public JNIHandleBlock activeHandles() | |
| cookLastFrame | back to summary |
|---|---|
| private Frame cookLastFrame(Frame fr) | |
| getAnchorField | back to summary |
|---|---|
| public static AddressField getAnchorField() | |
| getBaseOfStackPointer | back to summary |
|---|---|
| public Address getBaseOfStackPointer() A stack pointer older than any java frame stack pointer. Only needed on some platforms; for example, see thread_solaris_sparc.hpp. | |
| getContEntry | back to summary |
|---|---|
| public ContinuationEntry getContEntry() | |
| getCurrentFrameGuess | back to summary |
|---|---|
| public Frame getCurrentFrameGuess() This is only designed to be used by the debugging system. Returns a "best guess" of the topmost frame on the stack. This guess should be as "raw" as possible. For example, if the topmost frame is an interpreter frame (the return PC is in the interpreter) but is not a valid frame (i.e., the BCI has not yet been set up) this should still return the topmost frame and not the sender. Validity checks are done at higher levels. | |
| getCurrentParkBlocker | back to summary |
|---|---|
| public Oop getCurrentParkBlocker() | |
| getLastFrame | back to summary |
|---|---|
| public Frame getLastFrame() Accessing frames | |
| getLastFramePD | back to summary |
|---|---|
| protected Frame getLastFramePD() Internal routine implemented by platform-dependent subclasses | |
| getLastJavaFP | back to summary |
|---|---|
| public Address getLastJavaFP() Abstract accessor to last Java frame pointer, implemented by OS/CPU-specific JavaThread implementation. May return null if there is no frame pointer or if it is not necessary on this platform. | |
| getLastJavaPC | back to summary |
|---|---|
| public Address getLastJavaPC() | |
| getLastJavaSP | back to summary |
|---|---|
| public Address getLastJavaSP() Get the last Java stack pointer | |
| getLastJavaVFrame | back to summary |
|---|---|
| public JavaVFrame getLastJavaVFrame(RegisterMap regMap) Accessing frames. Returns the last Java VFrame or null if none was present. (NOTE that this is mostly unusable in a debugging system; see getLastJavaVFrameDbg, below, which provides very different functionality.) | |
| getLastJavaVFrameDbg | back to summary |
|---|---|
| public JavaVFrame getLastJavaVFrameDbg() This should only be used by a debugger. Uses the current frame guess to attempt to get the topmost JavaVFrame. (getLastJavaVFrame, as a port of the VM's routine, assumes the VM is at a safepoint.) | |
| getMonitorOwnerID | back to summary |
|---|---|
| public Address getMonitorOwnerID() | |
| getOSThread | back to summary |
|---|---|
| public OSThread getOSThread() | |
| getStackBase | back to summary |
|---|---|
| public Address getStackBase() | |
| getStackBaseValue | back to summary |
|---|---|
| public long getStackBaseValue() | |
| getStackSize | back to summary |
|---|---|
| public long getStackSize() | |
| getTerminated | back to summary |
|---|---|
| public int getTerminated() | |
| getThreadName | back to summary |
|---|---|
| public String getThreadName() Get the Java-side name of this thread | |
| getThreadObj | back to summary |
|---|---|
| public Oop getThreadObj() Gets the Java-side thread object for this JavaThread | |
| getThreadProxy | back to summary |
|---|---|
| public ThreadProxy getThreadProxy() | |
| getThreadState | back to summary |
|---|---|
| public JavaThreadState getThreadState() | |
| hasLastJavaFrame | back to summary |
|---|---|
| public boolean hasLastJavaFrame() Tells whether the last Java frame is set | |
| initialize | back to summary |
|---|---|
| private static synchronized void initialize(TypeDataBase db) | |
| isExiting | back to summary |
|---|---|
| public boolean isExiting() | |
| isInStack | back to summary |
|---|---|
| public boolean isInStack(Address a) Overrides sun. | |
| isLockOwned | back to summary |
|---|---|
| public boolean isLockOwned(OopHandle obj) | |
| isLockOwned | back to summary |
|---|---|
| public boolean isLockOwned(Address a) Overrides sun. | |
| isTerminated | back to summary |
|---|---|
| public boolean isTerminated() | |
| lastSPDbg | back to summary |
|---|---|
| public Address lastSPDbg() | |
| newRegisterMap | back to summary |
|---|---|
| public 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. The updateMap argument indicates whether the register map needs to be updated, for example during stack traversal -- see frame.hpp. | |
| oopsDo | back to summary |
|---|---|
| public void oopsDo(AddressVisitor oopVisitor) Overrides sun. Doc from sun. Memory operations | |
| printInfoOn | back to summary |
|---|---|
| public void printInfoOn(PrintStream tty) | |
| printThreadContextOn | back to summary |
|---|---|
| public void printThreadContextOn(PrintStream out, boolean verbose) | |
| printThreadID | back to summary |
|---|---|
| public void printThreadID() | |
| printThreadIDOn | back to summary |
|---|---|
| public void printThreadIDOn(PrintStream tty) Also only intended for use by the debugging system. Provides the same effect of OSThread::print(); that is, prints a value which allows the user to intuitively understand which native OS thread maps to this Java thread. Does not print a newline or leading or trailing spaces. | |
| printThreadInfoOn | back to summary |
|---|---|
| public void printThreadInfoOn(PrintStream out) | |
| setThreadPDAccess | back to summary |
|---|---|
| pack-priv void setThreadPDAccess(JavaThreadPDAccess access) | |