APIdia Launch Partner
Top Inners Fields Constructors Methods
sun.jvm.hotspot.tools

public Class PStack

extends Tool
Class Inheritance
Imports
java.io.*, java.util.*, sun.jvm.hotspot.*, sun.jvm.hotspot.code.*, sun.jvm.hotspot.interpreter.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*, sun.jvm.hotspot.debugger.remote.*, sun.jvm.hotspot.oops.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.utilities.PlatformInfo

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static record

Field Summary

Modifier and TypeField and Description
private boolean
private PrintStream
private boolean
Inherited from sun.jvm.hotspot.tools.Tool:
DEBUGEE_COREDEBUGEE_PIDDEBUGEE_REMOTE

Constructor Summary

AccessConstructor and Description
public
PStack(boolean v, boolean concurrentLocks, HotSpotAgent agent)

public
PStack(boolean v, boolean concurrentLocks)

public
public

Method Summary

Modifier and TypeMethod and Description
private Map<ThreadProxy, JavaThread>
private PStack.JavaNameInfo
public static void
main(String[] args)

private void
public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

public void
public void
public void
setConcurrentLocks(boolean concurrentLocks)

public void
setVerbose(boolean verbose)

Inherited from sun.jvm.hotspot.tools.Tool:
executegetAgentgetDebugeeTypegetNameneedsJavaPrefixprintFlagsUsageprintUsagesetAgentsetDebugeeTypestartstopusage

Field Detail

concurrentLocksback to summary
private boolean concurrentLocks
outback to summary
private PrintStream out
verboseback to summary
private boolean verbose

Constructor Detail

PStackback to summary
public PStack(boolean v, boolean concurrentLocks, HotSpotAgent agent)
PStackback to summary
public PStack(boolean v, boolean concurrentLocks)
PStackback to summary
public PStack()
PStackback to summary
public PStack(JVMDebugger d)

Method Detail

createProxyToThreadback to summary
private Map<ThreadProxy, JavaThread> createProxyToThread()
getJavaNamesback to summary
private PStack.JavaNameInfo getJavaNames(JavaThread jthread, CFrame f)
mainback to summary
public static void main(String[] args) throws Exception
printUnknownback to summary
private void printUnknown(PrintStream out)
runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.

runback to summary
public void run(PrintStream out)
runback to summary
public void run(PrintStream out, Debugger dbg)
setConcurrentLocksback to summary
public void setConcurrentLocks(boolean concurrentLocks)
setVerboseback to summary
public void setVerbose(boolean verbose)
sun.jvm.hotspot.tools back to summary

private final Record PStack.JavaNameInfo

extends Record
Class Inheritance
Record Components
names:String[] 
senderSP:Address 
senderFP:Address 
senderPC:Address 

Field Summary

Modifier and TypeField and Description
private final String[]
names

Record Component accessed by names().

private final Address
senderFP

Record Component accessed by senderFP().

private final Address
senderPC

Record Component accessed by senderPC().

private final Address
senderSP

Record Component accessed by senderSP().

Constructor Summary

AccessConstructor and Description
private
JavaNameInfo(String[] names, Address senderSP, Address senderFP, Address senderPC)

Method Summary

Modifier and TypeMethod and Description
public final boolean
equals(Object o)

Implements abstract java.lang.Record.equals.

Indicates whether some other object is "equal to" this one.

public final int
hashCode()

Implements abstract java.lang.Record.hashCode.

Returns a hash code value for the record.

public String[]
names()

Record Component getter of names.

public Address
senderFP()

Record Component getter of senderFP.

public Address
senderPC()

Record Component getter of senderPC.

public Address
senderSP()

Record Component getter of senderSP.

public final String
toString()

Implements abstract java.lang.Record.toString.

Returns a string representation of the record.

Field Detail

namesback to summary
private final String[] names

Record Component accessed by names().

senderFPback to summary
private final Address senderFP

Record Component accessed by senderFP().

senderPCback to summary
private final Address senderPC

Record Component accessed by senderPC().

senderSPback to summary
private final Address senderSP

Record Component accessed by senderSP().

Constructor Detail

JavaNameInfoback to summary
private JavaNameInfo(String[] names, Address senderSP, Address senderFP, Address senderPC)

Method Detail

equalsback to summary
public final boolean equals(Object o)

Implements abstract java.lang.Record.equals.

Doc from java.lang.Record.equals.

Indicates whether some other object is "equal to" this one. In addition to the general contract of Object.equals, record classes must further obey the invariant that when a record instance is "copied" by passing the result of the record component accessor methods to the canonical constructor, as follows:

    R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
hashCodeback to summary
public final int hashCode()

Implements abstract java.lang.Record.hashCode.

Doc from java.lang.Record.hashCode.

Returns a hash code value for the record. Obeys the general contract of Object.hashCode. For records, hashing behavior is constrained by the refined contract of Record.equals, so that any two records created from the same components must have the same hash code.

namesback to summary
public String[] names()

Record Component getter of names.

senderFPback to summary
public Address senderFP()

Record Component getter of senderFP.

senderPCback to summary
public Address senderPC()

Record Component getter of senderPC.

senderSPback to summary
public Address senderSP()

Record Component getter of senderSP.

toStringback to summary
public final String toString()

Implements abstract java.lang.Record.toString.

Doc from java.lang.Record.toString.

Returns a string representation of the record. In accordance with the general contract of Object#toString(), the toString method returns a string that "textually represents" this record. The result should be a concise but informative representation that is easy for a person to read.

In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.