public class sun.jvm.hotspot.SALauncher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.SALauncher
super_class: java.lang.Object
{
private static final java.lang.String NO_REMOTE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/SALauncher;
private static boolean launcherHelp();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " clhsdb \tcommand line debugger"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " hsdb \tui debugger"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " debugd --help\tto get more information"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " jstack --help\tto get more information"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " jmap --help\tto get more information"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " jinfo --help\tto get more information"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " jsnap --help\tto get more information"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean commonHelp(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokestatic sun.jvm.hotspot.SALauncher.commonHelp:(Ljava/lang/String;Z)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mode Ljava/lang/String;
MethodParameters:
Name Flags
mode
private static boolean commonHelpWithConnect(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokestatic sun.jvm.hotspot.SALauncher.commonHelp:(Ljava/lang/String;Z)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mode Ljava/lang/String;
MethodParameters:
Name Flags
mode
private static boolean commonHelp(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --pid <pid> To attach to and operate on the given live process."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --core <corefile> To operate on the given core file."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --exe <executable for corefile>"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: iload 1
ifeq 5
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --connect [<id>@]<host> To connect to a remote debug server (debugd)."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " The --core and --exe options must be set together to give the core"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " file, and associated executable, to operate on. They can use"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " absolute or relative paths."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
9: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " The --pid option can be set to operate on a live process."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: iload 1
ifeq 14
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " The --connect option can be set to connect to a debug server (debugd)."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --core, --pid, and --connect are mutually exclusive."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: goto 15
14: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --core and --pid are mutually exclusive."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
16: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Examples: jhsdb "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " --pid 1234"
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: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " or jhsdb "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " --core ./core.1234 --exe ./myexe"
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
18: iload 1
ifeq 21
19: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " or jhsdb "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " --connect debugserver"
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
20: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " or jhsdb "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " --connect id@debugserver"
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
21: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 mode Ljava/lang/String;
0 22 1 canConnectToRemote Z
MethodParameters:
Name Flags
mode
canConnectToRemote
private static boolean debugdHelp();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --serverid <id> A unique identifier for this debug server."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: ldc "debugd"
invokestatic sun.jvm.hotspot.SALauncher.commonHelp:(Ljava/lang/String;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean jinfoHelp();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --flags To print VM flags."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --sysprops To print Java System properties."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " <no option> To print both of the above."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: ldc "jinfo"
invokestatic sun.jvm.hotspot.SALauncher.commonHelpWithConnect:(Ljava/lang/String;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean jmapHelp();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " <no option> To print same info as Solaris pmap."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --heap To print java heap summary."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --binaryheap To dump java heap in hprof binary format."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --dumpfile <name> The name of the dump file."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --histo To print histogram of java object heap."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --clstats To print class loader statistics."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --finalizerinfo To print information on objects awaiting finalization."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: ldc "jmap"
invokestatic sun.jvm.hotspot.SALauncher.commonHelpWithConnect:(Ljava/lang/String;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean jstackHelp();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --locks To print java.util.concurrent locks."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --mixed To print both Java and native frames (mixed mode)."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: ldc "jstack"
invokestatic sun.jvm.hotspot.SALauncher.commonHelpWithConnect:(Ljava/lang/String;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean jsnapHelp();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " --all To print all performance counters."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: ldc "jsnap"
invokestatic sun.jvm.hotspot.SALauncher.commonHelpWithConnect:(Ljava/lang/String;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static boolean toolHelp(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "jstack"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: invokestatic sun.jvm.hotspot.SALauncher.jstackHelp:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "jinfo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: invokestatic sun.jvm.hotspot.SALauncher.jinfoHelp:()Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
ldc "jmap"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: invokestatic sun.jvm.hotspot.SALauncher.jmapHelp:()Z
ireturn
6: StackMap locals:
StackMap stack:
aload 0
ldc "jsnap"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: invokestatic sun.jvm.hotspot.SALauncher.jsnapHelp:()Z
ireturn
8: StackMap locals:
StackMap stack:
aload 0
ldc "debugd"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: invokestatic sun.jvm.hotspot.SALauncher.debugdHelp:()Z
ireturn
10: StackMap locals:
StackMap stack:
aload 0
ldc "hsdb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
11: ldc "hsdb"
invokestatic sun.jvm.hotspot.SALauncher.commonHelp:(Ljava/lang/String;)Z
ireturn
12: StackMap locals:
StackMap stack:
aload 0
ldc "clhsdb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: ldc "clhsdb"
invokestatic sun.jvm.hotspot.SALauncher.commonHelp:(Ljava/lang/String;)Z
ireturn
14: StackMap locals:
StackMap stack:
invokestatic sun.jvm.hotspot.SALauncher.launcherHelp:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 toolName Ljava/lang/String;
MethodParameters:
Name Flags
toolName
private static void buildAttachArgs(java.util.ArrayList<java.lang.String>, java.lang.String, java.lang.String, java.lang.String, java.lang.String, );
descriptor: (Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 5
ifne 2
aload 1
ifnonnull 2
aload 2
ifnonnull 2
aload 4
getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
if_acmpne 2
1: new sun.jvm.hotspot.SAGetoptException
dup
ldc "You have to set --pid or --exe or --connect."
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
ifnull 13
3: aload 2
ifnull 5
4: new sun.jvm.hotspot.SAGetoptException
dup
ldc "Unnecessary argument: --exe"
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnull 7
6: new sun.jvm.hotspot.SAGetoptException
dup
ldc "Unnecessary argument: --core"
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 4
getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
if_acmpeq 9
8: new sun.jvm.hotspot.SAGetoptException
dup
ldc "Unnecessary argument: --connect"
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
ldc "^\\d+$"
invokevirtual java.lang.String.matches:(Ljava/lang/String;)Z
ifne 11
10: new sun.jvm.hotspot.SAGetoptException
dup
new java.lang.StringBuilder
dup
ldc "Invalid pid: "
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;
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
12: goto 25
StackMap locals:
StackMap stack:
13: aload 2
ifnull 23
14: aload 4
getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
if_acmpeq 16
15: new sun.jvm.hotspot.SAGetoptException
dup
ldc "Unnecessary argument: --connect"
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
ifne 18
17: new sun.jvm.hotspot.SAGetoptException
dup
ldc "You have to set --exe."
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
19: aload 3
ifnull 20
aload 3
invokevirtual java.lang.String.length:()I
ifne 21
20: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.SAGetoptException
dup
ldc "You have to set --core."
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals:
StackMap stack:
aload 0
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
22: goto 25
StackMap locals:
StackMap stack:
23: aload 4
getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
if_acmpeq 25
24: aload 0
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: StackMap locals:
StackMap stack:
return
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 26 0 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
0 26 1 pid Ljava/lang/String;
0 26 2 exe Ljava/lang/String;
0 26 3 core Ljava/lang/String;
0 26 4 remote Ljava/lang/String;
0 26 5 allowEmpty Z
Signature: (Ljava/util/ArrayList<Ljava/lang/String;>;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
MethodParameters:
Name Flags
newArgs
pid
exe
core
remote
allowEmpty
private static void runCLHSDB(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=1
start local 0 0: new sun.jvm.hotspot.SAGetopt
dup
aload 0
invokespecial sun.jvm.hotspot.SAGetopt.<init>:([Ljava/lang/String;)V
astore 1
start local 1 1: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "exe="
aastore
dup
iconst_1
ldc "core="
aastore
dup
iconst_2
ldc "pid="
aastore
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aconst_null
astore 6
start local 6 6: aconst_null
astore 7
start local 7 7: goto 16
8: StackMap locals: java.lang.String[] sun.jvm.hotspot.SAGetopt java.lang.String[] java.util.ArrayList java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 7
ldc "exe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 5
10: goto 16
11: StackMap locals:
StackMap stack:
aload 7
ldc "core"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 6
13: goto 16
14: StackMap locals:
StackMap stack:
aload 7
ldc "pid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 4
16: StackMap locals:
StackMap stack:
aload 1
aconst_null
aload 2
invokevirtual sun.jvm.hotspot.SAGetopt.next:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
dup
astore 7
ifnonnull 8
17: aload 3
aload 4
aload 5
aload 6
getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
iconst_1
invokestatic sun.jvm.hotspot.SALauncher.buildAttachArgs:(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
18: aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic sun.jvm.hotspot.CLHSDB.main:([Ljava/lang/String;)V
19: return
end local 7 end local 6 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 20 0 oldArgs [Ljava/lang/String;
1 20 1 sg Lsun/jvm/hotspot/SAGetopt;
2 20 2 longOpts [Ljava/lang/String;
3 20 3 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
4 20 4 pid Ljava/lang/String;
5 20 5 exe Ljava/lang/String;
6 20 6 core Ljava/lang/String;
7 20 7 s Ljava/lang/String;
MethodParameters:
Name Flags
oldArgs
private static void runHSDB(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=1
start local 0 0: new sun.jvm.hotspot.SAGetopt
dup
aload 0
invokespecial sun.jvm.hotspot.SAGetopt.<init>:([Ljava/lang/String;)V
astore 1
start local 1 1: iconst_3
anewarray java.lang.String
dup
iconst_0
ldc "exe="
aastore
dup
iconst_1
ldc "core="
aastore
dup
iconst_2
ldc "pid="
aastore
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aconst_null
astore 6
start local 6 6: aconst_null
astore 7
start local 7 7: goto 16
8: StackMap locals: java.lang.String[] sun.jvm.hotspot.SAGetopt java.lang.String[] java.util.ArrayList java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 7
ldc "exe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 5
10: goto 16
11: StackMap locals:
StackMap stack:
aload 7
ldc "core"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 6
13: goto 16
14: StackMap locals:
StackMap stack:
aload 7
ldc "pid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
15: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 4
16: StackMap locals:
StackMap stack:
aload 1
aconst_null
aload 2
invokevirtual sun.jvm.hotspot.SAGetopt.next:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
dup
astore 7
ifnonnull 8
17: aload 3
aload 4
aload 5
aload 6
getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
iconst_1
invokestatic sun.jvm.hotspot.SALauncher.buildAttachArgs:(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
18: aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic sun.jvm.hotspot.HSDB.main:([Ljava/lang/String;)V
19: return
end local 7 end local 6 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 20 0 oldArgs [Ljava/lang/String;
1 20 1 sg Lsun/jvm/hotspot/SAGetopt;
2 20 2 longOpts [Ljava/lang/String;
3 20 3 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
4 20 4 pid Ljava/lang/String;
5 20 5 exe Ljava/lang/String;
6 20 6 core Ljava/lang/String;
7 20 7 s Ljava/lang/String;
MethodParameters:
Name Flags
oldArgs
private static void runJSTACK(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: new sun.jvm.hotspot.SAGetopt
dup
aload 0
invokespecial sun.jvm.hotspot.SAGetopt.<init>:([Ljava/lang/String;)V
astore 1
start local 1 1: bipush 6
anewarray java.lang.String
dup
iconst_0
ldc "exe="
aastore
dup
iconst_1
ldc "core="
aastore
dup
iconst_2
ldc "pid="
aastore
dup
iconst_3
ldc "connect="
aastore
dup
iconst_4
2: ldc "mixed"
aastore
dup
iconst_5
ldc "locks"
aastore
3: astore 2
start local 2 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: aconst_null
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
astore 7
start local 7 9: aconst_null
astore 8
start local 8 10: goto 28
11: StackMap locals: java.lang.String[] sun.jvm.hotspot.SAGetopt java.lang.String[] java.util.ArrayList java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 8
ldc "exe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 5
13: goto 28
14: StackMap locals:
StackMap stack:
aload 8
ldc "core"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 6
16: goto 28
17: StackMap locals:
StackMap stack:
aload 8
ldc "pid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 4
19: goto 28
20: StackMap locals:
StackMap stack:
aload 8
ldc "connect"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 7
22: goto 28
23: StackMap locals:
StackMap stack:
aload 8
ldc "mixed"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 3
ldc "-m"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: goto 28
26: StackMap locals:
StackMap stack:
aload 8
ldc "locks"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
27: aload 3
ldc "-l"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
28: StackMap locals:
StackMap stack:
aload 1
aconst_null
aload 2
invokevirtual sun.jvm.hotspot.SAGetopt.next:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
dup
astore 8
ifnonnull 11
29: aload 3
aload 4
aload 5
aload 6
aload 7
iconst_0
invokestatic sun.jvm.hotspot.SALauncher.buildAttachArgs:(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
30: new sun.jvm.hotspot.tools.JStack
dup
iconst_0
iconst_0
invokespecial sun.jvm.hotspot.tools.JStack.<init>:(ZZ)V
astore 9
start local 9 31: aload 9
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokevirtual sun.jvm.hotspot.tools.JStack.runWithArgs:([Ljava/lang/String;)V
32: return
end local 9 end local 8 end local 7 end local 6 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 33 0 oldArgs [Ljava/lang/String;
1 33 1 sg Lsun/jvm/hotspot/SAGetopt;
4 33 2 longOpts [Ljava/lang/String;
5 33 3 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
6 33 4 pid Ljava/lang/String;
7 33 5 exe Ljava/lang/String;
8 33 6 core Ljava/lang/String;
9 33 7 remote Ljava/lang/String;
10 33 8 s Ljava/lang/String;
31 33 9 jstack Lsun/jvm/hotspot/tools/JStack;
MethodParameters:
Name Flags
oldArgs
private static void runJMAP(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: new sun.jvm.hotspot.SAGetopt
dup
aload 0
invokespecial sun.jvm.hotspot.SAGetopt.<init>:([Ljava/lang/String;)V
astore 1
start local 1 1: bipush 10
anewarray java.lang.String
dup
iconst_0
ldc "exe="
aastore
dup
iconst_1
ldc "core="
aastore
dup
iconst_2
ldc "pid="
aastore
dup
iconst_3
ldc "connect="
aastore
dup
iconst_4
2: ldc "heap"
aastore
dup
iconst_5
ldc "binaryheap"
aastore
dup
bipush 6
ldc "dumpfile="
aastore
dup
bipush 7
ldc "histo"
aastore
dup
bipush 8
ldc "clstats"
aastore
dup
bipush 9
ldc "finalizerinfo"
aastore
3: astore 2
start local 2 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: aconst_null
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
astore 7
start local 7 9: aconst_null
astore 8
start local 8 10: aconst_null
astore 9
start local 9 11: iconst_0
istore 10
start local 10 12: goto 42
13: StackMap locals: java.lang.String[] sun.jvm.hotspot.SAGetopt java.lang.String[] java.util.ArrayList java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String int
StackMap stack:
aload 8
ldc "exe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 5
15: goto 42
16: StackMap locals:
StackMap stack:
aload 8
ldc "core"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 6
18: goto 42
19: StackMap locals:
StackMap stack:
aload 8
ldc "pid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 4
21: goto 42
22: StackMap locals:
StackMap stack:
aload 8
ldc "connect"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
23: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 7
24: goto 42
25: StackMap locals:
StackMap stack:
aload 8
ldc "heap"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
26: aload 3
ldc "-heap"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
27: goto 42
28: StackMap locals:
StackMap stack:
aload 8
ldc "binaryheap"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 31
29: iconst_1
istore 10
30: goto 42
31: StackMap locals:
StackMap stack:
aload 8
ldc "dumpfile"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 34
32: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 9
33: goto 42
34: StackMap locals:
StackMap stack:
aload 8
ldc "histo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 37
35: aload 3
ldc "-histo"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
36: goto 42
37: StackMap locals:
StackMap stack:
aload 8
ldc "clstats"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 40
38: aload 3
ldc "-clstats"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
39: goto 42
40: StackMap locals:
StackMap stack:
aload 8
ldc "finalizerinfo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 42
41: aload 3
ldc "-finalizerinfo"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
42: StackMap locals:
StackMap stack:
aload 1
aconst_null
aload 2
invokevirtual sun.jvm.hotspot.SAGetopt.next:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
dup
astore 8
ifnonnull 13
43: iload 10
ifne 45
aload 9
ifnull 45
44: new java.lang.IllegalArgumentException
dup
ldc "Unexpected argument dumpfile"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
45: StackMap locals:
StackMap stack:
iload 10
ifeq 50
46: aload 9
ifnonnull 49
47: aload 3
ldc "-heap:format=b"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
48: goto 50
49: StackMap locals:
StackMap stack:
aload 3
new java.lang.StringBuilder
dup
ldc "-heap:format=b,file="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
50: StackMap locals:
StackMap stack:
aload 3
aload 4
aload 5
aload 6
aload 7
iconst_0
invokestatic sun.jvm.hotspot.SALauncher.buildAttachArgs:(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
51: aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic sun.jvm.hotspot.tools.JMap.main:([Ljava/lang/String;)V
52: return
end local 10 end local 9 end local 8 end local 7 end local 6 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 53 0 oldArgs [Ljava/lang/String;
1 53 1 sg Lsun/jvm/hotspot/SAGetopt;
4 53 2 longOpts [Ljava/lang/String;
5 53 3 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
6 53 4 pid Ljava/lang/String;
7 53 5 exe Ljava/lang/String;
8 53 6 core Ljava/lang/String;
9 53 7 remote Ljava/lang/String;
10 53 8 s Ljava/lang/String;
11 53 9 dumpfile Ljava/lang/String;
12 53 10 requestHeapdump Z
MethodParameters:
Name Flags
oldArgs
private static void runJINFO(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: new sun.jvm.hotspot.SAGetopt
dup
aload 0
invokespecial sun.jvm.hotspot.SAGetopt.<init>:([Ljava/lang/String;)V
astore 1
start local 1 1: bipush 6
anewarray java.lang.String
dup
iconst_0
ldc "exe="
aastore
dup
iconst_1
ldc "core="
aastore
dup
iconst_2
ldc "pid="
aastore
dup
iconst_3
ldc "connect="
aastore
dup
iconst_4
2: ldc "flags"
aastore
dup
iconst_5
ldc "sysprops"
aastore
3: astore 2
start local 2 4: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 5: aconst_null
astore 4
start local 4 6: aconst_null
astore 5
start local 5 7: aconst_null
astore 6
start local 6 8: getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
astore 7
start local 7 9: aconst_null
astore 8
start local 8 10: goto 28
11: StackMap locals: java.lang.String[] sun.jvm.hotspot.SAGetopt java.lang.String[] java.util.ArrayList java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 8
ldc "exe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 4
13: goto 28
14: StackMap locals:
StackMap stack:
aload 8
ldc "core"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 6
16: goto 28
17: StackMap locals:
StackMap stack:
aload 8
ldc "pid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 5
19: goto 28
20: StackMap locals:
StackMap stack:
aload 8
ldc "connect"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 7
22: goto 28
23: StackMap locals:
StackMap stack:
aload 8
ldc "flags"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 3
ldc "-flags"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: goto 28
26: StackMap locals:
StackMap stack:
aload 8
ldc "sysprops"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 28
27: aload 3
ldc "-sysprops"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
28: StackMap locals:
StackMap stack:
aload 1
aconst_null
aload 2
invokevirtual sun.jvm.hotspot.SAGetopt.next:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
dup
astore 8
ifnonnull 11
29: aload 3
aload 5
aload 4
aload 6
aload 7
iconst_0
invokestatic sun.jvm.hotspot.SALauncher.buildAttachArgs:(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
30: aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic sun.jvm.hotspot.tools.JInfo.main:([Ljava/lang/String;)V
31: return
end local 8 end local 7 end local 6 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 32 0 oldArgs [Ljava/lang/String;
1 32 1 sg Lsun/jvm/hotspot/SAGetopt;
4 32 2 longOpts [Ljava/lang/String;
5 32 3 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
6 32 4 exe Ljava/lang/String;
7 32 5 pid Ljava/lang/String;
8 32 6 core Ljava/lang/String;
9 32 7 remote Ljava/lang/String;
10 32 8 s Ljava/lang/String;
MethodParameters:
Name Flags
oldArgs
private static void runJSNAP(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: new sun.jvm.hotspot.SAGetopt
dup
aload 0
invokespecial sun.jvm.hotspot.SAGetopt.<init>:([Ljava/lang/String;)V
astore 1
start local 1 1: iconst_5
anewarray java.lang.String
dup
iconst_0
ldc "exe="
aastore
dup
iconst_1
ldc "core="
aastore
dup
iconst_2
ldc "pid="
aastore
dup
iconst_3
ldc "connect="
aastore
dup
iconst_4
ldc "all"
aastore
astore 2
start local 2 2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 3: aconst_null
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aconst_null
astore 6
start local 6 6: getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
astore 7
start local 7 7: aconst_null
astore 8
start local 8 8: goto 23
9: StackMap locals: java.lang.String[] sun.jvm.hotspot.SAGetopt java.lang.String[] java.util.ArrayList java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 8
ldc "exe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 4
11: goto 23
12: StackMap locals:
StackMap stack:
aload 8
ldc "core"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 6
14: goto 23
15: StackMap locals:
StackMap stack:
aload 8
ldc "pid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 5
17: goto 23
18: StackMap locals:
StackMap stack:
aload 8
ldc "connect"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 7
20: goto 23
21: StackMap locals:
StackMap stack:
aload 8
ldc "all"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
22: aload 3
ldc "-a"
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: StackMap locals:
StackMap stack:
aload 1
aconst_null
aload 2
invokevirtual sun.jvm.hotspot.SAGetopt.next:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
dup
astore 8
ifnonnull 9
24: aload 3
aload 5
aload 4
aload 6
aload 7
iconst_0
invokestatic sun.jvm.hotspot.SALauncher.buildAttachArgs:(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
25: aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic sun.jvm.hotspot.tools.JSnap.main:([Ljava/lang/String;)V
26: return
end local 8 end local 7 end local 6 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 27 0 oldArgs [Ljava/lang/String;
1 27 1 sg Lsun/jvm/hotspot/SAGetopt;
2 27 2 longOpts [Ljava/lang/String;
3 27 3 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
4 27 4 exe Ljava/lang/String;
5 27 5 pid Ljava/lang/String;
6 27 6 core Ljava/lang/String;
7 27 7 remote Ljava/lang/String;
8 27 8 s Ljava/lang/String;
MethodParameters:
Name Flags
oldArgs
private static void runDEBUGD(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: ldc "sun.jvm.hotspot.debugger.useWindbgDebugger"
ldc "true"
invokestatic java.lang.System.setProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
pop
1: new sun.jvm.hotspot.SAGetopt
dup
aload 0
invokespecial sun.jvm.hotspot.SAGetopt.<init>:([Ljava/lang/String;)V
astore 1
start local 1 2: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "exe="
aastore
dup
iconst_1
ldc "core="
aastore
dup
iconst_2
ldc "pid="
aastore
dup
iconst_3
ldc "serverid="
aastore
astore 2
start local 2 3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 4: aconst_null
astore 4
start local 4 5: aconst_null
astore 5
start local 5 6: aconst_null
astore 6
start local 6 7: aconst_null
astore 7
start local 7 8: aconst_null
astore 8
start local 8 9: goto 21
10: StackMap locals: java.lang.String[] sun.jvm.hotspot.SAGetopt java.lang.String[] java.util.ArrayList java.lang.String java.lang.String java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 7
ldc "exe"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 13
11: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 4
12: goto 21
13: StackMap locals:
StackMap stack:
aload 7
ldc "core"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
14: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 6
15: goto 21
16: StackMap locals:
StackMap stack:
aload 7
ldc "pid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 19
17: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 5
18: goto 21
19: StackMap locals:
StackMap stack:
aload 7
ldc "serverid"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
20: aload 1
invokevirtual sun.jvm.hotspot.SAGetopt.getOptarg:()Ljava/lang/String;
astore 8
21: StackMap locals:
StackMap stack:
aload 1
aconst_null
aload 2
invokevirtual sun.jvm.hotspot.SAGetopt.next:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
dup
astore 7
ifnonnull 10
22: aload 3
aload 5
aload 4
aload 6
getstatic sun.jvm.hotspot.SALauncher.NO_REMOTE:Ljava/lang/String;
iconst_0
invokestatic sun.jvm.hotspot.SALauncher.buildAttachArgs:(Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V
23: aload 8
ifnull 25
24: aload 3
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: StackMap locals:
StackMap stack:
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
invokestatic sun.jvm.hotspot.DebugServer.main:([Ljava/lang/String;)V
26: return
end local 8 end local 7 end local 6 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 27 0 oldArgs [Ljava/lang/String;
2 27 1 sg Lsun/jvm/hotspot/SAGetopt;
3 27 2 longOpts [Ljava/lang/String;
4 27 3 newArgs Ljava/util/ArrayList<Ljava/lang/String;>;
5 27 4 exe Ljava/lang/String;
6 27 5 pid Ljava/lang/String;
7 27 6 core Ljava/lang/String;
8 27 7 s Ljava/lang/String;
9 27 8 serverid Ljava/lang/String;
MethodParameters:
Name Flags
oldArgs
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
arraylength
ifne 3
1: invokestatic sun.jvm.hotspot.SALauncher.launcherHelp:()Z
pop
2: return
3: StackMap locals:
StackMap stack:
aload 0
arraylength
iconst_1
if_icmpne 6
aload 0
iconst_0
aaload
ldc "clhsdb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
aload 0
iconst_0
aaload
ldc "hsdb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
4: aload 0
iconst_0
aaload
invokestatic sun.jvm.hotspot.SALauncher.toolHelp:(Ljava/lang/String;)Z
pop
5: return
6: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 12
StackMap locals: java.lang.String[] top int int java.lang.String[]
StackMap stack:
7: aload 4
iload 2
aaload
astore 1
start local 1 8: aload 1
ldc "-h"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
aload 1
ldc "-help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
aload 1
ldc "--help"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: StackMap locals: java.lang.String[] java.lang.String int int java.lang.String[]
StackMap stack:
aload 0
iconst_0
aaload
invokestatic sun.jvm.hotspot.SALauncher.toolHelp:(Ljava/lang/String;)Z
pop
10: return
end local 1 11: StackMap locals: java.lang.String[] top int int java.lang.String[]
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
12: iload 2
iload 3
if_icmplt 7
13: aload 0
iconst_1
aload 0
arraylength
invokestatic java.util.Arrays.copyOfRange:([Ljava/lang/Object;II)[Ljava/lang/Object;
checkcast java.lang.String[]
astore 1
start local 1 14: aload 0
iconst_0
aaload
ldc "clhsdb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 1
invokestatic sun.jvm.hotspot.SALauncher.runCLHSDB:([Ljava/lang/String;)V
16: return
17: StackMap locals: java.lang.String[] java.lang.String[]
StackMap stack:
aload 0
iconst_0
aaload
ldc "hsdb"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 20
18: aload 1
invokestatic sun.jvm.hotspot.SALauncher.runHSDB:([Ljava/lang/String;)V
19: return
20: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
ldc "jstack"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
21: aload 1
invokestatic sun.jvm.hotspot.SALauncher.runJSTACK:([Ljava/lang/String;)V
22: return
23: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
ldc "jmap"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 26
24: aload 1
invokestatic sun.jvm.hotspot.SALauncher.runJMAP:([Ljava/lang/String;)V
25: return
26: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
ldc "jinfo"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 29
27: aload 1
invokestatic sun.jvm.hotspot.SALauncher.runJINFO:([Ljava/lang/String;)V
28: return
29: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
ldc "jsnap"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
30: aload 1
invokestatic sun.jvm.hotspot.SALauncher.runJSNAP:([Ljava/lang/String;)V
31: return
32: StackMap locals:
StackMap stack:
aload 0
iconst_0
aaload
ldc "debugd"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 35
33: aload 1
invokestatic sun.jvm.hotspot.SALauncher.runDEBUGD:([Ljava/lang/String;)V
34: return
35: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.SAGetoptException
dup
new java.lang.StringBuilder
dup
ldc "Unknown tool: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
iconst_0
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvm.hotspot.SAGetoptException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack: sun.jvm.hotspot.SAGetoptException
astore 2
start local 2 37: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 2
invokevirtual sun.jvm.hotspot.SAGetoptException.getMessage:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
38: aload 0
iconst_0
aaload
invokestatic sun.jvm.hotspot.SALauncher.toolHelp:(Ljava/lang/String;)Z
pop
end local 2 39: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 args [Ljava/lang/String;
8 11 1 arg Ljava/lang/String;
14 40 1 oldArgs [Ljava/lang/String;
37 39 2 e Lsun/jvm/hotspot/SAGetoptException;
Exception table:
from to target type
14 16 36 Class sun.jvm.hotspot.SAGetoptException
17 19 36 Class sun.jvm.hotspot.SAGetoptException
20 22 36 Class sun.jvm.hotspot.SAGetoptException
23 25 36 Class sun.jvm.hotspot.SAGetoptException
26 28 36 Class sun.jvm.hotspot.SAGetoptException
29 31 36 Class sun.jvm.hotspot.SAGetoptException
32 34 36 Class sun.jvm.hotspot.SAGetoptException
35 36 36 Class sun.jvm.hotspot.SAGetoptException
MethodParameters:
Name Flags
args
}
SourceFile: "SALauncher.java"