public abstract class sun.tools.attach.HotSpotVirtualMachine extends com.sun.tools.attach.VirtualMachine
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.tools.attach.HotSpotVirtualMachine
super_class: com.sun.tools.attach.VirtualMachine
{
private static final int JNI_ENOMEM;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4
private static final int ATTACH_ERROR_BADJAR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
private static final int ATTACH_ERROR_NOTONCP;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 101
private static final int ATTACH_ERROR_STARTFAIL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 102
private static long defaultAttachTimeout;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private volatile long attachTimeout;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc 5000
putstatic sun.tools.attach.HotSpotVirtualMachine.defaultAttachTimeout:J
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.sun.tools.attach.spi.AttachProvider, java.lang.String);
descriptor: (Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.tools.attach.VirtualMachine.<init>:(Lcom/sun/tools/attach/spi/AttachProvider;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/tools/attach/HotSpotVirtualMachine;
0 2 1 provider Lcom/sun/tools/attach/spi/AttachProvider;
0 2 2 id Ljava/lang/String;
MethodParameters:
Name Flags
provider
id
private void loadAgentLibrary(java.lang.String, boolean, java.lang.String);
descriptor: (Ljava/lang/String;ZLjava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ldc "load"
iconst_3
anewarray java.lang.Object
dup
iconst_0
1: aload 1
aastore
dup
iconst_1
2: iload 2
ifeq 3
ldc "true"
goto 4
StackMap locals: sun.tools.attach.HotSpotVirtualMachine java.lang.String int java.lang.String
StackMap stack: sun.tools.attach.HotSpotVirtualMachine java.lang.String java.lang.Object[] java.lang.Object[] int
3: ldc "false"
StackMap locals: sun.tools.attach.HotSpotVirtualMachine java.lang.String int java.lang.String
StackMap stack: sun.tools.attach.HotSpotVirtualMachine java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
4: aastore
dup
iconst_2
5: aload 3
aastore
6: invokevirtual sun.tools.attach.HotSpotVirtualMachine.execute:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
astore 4
start local 4 7: aload 0
aload 4
invokevirtual sun.tools.attach.HotSpotVirtualMachine.readInt:(Ljava/io/InputStream;)I
istore 5
start local 5 8: iload 5
ifeq 13
9: new com.sun.tools.attach.AgentInitializationException
dup
ldc "Agent_OnAttach failed"
iload 5
invokespecial com.sun.tools.attach.AgentInitializationException.<init>:(Ljava/lang/String;I)V
athrow
end local 5 10: StackMap locals: sun.tools.attach.HotSpotVirtualMachine java.lang.String int java.lang.String java.io.InputStream
StackMap stack: java.lang.Throwable
astore 6
11: aload 4
invokevirtual java.io.InputStream.close:()V
12: aload 6
athrow
13: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.io.InputStream.close:()V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 15 1 agentLibrary Ljava/lang/String;
0 15 2 isAbsolute Z
0 15 3 options Ljava/lang/String;
7 15 4 in Ljava/io/InputStream;
8 10 5 result I
Exception table:
from to target type
7 10 10 any
Exceptions:
throws com.sun.tools.attach.AgentLoadException, com.sun.tools.attach.AgentInitializationException, java.io.IOException
MethodParameters:
Name Flags
agentLibrary
isAbsolute
options
public void loadAgentLibrary(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_0
aload 2
invokevirtual sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary:(Ljava/lang/String;ZLjava/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/tools/attach/HotSpotVirtualMachine;
0 2 1 agentLibrary Ljava/lang/String;
0 2 2 options Ljava/lang/String;
Exceptions:
throws com.sun.tools.attach.AgentLoadException, com.sun.tools.attach.AgentInitializationException, java.io.IOException
MethodParameters:
Name Flags
agentLibrary
options
public void loadAgentPath(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iconst_1
aload 2
invokevirtual sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary:(Ljava/lang/String;ZLjava/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/tools/attach/HotSpotVirtualMachine;
0 2 1 agentLibrary Ljava/lang/String;
0 2 2 options Ljava/lang/String;
Exceptions:
throws com.sun.tools.attach.AgentLoadException, com.sun.tools.attach.AgentInitializationException, java.io.IOException
MethodParameters:
Name Flags
agentLibrary
options
public void loadAgent(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
astore 3
start local 3 1: aload 2
ifnull 3
2: new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
ldc "instrument"
aload 3
invokevirtual sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary:(Ljava/lang/String;Ljava/lang/String;)V
4: goto 15
StackMap locals:
StackMap stack: com.sun.tools.attach.AgentLoadException
5: pop
6: new java.lang.InternalError
dup
ldc "instrument library is missing in target VM"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack: com.sun.tools.attach.AgentInitializationException
astore 4
start local 4 8: aload 4
invokevirtual com.sun.tools.attach.AgentInitializationException.returnValue:()I
istore 5
start local 5 9: iload 5
lookupswitch { // 4
-4: 10
100: 11
101: 12
102: 13
default: 14
}
10: StackMap locals: com.sun.tools.attach.AgentInitializationException int
StackMap stack:
new com.sun.tools.attach.AgentLoadException
dup
ldc "Insuffient memory"
invokespecial com.sun.tools.attach.AgentLoadException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
new com.sun.tools.attach.AgentLoadException
dup
ldc "Agent JAR not found or no Agent-Class attribute"
invokespecial com.sun.tools.attach.AgentLoadException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
new com.sun.tools.attach.AgentLoadException
dup
ldc "Unable to add JAR file to system class path"
invokespecial com.sun.tools.attach.AgentLoadException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
new com.sun.tools.attach.AgentInitializationException
dup
ldc "Agent JAR loaded but agent failed to initialize"
invokespecial com.sun.tools.attach.AgentInitializationException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
new com.sun.tools.attach.AgentLoadException
dup
new java.lang.StringBuilder
dup
ldc "Failed to load agent - unknown reason: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 5
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.tools.attach.AgentLoadException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 15: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 16 1 agent Ljava/lang/String;
0 16 2 options Ljava/lang/String;
1 16 3 args Ljava/lang/String;
8 15 4 x Lcom/sun/tools/attach/AgentInitializationException;
9 15 5 rc I
Exception table:
from to target type
3 4 5 Class com.sun.tools.attach.AgentLoadException
3 4 7 Class com.sun.tools.attach.AgentInitializationException
Exceptions:
throws com.sun.tools.attach.AgentLoadException, com.sun.tools.attach.AgentInitializationException, java.io.IOException
MethodParameters:
Name Flags
agent
options
public java.util.Properties getSystemProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 2
start local 2 2: aload 0
ldc "properties"
iconst_0
anewarray java.lang.Object
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
astore 1
3: aload 2
aload 1
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
4: goto 8
StackMap locals: sun.tools.attach.HotSpotVirtualMachine java.io.InputStream java.util.Properties
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 1
ifnull 7
aload 1
invokevirtual java.io.InputStream.close:()V
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
8: StackMap locals:
StackMap stack:
aload 1
ifnull 9
aload 1
invokevirtual java.io.InputStream.close:()V
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/tools/attach/HotSpotVirtualMachine;
1 10 1 in Ljava/io/InputStream;
2 10 2 props Ljava/util/Properties;
Exception table:
from to target type
2 5 5 any
Exceptions:
throws java.io.IOException
public java.util.Properties getAgentProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: new java.util.Properties
dup
invokespecial java.util.Properties.<init>:()V
astore 2
start local 2 2: aload 0
ldc "agentProperties"
iconst_0
anewarray java.lang.Object
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
astore 1
3: aload 2
aload 1
invokevirtual java.util.Properties.load:(Ljava/io/InputStream;)V
4: goto 8
StackMap locals: sun.tools.attach.HotSpotVirtualMachine java.io.InputStream java.util.Properties
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 1
ifnull 7
aload 1
invokevirtual java.io.InputStream.close:()V
7: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
8: StackMap locals:
StackMap stack:
aload 1
ifnull 9
aload 1
invokevirtual java.io.InputStream.close:()V
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/tools/attach/HotSpotVirtualMachine;
1 10 1 in Ljava/io/InputStream;
2 10 2 props Ljava/util/Properties;
Exception table:
from to target type
2 5 5 any
Exceptions:
throws java.io.IOException
public void localDataDump();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "datadump"
iconst_0
anewarray java.lang.Object
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
invokevirtual java.io.InputStream.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/tools/attach/HotSpotVirtualMachine;
Exceptions:
throws java.io.IOException
public java.io.InputStream remoteDataDump(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/io/InputStream;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "threaddump"
aload 1
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 1 1 args [Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
args
public java.io.InputStream dumpHeap(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/io/InputStream;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "dumpheap"
aload 1
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 1 1 args [Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
args
public java.io.InputStream heapHisto(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljava/io/InputStream;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "inspectheap"
aload 1
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 1 1 args [Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
args
public java.io.InputStream setFlag(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "setflag"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 1 1 name Ljava/lang/String;
0 1 2 value Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
value
public java.io.InputStream printFlag(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "printflag"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 1 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.io.InputStream executeJCmd(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/io/InputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "jcmd"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual sun.tools.attach.HotSpotVirtualMachine.executeCommand:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 1 1 command Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
command
abstract java.io.InputStream execute(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
flags: (0x0480) ACC_VARARGS, ACC_ABSTRACT
Exceptions:
throws com.sun.tools.attach.AgentLoadException, java.io.IOException
MethodParameters:
Name Flags
cmd
args
private java.io.InputStream executeCommand(java.lang.String, java.lang.Object[]);
descriptor: (Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual sun.tools.attach.HotSpotVirtualMachine.execute:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/InputStream;
1: areturn
2: StackMap locals:
StackMap stack: com.sun.tools.attach.AgentLoadException
pop
3: new java.lang.InternalError
dup
ldc "Should not get here"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 4 1 cmd Ljava/lang/String;
0 4 2 args [Ljava/lang/Object;
Exception table:
from to target type
0 1 2 Class com.sun.tools.attach.AgentLoadException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cmd
args
int readInt(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)I
flags: (0x0000)
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: iconst_1
newarray 8
astore 4
start local 4 2: StackMap locals: sun.tools.attach.HotSpotVirtualMachine java.io.InputStream java.lang.StringBuilder top byte[]
StackMap stack:
aload 1
aload 4
iconst_0
iconst_1
invokevirtual java.io.InputStream.read:([BII)I
istore 3
start local 3 3: iload 3
ifle 8
4: aload 4
iconst_0
baload
i2c
istore 5
start local 5 5: iload 5
bipush 10
if_icmpne 7
6: goto 10
7: StackMap locals: sun.tools.attach.HotSpotVirtualMachine java.io.InputStream java.lang.StringBuilder int byte[] int
StackMap stack:
aload 2
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 5 8: StackMap locals:
StackMap stack:
iload 3
9: ifgt 2
10: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.length:()I
ifne 12
11: new java.io.IOException
dup
ldc "Premature EOF"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 5
start local 5 13: goto 16
end local 5 StackMap locals:
StackMap stack: java.lang.NumberFormatException
14: pop
15: new java.io.IOException
dup
ldc "Non-numeric value found - int expected"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
start local 5 16: StackMap locals: int
StackMap stack:
iload 5
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/tools/attach/HotSpotVirtualMachine;
0 17 1 in Ljava/io/InputStream;
1 17 2 sb Ljava/lang/StringBuilder;
3 17 3 n I
2 17 4 buf [B
5 8 5 c C
13 14 5 value I
16 17 5 value I
Exception table:
from to target type
12 13 14 Class java.lang.NumberFormatException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
long attachTimeout();
descriptor: ()J
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.attach.HotSpotVirtualMachine.attachTimeout:J
lconst_0
lcmp
ifne 15
1: aload 0
dup
astore 1
monitorenter
2: aload 0
getfield sun.tools.attach.HotSpotVirtualMachine.attachTimeout:J
lconst_0
lcmp
ifne 11
3: ldc "sun.tools.attach.attachTimeout"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
4: astore 2
start local 2 5: aload 0
aload 2
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
putfield sun.tools.attach.HotSpotVirtualMachine.attachTimeout:J
end local 2 6: goto 9
StackMap locals: sun.tools.attach.HotSpotVirtualMachine sun.tools.attach.HotSpotVirtualMachine
StackMap stack: java.lang.SecurityException
7: pop
goto 9
8: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.attach.HotSpotVirtualMachine.attachTimeout:J
lconst_0
lcmp
ifgt 11
10: aload 0
getstatic sun.tools.attach.HotSpotVirtualMachine.defaultAttachTimeout:J
putfield sun.tools.attach.HotSpotVirtualMachine.attachTimeout:J
11: StackMap locals:
StackMap stack:
aload 1
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.tools.attach.HotSpotVirtualMachine.attachTimeout:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/tools/attach/HotSpotVirtualMachine;
5 6 2 s Ljava/lang/String;
Exception table:
from to target type
3 6 7 Class java.lang.SecurityException
3 6 8 Class java.lang.NumberFormatException
2 12 13 any
13 14 13 any
}
SourceFile: "HotSpotVirtualMachine.java"