public class sun.jvm.hotspot.HotSpotAgent
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.HotSpotAgent
super_class: java.lang.Object
{
private sun.jvm.hotspot.debugger.JVMDebugger debugger;
descriptor: Lsun/jvm/hotspot/debugger/JVMDebugger;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.debugger.MachineDescription machDesc;
descriptor: Lsun/jvm/hotspot/debugger/MachineDescription;
flags: (0x0002) ACC_PRIVATE
private sun.jvm.hotspot.types.TypeDataBase db;
descriptor: Lsun/jvm/hotspot/types/TypeDataBase;
flags: (0x0002) ACC_PRIVATE
private java.lang.String os;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String cpu;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private static final int PROCESS_MODE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int CORE_FILE_MODE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int REMOTE_MODE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private int startupMode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private boolean isServer;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int pid;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String javaExecutableName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String coreFileName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String debugServerID;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String serverID;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String[] jvmLibNames;
descriptor: [Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void showUsage();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=0, args_size=0
0: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
new java.lang.Thread
dup
2: new sun.jvm.hotspot.HotSpotAgent$1
dup
aload 0
invokespecial sun.jvm.hotspot.HotSpotAgent$1.<init>:(Lsun/jvm/hotspot/HotSpotAgent;)V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
3: invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/HotSpotAgent;
public synchronized sun.jvm.hotspot.debugger.Debugger getDebugger();
descriptor: ()Lsun/jvm/hotspot/debugger/Debugger;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/HotSpotAgent;
public synchronized sun.jvm.hotspot.types.TypeDataBase getTypeDataBase();
descriptor: ()Lsun/jvm/hotspot/types/TypeDataBase;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/HotSpotAgent;
public synchronized void attach(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
ifnull 2
1: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Already attached"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield sun.jvm.hotspot.HotSpotAgent.pid:I
3: aload 0
iconst_0
putfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
4: aload 0
iconst_0
putfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
5: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.go:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 7 1 processID I
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
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
ifnull 2
1: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Already attached"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 2
ifnonnull 4
3: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Both the core file name and Java executable name must be specified"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.javaExecutableName:Ljava/lang/String;
5: aload 0
aload 2
putfield sun.jvm.hotspot.HotSpotAgent.coreFileName:Ljava/lang/String;
6: aload 0
iconst_1
putfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
7: aload 0
iconst_0
putfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
8: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.go:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 10 1 javaExecutableName Ljava/lang/String;
0 10 2 coreFileName Ljava/lang/String;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
javaExecutableName
coreFileName
public synchronized void attach(sun.jvm.hotspot.debugger.JVMDebugger);
descriptor: (Lsun/jvm/hotspot/debugger/JVMDebugger;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
1: aload 0
iconst_0
putfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
2: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.go:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 4 1 d Lsun/jvm/hotspot/debugger/JVMDebugger;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
d
public synchronized void attach(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
ifnull 2
1: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Already attached to a process"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Debug server id must be specified"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.debugServerID:Ljava/lang/String;
5: aload 0
iconst_2
putfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
6: aload 0
iconst_0
putfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
7: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.go:()V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 9 1 remoteServerID Ljava/lang/String;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
remoteServerID
public synchronized boolean detach();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifeq 2
1: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Should not call detach() for server configuration"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.detachInternal:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/HotSpotAgent;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
public synchronized void startServer(int, java.lang.String);
descriptor: (ILjava/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
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
ifnull 2
1: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Already attached"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield sun.jvm.hotspot.HotSpotAgent.pid:I
3: aload 0
iconst_0
putfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
4: aload 0
iconst_1
putfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
5: aload 0
aload 2
putfield sun.jvm.hotspot.HotSpotAgent.serverID:Ljava/lang/String;
6: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.go:()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/HotSpotAgent;
0 8 1 processID I
0 8 2 uniqueID Ljava/lang/String;
MethodParameters:
Name Flags
processID
uniqueID
public synchronized void startServer(int);
descriptor: (I)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
aconst_null
invokevirtual sun.jvm.hotspot.HotSpotAgent.startServer:(ILjava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 2 1 processID I
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
processID
public synchronized void startServer(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
ifnull 2
1: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Already attached"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 2
ifnonnull 4
3: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Both the core file name and Java executable name must be specified"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.javaExecutableName:Ljava/lang/String;
5: aload 0
aload 2
putfield sun.jvm.hotspot.HotSpotAgent.coreFileName:Ljava/lang/String;
6: aload 0
iconst_1
putfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
7: aload 0
iconst_1
putfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
8: aload 0
aload 3
putfield sun.jvm.hotspot.HotSpotAgent.serverID:Ljava/lang/String;
9: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.go:()V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 11 1 javaExecutableName Ljava/lang/String;
0 11 2 coreFileName Ljava/lang/String;
0 11 3 uniqueID Ljava/lang/String;
MethodParameters:
Name Flags
javaExecutableName
coreFileName
uniqueID
public synchronized void startServer(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual sun.jvm.hotspot.HotSpotAgent.startServer:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 2 1 javaExecutableName Ljava/lang/String;
0 2 2 coreFileName Ljava/lang/String;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
MethodParameters:
Name Flags
javaExecutableName
coreFileName
public synchronized boolean shutdownServer();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifne 2
1: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Should not call shutdownServer() for client configuration"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.detachInternal:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/HotSpotAgent;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
private boolean detachInternal();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifne 5
4: invokestatic sun.jvm.hotspot.runtime.VM.shutdown:()V
5: StackMap locals: int
StackMap stack:
aconst_null
astore 2
start local 2 6: aconst_null
astore 3
start local 3 7: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifeq 14
8: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.serverID:Ljava/lang/String;
invokestatic sun.jvm.hotspot.RMIHelper.unbind:(Ljava/lang/String;)V
9: goto 12
10: StackMap locals: sun.jvm.hotspot.HotSpotAgent int sun.jvm.hotspot.debugger.Debugger sun.jvm.hotspot.debugger.DebuggerException
StackMap stack: sun.jvm.hotspot.debugger.DebuggerException
astore 4
start local 4 11: aload 4
astore 3
end local 4 12: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
astore 2
13: goto 16
14: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
iconst_2
if_icmpeq 16
15: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
astore 2
16: StackMap locals:
StackMap stack:
aload 2
ifnull 18
17: aload 2
invokeinterface sun.jvm.hotspot.debugger.Debugger.detach:()Z
istore 1
18: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
19: aload 0
aconst_null
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
20: aload 0
aconst_null
putfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
21: aload 3
ifnull 23
22: aload 3
athrow
23: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/jvm/hotspot/HotSpotAgent;
3 24 1 retval Z
6 24 2 dbg Lsun/jvm/hotspot/debugger/Debugger;
7 24 3 ex Lsun/jvm/hotspot/debugger/DebuggerException;
11 12 4 de Lsun/jvm/hotspot/debugger/DebuggerException;
Exception table:
from to target type
8 9 10 Class sun.jvm.hotspot.debugger.DebuggerException
private void go();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebugger:()V
1: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupVM:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void setupDebugger();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
iconst_2
if_icmpeq 37
1: ldc "sa.altDebugger"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
ifnull 5
3: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerExisting:()V
4: goto 29
StackMap locals: java.lang.String
StackMap stack:
5: aload 1
ifnull 8
6: aload 0
aload 1
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerAlternate:(Ljava/lang/String;)V
7: goto 29
8: StackMap locals:
StackMap stack:
aload 0
invokestatic sun.jvm.hotspot.utilities.PlatformInfo.getOS:()Ljava/lang/String;
putfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
9: aload 0
invokestatic sun.jvm.hotspot.utilities.PlatformInfo.getCPU:()Ljava/lang/String;
putfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
10: goto 13
StackMap locals:
StackMap stack: sun.jvm.hotspot.utilities.UnsupportedPlatformException
11: astore 2
start local 2 12: new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 2
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "solaris"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerSolaris:()V
15: goto 29
StackMap locals:
StackMap stack:
16: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "win32"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerWin32:()V
18: goto 29
StackMap locals:
StackMap stack:
19: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "linux"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerLinux:()V
21: goto 29
StackMap locals:
StackMap stack:
22: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "bsd"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
23: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerBsd:()V
24: goto 29
StackMap locals:
StackMap stack:
25: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "darwin"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerDarwin:()V
27: goto 29
28: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Operating system "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not yet supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifeq 38
30: aconst_null
astore 2
start local 2 31: new sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
invokespecial sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer.<init>:(Lsun/jvm/hotspot/debugger/Debugger;)V
astore 2
32: goto 35
33: StackMap locals: sun.jvm.hotspot.HotSpotAgent java.lang.String sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
StackMap stack: java.rmi.RemoteException
astore 3
start local 3 34: new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 3
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 35: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.serverID:Ljava/lang/String;
aload 2
invokestatic sun.jvm.hotspot.RMIHelper.rebind:(Ljava/lang/String;Ljava/rmi/Remote;)V
end local 2 end local 1 36: goto 38
37: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.connectRemoteDebugger:()V
38: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lsun/jvm/hotspot/HotSpotAgent;
2 36 1 alternateDebugger Ljava/lang/String;
12 13 2 e Lsun/jvm/hotspot/utilities/UnsupportedPlatformException;
31 36 2 remote Lsun/jvm/hotspot/debugger/remote/RemoteDebuggerServer;
34 35 3 rem Ljava/rmi/RemoteException;
Exception table:
from to target type
8 10 11 Class sun.jvm.hotspot.utilities.UnsupportedPlatformException
31 32 33 Class java.rmi.RemoteException
private void setupVM();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=17, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "solaris"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
1: aload 0
new sun.jvm.hotspot.HotSpotTypeDataBase
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
2: new sun.jvm.hotspot.HotSpotSolarisVtblAccess
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.HotSpotSolarisVtblAccess.<init>:(Lsun/jvm/hotspot/debugger/SymbolLookup;[Ljava/lang/String;)V
3: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.HotSpotTypeDataBase.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Lsun/jvm/hotspot/types/basic/VtblAccess;Lsun/jvm/hotspot/debugger/Debugger;[Ljava/lang/String;)V
4: putfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
5: goto 35
StackMap locals:
StackMap stack:
6: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "win32"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
7: aload 0
new sun.jvm.hotspot.HotSpotTypeDataBase
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
8: new sun.jvm.hotspot.Win32VtblAccess
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.Win32VtblAccess.<init>:(Lsun/jvm/hotspot/debugger/SymbolLookup;[Ljava/lang/String;)V
9: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.HotSpotTypeDataBase.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Lsun/jvm/hotspot/types/basic/VtblAccess;Lsun/jvm/hotspot/debugger/Debugger;[Ljava/lang/String;)V
10: putfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
11: goto 35
StackMap locals:
StackMap stack:
12: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "linux"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
13: aload 0
new sun.jvm.hotspot.HotSpotTypeDataBase
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
14: new sun.jvm.hotspot.LinuxVtblAccess
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.LinuxVtblAccess.<init>:(Lsun/jvm/hotspot/debugger/SymbolLookup;[Ljava/lang/String;)V
15: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.HotSpotTypeDataBase.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Lsun/jvm/hotspot/types/basic/VtblAccess;Lsun/jvm/hotspot/debugger/Debugger;[Ljava/lang/String;)V
16: putfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
17: goto 35
StackMap locals:
StackMap stack:
18: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "bsd"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
19: aload 0
new sun.jvm.hotspot.HotSpotTypeDataBase
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
20: new sun.jvm.hotspot.BsdVtblAccess
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.BsdVtblAccess.<init>:(Lsun/jvm/hotspot/debugger/SymbolLookup;[Ljava/lang/String;)V
21: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.HotSpotTypeDataBase.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Lsun/jvm/hotspot/types/basic/VtblAccess;Lsun/jvm/hotspot/debugger/Debugger;[Ljava/lang/String;)V
22: putfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
23: goto 35
StackMap locals:
StackMap stack:
24: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
ldc "darwin"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
25: aload 0
new sun.jvm.hotspot.HotSpotTypeDataBase
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
26: new sun.jvm.hotspot.BsdVtblAccess
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.BsdVtblAccess.<init>:(Lsun/jvm/hotspot/debugger/SymbolLookup;[Ljava/lang/String;)V
27: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
invokespecial sun.jvm.hotspot.HotSpotTypeDataBase.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Lsun/jvm/hotspot/types/basic/VtblAccess;Lsun/jvm/hotspot/debugger/Debugger;[Ljava/lang/String;)V
28: putfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
29: goto 35
30: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "OS \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" not yet supported (no VtblAccess yet)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.NoSuchSymbolException
astore 1
start local 1 32: new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Doesn't appear to be a HotSpot VM (could not find symbol \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
33: aload 1
invokevirtual sun.jvm.hotspot.debugger.NoSuchSymbolException.getSymbol:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" in remote process)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
34: invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
end local 1 35: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
iconst_2
if_icmpeq 45
36: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJBooleanType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
37: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJByteType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
38: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJCharType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
39: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJDoubleType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
40: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJFloatType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
41: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJIntType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
42: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJLongType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
43: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
invokeinterface sun.jvm.hotspot.types.TypeDataBase.getJShortType:()Lsun/jvm/hotspot/types/Type;
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
44: invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.configureJavaPrimitiveTypeSizes:(JJJJJJJJ)V
45: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifne 52
46: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.db:Lsun/jvm/hotspot/types/TypeDataBase;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
invokestatic sun.jvm.hotspot.runtime.VM.initialize:(Lsun/jvm/hotspot/types/TypeDataBase;Lsun/jvm/hotspot/debugger/JVMDebugger;)V
47: goto 52
StackMap locals:
StackMap stack: sun.jvm.hotspot.debugger.DebuggerException
48: astore 1
start local 1 49: aload 1
athrow
end local 1 50: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 51: new sun.jvm.hotspot.debugger.DebuggerException
dup
aload 1
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 52: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lsun/jvm/hotspot/HotSpotAgent;
32 35 1 e Lsun/jvm/hotspot/debugger/NoSuchSymbolException;
49 50 1 e Lsun/jvm/hotspot/debugger/DebuggerException;
51 52 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 31 31 Class sun.jvm.hotspot.debugger.NoSuchSymbolException
46 47 48 Class sun.jvm.hotspot.debugger.DebuggerException
46 47 50 Class java.lang.Exception
private void setupDebuggerExisting();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.getOS:()Ljava/lang/String;
putfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
1: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.getCPU:()Ljava/lang/String;
putfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
2: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNames:(Ljava/lang/String;)V
3: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.getMachineDescription:()Lsun/jvm/hotspot/debugger/MachineDescription;
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void setupDebuggerAlternate(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 2
start local 2 1: aload 2
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 3
start local 3 2: aload 0
aload 3
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.JVMDebugger
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
3: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.attachDebugger:()V
4: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupDebuggerExisting:()V
end local 3 end local 2 5: goto 16
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
6: pop
7: new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Cannot find alternate SA Debugger: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
9: new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Alternate SA Debugger: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' has missing constructor."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack: java.lang.InstantiationException
astore 2
start local 2 11: new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Alternate SA Debugger: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' fails to initialise: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 12: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 2
start local 2 13: new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Alternate SA Debugger: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' fails to initialise: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 14: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 2
start local 2 15: new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Alternate SA Debugger: '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' fails to initialise: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 16: StackMap locals:
StackMap stack:
getstatic java.lang.System.err:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Loaded alternate HotSpot SA Debugger: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 18 1 alternateName Ljava/lang/String;
1 5 2 c Ljava/lang/Class;
2 5 3 cons Ljava/lang/reflect/Constructor;
11 12 2 ie Ljava/lang/InstantiationException;
13 14 2 iae Ljava/lang/IllegalAccessException;
15 16 2 iae Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
0 5 6 Class java.lang.ClassNotFoundException
0 5 8 Class java.lang.NoSuchMethodException
0 5 10 Class java.lang.InstantiationException
0 5 12 Class java.lang.IllegalAccessException
0 5 14 Class java.lang.reflect.InvocationTargetException
MethodParameters:
Name Flags
alternateName
private void setupDebuggerSolaris();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesSolaris:()V
1: new sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
dup
aconst_null
iconst_1
invokespecial sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Z)V
astore 1
start local 1 2: aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
3: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.attachDebugger:()V
4: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "x86"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionIntelX86
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionIntelX86.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
6: goto 22
StackMap locals: sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
StackMap stack:
7: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "sparc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
8: aload 1
invokevirtual sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.getRemoteProcessAddressSize:()I
istore 2
start local 2 9: iload 2
iconst_m1
if_icmpne 11
10: new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Error occurred while trying to determine the remote process's address size"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: int
StackMap stack:
iload 2
bipush 32
if_icmpne 14
12: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionSPARC32Bit
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionSPARC32Bit.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
13: goto 22
StackMap locals:
StackMap stack:
14: iload 2
bipush 64
if_icmpne 17
15: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionSPARC64Bit
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionSPARC64Bit.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
16: goto 22
17: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Address size "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is not supported on SPARC"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionAMD64
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionAMD64.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
20: goto 22
21: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Solaris only supported on sparc/sparcv9/x86/amd64"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
invokevirtual sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal.setMachineDescription:(Lsun/jvm/hotspot/debugger/MachineDescription;)V
23: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/jvm/hotspot/HotSpotAgent;
2 24 1 dbg Lsun/jvm/hotspot/debugger/proc/ProcDebuggerLocal;
9 18 2 addressSize I
private void connectRemoteDebugger();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugServerID:Ljava/lang/String;
invokestatic sun.jvm.hotspot.RMIHelper.lookup:(Ljava/lang/String;)Ljava/rmi/Remote;
checkcast sun.jvm.hotspot.debugger.remote.RemoteDebugger
1: astore 1
start local 1 2: aload 0
new sun.jvm.hotspot.debugger.remote.RemoteDebuggerClient
dup
aload 1
invokespecial sun.jvm.hotspot.debugger.remote.RemoteDebuggerClient.<init>:(Lsun/jvm/hotspot/debugger/remote/RemoteDebugger;)V
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
3: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
checkcast sun.jvm.hotspot.debugger.remote.RemoteDebuggerClient
invokevirtual sun.jvm.hotspot.debugger.remote.RemoteDebuggerClient.getMachineDescription:()Lsun/jvm/hotspot/debugger/MachineDescription;
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
4: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.getOS:()Ljava/lang/String;
putfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
5: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.os:Ljava/lang/String;
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNames:(Ljava/lang/String;)V
6: aload 0
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.getCPU:()Ljava/lang/String;
putfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/HotSpotAgent;
2 8 1 remote Lsun/jvm/hotspot/debugger/remote/RemoteDebugger;
Exceptions:
throws sun.jvm.hotspot.debugger.DebuggerException
private void setupJVMLibNames(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "solaris"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesSolaris:()V
2: goto 16
StackMap locals:
StackMap stack:
3: aload 1
ldc "win32"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesWin32:()V
5: goto 16
StackMap locals:
StackMap stack:
6: aload 1
ldc "linux"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesLinux:()V
8: goto 16
StackMap locals:
StackMap stack:
9: aload 1
ldc "bsd"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesBsd:()V
11: goto 16
StackMap locals:
StackMap stack:
12: aload 1
ldc "darwin"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesDarwin:()V
14: goto 16
15: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Unknown OS type"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/jvm/hotspot/HotSpotAgent;
0 17 1 os Ljava/lang/String;
MethodParameters:
Name Flags
os
private void setupJVMLibNamesSolaris();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "libjvm.so"
aastore
putfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void setupDebuggerWin32();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesWin32:()V
1: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "x86"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionIntelX86
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionIntelX86.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
3: goto 8
StackMap locals:
StackMap stack:
4: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionAMD64
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionAMD64.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
6: goto 8
7: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
ldc "Win32 supported under x86 and amd64 only"
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
9: new sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifeq 10
iconst_0
goto 11
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: sun.jvm.hotspot.HotSpotAgent new 9 new 9 sun.jvm.hotspot.debugger.MachineDescription
10: iconst_1
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: sun.jvm.hotspot.HotSpotAgent new 9 new 9 sun.jvm.hotspot.debugger.MachineDescription int
11: invokespecial sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Z)V
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
12: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.attachDebugger:()V
13: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void setupJVMLibNamesWin32();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "jvm.dll"
aastore
putfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void setupDebuggerLinux();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesLinux:()V
1: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "x86"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionIntelX86
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionIntelX86.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
3: goto 28
StackMap locals:
StackMap stack:
4: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionAMD64
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionAMD64.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
6: goto 28
StackMap locals:
StackMap stack:
7: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "ppc64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionPPC64
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionPPC64.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
9: goto 28
StackMap locals:
StackMap stack:
10: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "aarch64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionAArch64
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionAArch64.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
12: goto 28
StackMap locals:
StackMap stack:
13: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "sparc"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
14: invokestatic sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.getAddressSize:()I
bipush 8
if_icmpne 17
15: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionSPARC64Bit
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionSPARC64Bit.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
16: goto 28
17: StackMap locals:
StackMap stack:
aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionSPARC32Bit
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionSPARC32Bit.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
18: goto 28
19: StackMap locals:
StackMap stack:
aload 0
20: new java.lang.StringBuilder
dup
ldc "sun.jvm.hotspot.debugger.MachineDescription"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
invokevirtual java.lang.String.toUpperCase:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
23: invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast sun.jvm.hotspot.debugger.MachineDescription
24: putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
25: goto 28
StackMap locals:
StackMap stack: java.lang.Exception
26: pop
27: new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Linux not supported on machine type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifeq 29
iconst_0
goto 30
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: new 28 new 28 sun.jvm.hotspot.debugger.MachineDescription
29: iconst_1
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: new 28 new 28 sun.jvm.hotspot.debugger.MachineDescription int
30: invokespecial sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Z)V
31: astore 1
start local 1 32: aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
33: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.attachDebugger:()V
34: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lsun/jvm/hotspot/HotSpotAgent;
32 35 1 dbg Lsun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal;
Exception table:
from to target type
19 25 26 Class java.lang.Exception
private void setupJVMLibNamesLinux();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "libjvm.so"
aastore
putfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void setupDebuggerBsd();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesBsd:()V
1: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "x86"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionIntelX86
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionIntelX86.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
3: goto 8
StackMap locals:
StackMap stack:
4: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "x86_64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 7
5: StackMap locals:
StackMap stack:
aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionAMD64
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionAMD64.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
6: goto 8
7: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "BSD only supported on x86/x86_64. Current arch: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifeq 9
iconst_0
goto 10
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: new 8 new 8 sun.jvm.hotspot.debugger.MachineDescription
9: iconst_1
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: new 8 new 8 sun.jvm.hotspot.debugger.MachineDescription int
10: invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Z)V
astore 1
start local 1 11: aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
12: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.attachDebugger:()V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/jvm/hotspot/HotSpotAgent;
11 14 1 dbg Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
private void setupJVMLibNamesBsd();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "libjvm.so"
aastore
putfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void setupDebuggerDarwin();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.setupJVMLibNamesDarwin:()V
1: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "amd64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
ldc "x86_64"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
2: StackMap locals:
StackMap stack:
aload 0
new sun.jvm.hotspot.debugger.MachineDescriptionAMD64
dup
invokespecial sun.jvm.hotspot.debugger.MachineDescriptionAMD64.<init>:()V
putfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
3: goto 5
4: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Darwin only supported on x86_64. Current arch: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.cpu:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal
dup
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.machDesc:Lsun/jvm/hotspot/debugger/MachineDescription;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.isServer:Z
ifeq 6
iconst_0
goto 7
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: new 5 new 5 sun.jvm.hotspot.debugger.MachineDescription
6: iconst_1
StackMap locals: sun.jvm.hotspot.HotSpotAgent
StackMap stack: new 5 new 5 sun.jvm.hotspot.debugger.MachineDescription int
7: invokespecial sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal.<init>:(Lsun/jvm/hotspot/debugger/MachineDescription;Z)V
astore 1
start local 1 8: aload 0
aload 1
putfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
9: aload 0
invokevirtual sun.jvm.hotspot.HotSpotAgent.attachDebugger:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/HotSpotAgent;
8 11 1 dbg Lsun/jvm/hotspot/debugger/bsd/BsdDebuggerLocal;
private void setupJVMLibNamesDarwin();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "libjvm.dylib"
aastore
putfield sun.jvm.hotspot.HotSpotAgent.jvmLibNames:[Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/HotSpotAgent;
private void attachDebugger();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
ifne 3
1: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.pid:I
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.attach:(I)V
2: goto 7
StackMap locals:
StackMap stack:
3: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
iconst_1
if_icmpne 6
4: aload 0
getfield sun.jvm.hotspot.HotSpotAgent.debugger:Lsun/jvm/hotspot/debugger/JVMDebugger;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.javaExecutableName:Ljava/lang/String;
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.coreFileName:Ljava/lang/String;
invokeinterface sun.jvm.hotspot.debugger.JVMDebugger.attach:(Ljava/lang/String;Ljava/lang/String;)V
5: goto 7
6: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.debugger.DebuggerException
dup
new java.lang.StringBuilder
dup
ldc "Should not call attach() for startupMode == "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.HotSpotAgent.startupMode:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.debugger.DebuggerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/HotSpotAgent;
}
SourceFile: "HotSpotAgent.java"
NestMembers:
sun.jvm.hotspot.HotSpotAgent$1
InnerClasses:
sun.jvm.hotspot.HotSpotAgent$1