public class sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal extends sun.jvm.hotspot.debugger.DebuggerBase implements sun.jvm.hotspot.debugger.bsd.BsdDebugger
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal
super_class: sun.jvm.hotspot.debugger.DebuggerBase
{
private boolean useGCC32ABI;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean attached;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long p_ps_prochandle;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long symbolicator;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long task;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private boolean isCore;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isDarwin;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.debugger.bsd.BsdCDebugger cdbg;
descriptor: Lsun/jvm/hotspot/debugger/bsd/BsdCDebugger;
flags: (0x0002) ACC_PRIVATE
private java.util.List<sun.jvm.hotspot.debugger.ThreadProxy> threadList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lsun/jvm/hotspot/debugger/ThreadProxy;>;
private java.util.List<sun.jvm.hotspot.debugger.cdbg.LoadObject> loadObjectList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lsun/jvm/hotspot/debugger/cdbg/LoadObject;>;
private sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread workerThread;
descriptor: Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "saproc"
invokestatic java.lang.System.loadLibrary:(Ljava/lang/String;)V
1: invokestatic sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.init0:()V
2: return
LocalVariableTable:
Start End Slot Name Signature
private sun.jvm.hotspot.debugger.cdbg.ClosestSymbol createClosestSymbol(java.lang.String, long);
descriptor: (Ljava/lang/String;J)Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new sun.jvm.hotspot.debugger.cdbg.ClosestSymbol
dup
aload 1
lload 2
invokespecial sun.jvm.hotspot.debugger.cdbg.ClosestSymbol.<init>:(Ljava/lang/String;J)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 1 1 name Ljava/lang/String;
0 1 2 offset J
MethodParameters:
Name Flags
name
offset
private sun.jvm.hotspot.debugger.cdbg.LoadObject createLoadObject(java.lang.String, long, long);
descriptor: (Ljava/lang/String;JJ)Lsun/jvm/hotspot/debugger/cdbg/LoadObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 4 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 6
start local 6 1: aload 0
lload 4
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.newAddress:(J)Lsun/jvm/hotspot/debugger/Address;
astore 7
start local 7 2: new sun.jvm.hotspot.debugger.bsd.SharedObject
dup
aload 0
aload 1
aload 6
invokevirtual java.io.File.length:()J
aload 7
invokespecial sun.jvm.hotspot.debugger.bsd.SharedObject.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;Ljava/lang/String;JLsun/jvm/hotspot/debugger/Address;)V
areturn
end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 3 1 fileName Ljava/lang/String;
0 3 2 textsize J
0 3 4 base J
1 3 6 f Ljava/io/File;
2 3 7 baseAddr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
fileName
textsize
base
private static native void init0();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
private native void attach0(int);
descriptor: (I)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
pid
private native void attach0(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
execName
coreName
private native void detach0();
descriptor: ()V
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
private native long lookupByName0(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
objectName
symbol
private native sun.jvm.hotspot.debugger.cdbg.ClosestSymbol lookupByAddress0(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
address
private native long[] getThreadIntegerRegisterSet0(long);
descriptor: (J)[J
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
unique_thread_id
private native byte[] readBytesFromProcess0(long, long);
descriptor: (JJ)[B
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
address
numBytes
public static native int getAddressSize();
descriptor: ()I
flags: (0x0109) ACC_PUBLIC, ACC_STATIC, ACC_NATIVE
public void <init>(sun.jvm.hotspot.debugger.MachineDescription, boolean);
descriptor: (Lsun/jvm/hotspot/debugger/MachineDescription;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.jvm.hotspot.debugger.DebuggerBase.<init>:()V
1: aload 0
aconst_null
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
2: aload 0
aload 1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
3: aload 0
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1
dup
aload 0
aload 1
invokeinterface sun.jvm.hotspot.debugger.MachineDescription.getAddressSize:()J
4: aload 1
invokeinterface sun.jvm.hotspot.debugger.MachineDescription.isBigEndian:()Z
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;JZ)V
5: putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
6: iload 2
ifeq 8
7: aload 0
ldc 4096
aload 0
sipush 4096
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.parseCacheNumPagesProperty:(I)I
i2l
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.initCache:(JJ)V
8: StackMap locals: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal sun.jvm.hotspot.debugger.MachineDescription int
StackMap stack:
aload 0
aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getOS:()Ljava/lang/String;
ldc "darwin"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isDarwin:Z
9: aload 0
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread
dup
aload 0
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
10: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.start:()V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 12 1 machDesc Lsun/jvm/hotspot/debugger/MachineDescription;
0 12 2 useCache Z
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
machDesc
useCache
public boolean hasProcessList();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
public java.util.List<sun.jvm.hotspot.debugger.ProcessInfo> getProcessList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "getProcessList not implemented yet"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
Signature: ()Ljava/util/List<Lsun/jvm/hotspot/debugger/ProcessInfo;>;
private void checkAttached();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attached:Z
ifeq 4
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isCore:Z
ifeq 3
2: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "attached to a core dump already"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "attached to a process already"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
private void requireAttach();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attached:Z
ifne 2
1: new java.lang.RuntimeException
dup
ldc "not attached to a process or a core!"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
private void findABIVersion();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isDarwin:Z
ifeq 1
ldc "libjvm.dylib"
goto 2
StackMap locals:
StackMap stack:
1: ldc "libjvm.so"
StackMap locals:
StackMap stack: java.lang.String
2: astore 1
start local 1 3: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isDarwin:Z
ifeq 4
ldc "_vt_10JavaThread"
goto 5
StackMap locals: java.lang.String
StackMap stack:
4: ldc "__vt_10JavaThread"
StackMap locals:
StackMap stack: java.lang.String
5: astore 2
start local 2 6: aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.lookupByName0:(Ljava/lang/String;Ljava/lang/String;)J
lconst_0
lcmp
ifeq 9
7: aload 0
iconst_0
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.useGCC32ABI:Z
8: goto 10
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
iconst_1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.useGCC32ABI:Z
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
3 11 1 libjvmName Ljava/lang/String;
6 11 2 javaThreadVt Ljava/lang/String;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
public synchronized void attach(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.checkAttached:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.threadList:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.loadObjectList:Ljava/util/List;
3: new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask
dup
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V
astore 2
start local 2 4: aload 2
iload 1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask.pid:I
5: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
aload 2
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;)Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 7 1 processID I
4 7 2 task Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$1AttachTask;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
processID
public synchronized void attach(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.checkAttached:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.threadList:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.loadObjectList:Ljava/util/List;
3: aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attach0:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
iconst_1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attached:Z
5: aload 0
iconst_1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isCore:Z
6: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.findABIVersion:()V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 8 1 execName Ljava/lang/String;
0 8 2 coreName Ljava/lang/String;
MethodParameters:
Name Flags
execName
coreName
public synchronized boolean detach();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attached:Z
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.threadList:Ljava/util/List;
3: aload 0
aconst_null
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.loadObjectList:Ljava/util/List;
4: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isCore:Z
ifeq 8
5: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.detach0:()V
6: aload 0
iconst_0
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attached:Z
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1DetachTask
dup
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1DetachTask.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V
astore 1
start local 1 9: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
aload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;)Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;
pop
10: aload 1
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1DetachTask.result:Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
9 11 1 task Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$1DetachTask;
public sun.jvm.hotspot.debugger.Address parseAddress(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
aload 1
invokevirtual sun.jvm.hotspot.debugger.DebuggerUtilities.scanAddress:(Ljava/lang/String;)J
lstore 2
start local 2 1: lload 2
lconst_0
lcmp
ifne 3
2: aconst_null
areturn
3: StackMap locals: long
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdAddress
dup
aload 0
lload 2
invokespecial sun.jvm.hotspot.debugger.bsd.BsdAddress.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 4 1 addressString Ljava/lang/String;
1 4 2 addr J
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
addressString
public java.lang.String getOS();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.utilities.PlatformInfo.getOS:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
public java.lang.String getCPU();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.utilities.PlatformInfo.getCPU:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
public boolean hasConsole();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
public java.lang.String consoleExecuteCommand(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "No debugger console available on Bsd"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 1 1 cmd Ljava/lang/String;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
cmd
public java.lang.String getConsolePrompt();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
private long handleGCC32ABI(long, java.lang.String);
descriptor: (JLjava/lang/String;)J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.useGCC32ABI:Z
ifeq 2
aload 3
ldc "_ZTV"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: lload 1
ldc 2
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
invokeinterface sun.jvm.hotspot.debugger.MachineDescription.getAddressSize:()J
lmul
ladd
lreturn
2: StackMap locals:
StackMap stack:
lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 3 1 addr J
0 3 3 symbol Ljava/lang/String;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
addr
symbol
public synchronized sun.jvm.hotspot.debugger.Address lookup(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.requireAttach:()V
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.attached:Z
ifne 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isCore:Z
ifeq 10
4: aload 0
aload 1
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isDarwin:Z
ifeq 5
new java.lang.StringBuilder
dup
ldc "_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 6
StackMap locals: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal java.lang.String java.lang.String
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal java.lang.String
5: aload 2
StackMap locals: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal java.lang.String java.lang.String
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal java.lang.String java.lang.String
6: invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.lookupByName0:(Ljava/lang/String;Ljava/lang/String;)J
lstore 3
start local 3 7: lload 3
lconst_0
lcmp
ifne 8
aconst_null
goto 9
StackMap locals: long
StackMap stack:
8: new sun.jvm.hotspot.debugger.bsd.BsdAddress
dup
aload 0
aload 0
lload 3
aload 2
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.handleGCC32ABI:(JLjava/lang/String;)J
invokespecial sun.jvm.hotspot.debugger.bsd.BsdAddress.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdAddress
9: areturn
end local 3 10: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByNameTask
dup
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByNameTask.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V
astore 3
start local 3 11: aload 3
aload 1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByNameTask.objectName:Ljava/lang/String;
12: aload 3
aload 2
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByNameTask.symbol:Ljava/lang/String;
13: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
aload 3
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;)Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;
pop
14: aload 3
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByNameTask.result:Lsun/jvm/hotspot/debugger/Address;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 15 1 objectName Ljava/lang/String;
0 15 2 symbol Ljava/lang/String;
7 10 3 addr J
11 15 3 task Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$1LookupByNameTask;
MethodParameters:
Name Flags
objectName
symbol
public synchronized sun.jvm.hotspot.debugger.OopHandle lookupOop(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lsun/jvm/hotspot/debugger/OopHandle;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.lookup:(Ljava/lang/String;Ljava/lang/String;)Lsun/jvm/hotspot/debugger/Address;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
aload 3
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetToAsOopHandle:(J)Lsun/jvm/hotspot/debugger/OopHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 4 1 objectName Ljava/lang/String;
0 4 2 symbol Ljava/lang/String;
1 4 3 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
objectName
symbol
public sun.jvm.hotspot.debugger.MachineDescription getMachineDescription();
descriptor: ()Lsun/jvm/hotspot/debugger/MachineDescription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
public sun.jvm.hotspot.debugger.ThreadProxy getThreadForIdentifierAddress(sun.jvm.hotspot.debugger.Address, sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/ThreadProxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new sun.jvm.hotspot.debugger.bsd.BsdThread
dup
aload 0
aload 1
aload 2
invokespecial sun.jvm.hotspot.debugger.bsd.BsdThread.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;Lsun/jvm/hotspot/debugger/Address;Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 1 1 threadIdAddr Lsun/jvm/hotspot/debugger/Address;
0 1 2 uniqueThreadIdAddr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
threadIdAddr
uniqueThreadIdAddr
public sun.jvm.hotspot.debugger.ThreadProxy getThreadForIdentifierAddress(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/ThreadProxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.RuntimeException
dup
ldc "unimplemented"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 1 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.debugger.ThreadProxy getThreadForThreadId(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/ThreadProxy;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new sun.jvm.hotspot.debugger.bsd.BsdThread
dup
aload 0
lload 1
invokespecial sun.jvm.hotspot.debugger.bsd.BsdThread.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 1 1 id J
MethodParameters:
Name Flags
id
public java.lang.String addressValueToString(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
lload 1
invokevirtual sun.jvm.hotspot.debugger.DebuggerUtilities.addressValueToString:(J)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 1 1 address J
MethodParameters:
Name Flags
address
public sun.jvm.hotspot.debugger.bsd.BsdAddress readAddress(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/bsd/BsdAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readAddressValue:(J)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifne 2
aconst_null
goto 3
StackMap locals: long
StackMap stack:
2: new sun.jvm.hotspot.debugger.bsd.BsdAddress
dup
aload 0
lload 3
invokespecial sun.jvm.hotspot.debugger.bsd.BsdAddress.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdAddress
3: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 4 1 address J
1 4 3 value J
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.UnalignedAddressException
MethodParameters:
Name Flags
address
public sun.jvm.hotspot.debugger.bsd.BsdAddress readCompOopAddress(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/bsd/BsdAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readCompOopAddressValue:(J)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifne 2
aconst_null
goto 3
StackMap locals: long
StackMap stack:
2: new sun.jvm.hotspot.debugger.bsd.BsdAddress
dup
aload 0
lload 3
invokespecial sun.jvm.hotspot.debugger.bsd.BsdAddress.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdAddress
3: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 4 1 address J
1 4 3 value J
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.UnalignedAddressException
MethodParameters:
Name Flags
address
public sun.jvm.hotspot.debugger.bsd.BsdAddress readCompKlassAddress(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/bsd/BsdAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readCompKlassAddressValue:(J)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifne 2
aconst_null
goto 3
StackMap locals: long
StackMap stack:
2: new sun.jvm.hotspot.debugger.bsd.BsdAddress
dup
aload 0
lload 3
invokespecial sun.jvm.hotspot.debugger.bsd.BsdAddress.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdAddress
3: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 4 1 address J
1 4 3 value J
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.UnalignedAddressException
MethodParameters:
Name Flags
address
public sun.jvm.hotspot.debugger.bsd.BsdOopHandle readOopHandle(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/bsd/BsdOopHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readAddressValue:(J)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifne 2
aconst_null
goto 3
StackMap locals: long
StackMap stack:
2: new sun.jvm.hotspot.debugger.bsd.BsdOopHandle
dup
aload 0
lload 3
invokespecial sun.jvm.hotspot.debugger.bsd.BsdOopHandle.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdOopHandle
3: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 4 1 address J
1 4 3 value J
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.UnalignedAddressException, sun.jvm.hotspot.debugger.NotInHeapException
MethodParameters:
Name Flags
address
public sun.jvm.hotspot.debugger.bsd.BsdOopHandle readCompOopHandle(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/bsd/BsdOopHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readCompOopAddressValue:(J)J
lstore 3
start local 3 1: lload 3
lconst_0
lcmp
ifne 2
aconst_null
goto 3
StackMap locals: long
StackMap stack:
2: new sun.jvm.hotspot.debugger.bsd.BsdOopHandle
dup
aload 0
lload 3
invokespecial sun.jvm.hotspot.debugger.bsd.BsdOopHandle.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.bsd.BsdOopHandle
3: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 4 1 address J
1 4 3 value J
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.UnalignedAddressException, sun.jvm.hotspot.debugger.NotInHeapException
MethodParameters:
Name Flags
address
public synchronized long[] getThreadIntegerRegisterSet(long);
descriptor: (J)[J
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.requireAttach:()V
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isCore:Z
ifeq 3
2: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.getThreadIntegerRegisterSet0:(J)[J
areturn
3: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask
dup
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V
astore 3
start local 3 4: aload 3
lload 1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.unique_thread_id:J
5: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
aload 3
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;)Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;
pop
6: aload 3
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask.result:[J
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 7 1 unique_thread_id J
4 7 3 task Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
unique_thread_id
public long readCInteger(long, long, boolean);
descriptor: (JJZ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 3 start local 5 0: lload 3
ldc 8
lcmp
ifne 3
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
lload 1
ldc 4
invokevirtual sun.jvm.hotspot.debugger.DebuggerUtilities.checkAlignment:(JJ)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
lload 1
lload 3
invokevirtual sun.jvm.hotspot.debugger.DebuggerUtilities.checkAlignment:(JJ)V
4: StackMap locals:
StackMap stack:
aload 0
lload 1
lload 3
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readBytes:(JJ)[B
astore 6
start local 6 5: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
aload 6
iload 5
invokevirtual sun.jvm.hotspot.debugger.DebuggerUtilities.dataToCInteger:([BZ)J
lreturn
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 6 1 address J
0 6 3 numBytes J
0 6 5 isUnsigned Z
5 6 6 data [B
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.UnalignedAddressException
MethodParameters:
Name Flags
address
numBytes
isUnsigned
public long readJLong(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.jintSize:J
invokevirtual sun.jvm.hotspot.debugger.DebuggerUtilities.checkAlignment:(JJ)V
1: aload 0
lload 1
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.jlongSize:J
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readBytes:(JJ)[B
astore 3
start local 3 2: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.utils:Lsun/jvm/hotspot/debugger/DebuggerUtilities;
aload 3
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.jlongSize:J
invokevirtual sun.jvm.hotspot.debugger.DebuggerUtilities.dataToJLong:([BJ)J
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 3 1 address J
2 3 3 data [B
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.UnalignedAddressException
MethodParameters:
Name Flags
address
public long getAddressValue(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
lconst_0
lreturn
1: StackMap locals:
StackMap stack:
aload 1
checkcast sun.jvm.hotspot.debugger.bsd.BsdAddress
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdAddress.getValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.debugger.Address newAddress(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifne 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdAddress
dup
aload 0
lload 1
invokespecial sun.jvm.hotspot.debugger.bsd.BsdAddress.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;J)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 2 1 value J
MethodParameters:
Name Flags
value
public java.util.List<sun.jvm.hotspot.debugger.ThreadProxy> getThreadList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.requireAttach:()V
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.threadList:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
Signature: ()Ljava/util/List<Lsun/jvm/hotspot/debugger/ThreadProxy;>;
public java.util.List<sun.jvm.hotspot.debugger.cdbg.LoadObject> getLoadObjectList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.requireAttach:()V
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.loadObjectList:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
Signature: ()Ljava/util/List<Lsun/jvm/hotspot/debugger/cdbg/LoadObject;>;
public synchronized sun.jvm.hotspot.debugger.cdbg.ClosestSymbol lookup(long);
descriptor: (J)Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.requireAttach:()V
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isCore:Z
ifeq 3
2: aload 0
lload 1
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.lookupByAddress0:(J)Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;
areturn
3: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByAddressTask
dup
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByAddressTask.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V
astore 3
start local 3 4: aload 3
lload 1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByAddressTask.addr:J
5: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
aload 3
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;)Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;
pop
6: aload 3
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByAddressTask.result:Lsun/jvm/hotspot/debugger/cdbg/ClosestSymbol;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 7 1 addr J
4 7 3 task Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$1LookupByAddressTask;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.debugger.cdbg.CDebugger getCDebugger();
descriptor: ()Lsun/jvm/hotspot/debugger/cdbg/CDebugger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.cdbg:Lsun/jvm/hotspot/debugger/bsd/BsdCDebugger;
ifnonnull 2
1: aload 0
new sun.jvm.hotspot.debugger.bsd.BsdCDebugger
dup
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdCDebugger.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebugger;)V
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.cdbg:Lsun/jvm/hotspot/debugger/bsd/BsdCDebugger;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.cdbg:Lsun/jvm/hotspot/debugger/bsd/BsdCDebugger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
public synchronized sun.jvm.hotspot.debugger.ReadResult readBytesFromProcess(long, long);
descriptor: (JJ)Lsun/jvm/hotspot/debugger/ReadResult;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.requireAttach:()V
1: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.isCore:Z
ifeq 6
2: aload 0
lload 1
lload 3
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.readBytesFromProcess0:(JJ)[B
astore 5
start local 5 3: aload 5
ifnull 4
new sun.jvm.hotspot.debugger.ReadResult
dup
aload 5
invokespecial sun.jvm.hotspot.debugger.ReadResult.<init>:([B)V
goto 5
StackMap locals: byte[]
StackMap stack:
4: new sun.jvm.hotspot.debugger.ReadResult
dup
lload 1
invokespecial sun.jvm.hotspot.debugger.ReadResult.<init>:(J)V
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.ReadResult
5: areturn
end local 5 6: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1ReadBytesFromProcessTask
dup
aload 0
invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1ReadBytesFromProcessTask.<init>:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;)V
astore 5
start local 5 7: aload 5
lload 1
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1ReadBytesFromProcessTask.address:J
8: aload 5
lload 3
putfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1ReadBytesFromProcessTask.numBytes:J
9: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.workerThread:Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$BsdDebuggerLocalWorkerThread;
aload 5
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread.execute:(Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;)Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$WorkerThreadTask;
pop
10: aload 5
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1ReadBytesFromProcessTask.result:Lsun/jvm/hotspot/debugger/ReadResult;
areturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 11 1 address J
0 11 3 numBytes J
3 6 5 res [B
7 11 5 task Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal$1ReadBytesFromProcessTask;
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
address
numBytes
public void writeBytesToProcess(long, long, byte[]);
descriptor: (JJ[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Unimplemented"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
0 1 1 address J
0 1 3 numBytes J
0 1 5 data [B
Exceptions:
throws sun.jvm.hotspot.debugger.UnmappedAddressException, sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
address
numBytes
data
public long[] getJavaThreadsInfo();
descriptor: ()[J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=14, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.requireAttach:()V
1: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getThreads:()Lsun/jvm/hotspot/runtime/Threads;
astore 1
start local 1 2: aload 1
invokevirtual sun.jvm.hotspot.runtime.Threads.getNumberOfThreads:()I
istore 2
start local 2 3: iload 2
iconst_3
imul
newarray 11
astore 3
start local 3 4: iconst_0
istore 8
start local 8 5: iconst_0
istore 9
start local 9 6: goto 18
7: StackMap locals: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal sun.jvm.hotspot.runtime.Threads int long[] top top top top int int
StackMap stack:
aload 1
iload 9
invokevirtual sun.jvm.hotspot.runtime.Threads.getJavaThreadAt:(I)Lsun/jvm/hotspot/runtime/JavaThread;
astore 10
start local 10 8: aload 10
invokevirtual sun.jvm.hotspot.runtime.JavaThread.getStackBaseValue:()J
lstore 6
start local 6 9: lload 6
aload 10
invokevirtual sun.jvm.hotspot.runtime.JavaThread.getStackSize:()J
lsub
lstore 4
start local 4 10: aload 10
invokevirtual sun.jvm.hotspot.runtime.JavaThread.getThreadProxy:()Lsun/jvm/hotspot/debugger/ThreadProxy;
checkcast sun.jvm.hotspot.debugger.bsd.BsdThread
astore 11
start local 11 11: aload 11
invokevirtual sun.jvm.hotspot.debugger.bsd.BsdThread.getUniqueThreadId:()J
lstore 12
start local 12 12: aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.threadList:Ljava/util/List;
ifnull 13
aload 0
getfield sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.threadList:Ljava/util/List;
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: StackMap locals: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal sun.jvm.hotspot.runtime.Threads int long[] long long int int sun.jvm.hotspot.runtime.JavaThread sun.jvm.hotspot.debugger.bsd.BsdThread long
StackMap stack:
aload 3
iload 8
lload 12
lastore
14: aload 3
iload 8
iconst_1
iadd
lload 4
lastore
15: aload 3
iload 8
iconst_2
iadd
lload 6
lastore
16: iinc 8 3
end local 12 end local 11 end local 10 17: iinc 9 1
end local 6 end local 4 StackMap locals: sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal sun.jvm.hotspot.runtime.Threads int long[] top top top top int int
StackMap stack:
18: iload 9
aload 1
invokevirtual sun.jvm.hotspot.runtime.Threads.getNumberOfThreads:()I
if_icmplt 7
end local 9 19: aload 3
areturn
end local 8 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
2 20 1 threads Lsun/jvm/hotspot/runtime/Threads;
3 20 2 len I
4 20 3 result [J
10 18 4 beg J
9 18 6 end J
5 20 8 i I
6 19 9 k I
8 17 10 t Lsun/jvm/hotspot/runtime/JavaThread;
11 17 11 bsdt Lsun/jvm/hotspot/debugger/bsd/BsdThread;
12 17 12 uid J
}
SourceFile: "BsdDebuggerLocal.java"
NestMembers:
sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1 sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1DetachTask sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByAddressTask sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByNameTask sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1ReadBytesFromProcessTask sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$WorkerThreadTask
InnerClasses:
sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1
AttachTask = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1AttachTask
DetachTask = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1DetachTask
GetThreadIntegerRegisterSetTask = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1GetThreadIntegerRegisterSetTask
LookupByAddressTask = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByAddressTask
LookupByNameTask = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1LookupByNameTask
ReadBytesFromProcessTask = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$1ReadBytesFromProcessTask
BsdDebuggerLocalWorkerThread = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$BsdDebuggerLocalWorkerThread of sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal
abstract WorkerThreadTask = sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal$WorkerThreadTask of sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal