public class sun.jvm.hotspot.tools.JInfo extends sun.jvm.hotspot.tools.Tool
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.tools.JInfo
super_class: sun.jvm.hotspot.tools.Tool
{
public static final int MODE_FLAGS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int MODE_SYSPROPS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int MODE_BOTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private int mode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.jvm.hotspot.tools.Tool.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/JInfo;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.jvm.hotspot.tools.Tool.<init>:()V
1: aload 0
iload 1
putfield sun.jvm.hotspot.tools.JInfo.mode:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/tools/JInfo;
0 3 1 m I
MethodParameters:
Name Flags
m
public void <init>(sun.jvm.hotspot.debugger.JVMDebugger);
descriptor: (Lsun/jvm/hotspot/debugger/JVMDebugger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.tools.Tool.<init>:(Lsun/jvm/hotspot/debugger/JVMDebugger;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/tools/JInfo;
0 2 1 d Lsun/jvm/hotspot/debugger/JVMDebugger;
MethodParameters:
Name Flags
d
protected boolean needsJavaPrefix();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/tools/JInfo;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "jinfo"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/tools/JInfo;
protected void printFlagsUsage();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " -flags\tto print VM flags"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc " -sysprops\tto 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>\tto print both of the above"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: aload 0
invokespecial sun.jvm.hotspot.tools.Tool.printFlagsUsage:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/tools/JInfo;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.jvm.hotspot.tools.JInfo.mode:I
tableswitch { // 0 - 2
0: 2
1: 4
2: 6
default: 8
}
2: StackMap locals: sun.jvm.hotspot.tools.Tool
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.tools.JInfo.printVMFlags:()V
3: return
4: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.tools.SysPropsDumper
dup
invokespecial sun.jvm.hotspot.tools.SysPropsDumper.<init>:()V
astore 1
5: goto 9
6: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.tools.JInfo$1
dup
aload 0
invokespecial sun.jvm.hotspot.tools.JInfo$1.<init>:(Lsun/jvm/hotspot/tools/JInfo;)V
astore 1
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.tools.JInfo.usage:()V
9: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.jvm.hotspot.tools.JInfo.getAgent:()Lsun/jvm/hotspot/HotSpotAgent;
invokevirtual sun.jvm.hotspot.tools.Tool.setAgent:(Lsun/jvm/hotspot/HotSpotAgent;)V
10: aload 1
invokevirtual sun.jvm.hotspot.tools.Tool.run:()V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/jvm/hotspot/tools/JInfo;
1 12 1 tool Lsun/jvm/hotspot/tools/Tool;
public void runWithArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iconst_m1
istore 2
start local 2 1: aload 1
arraylength
tableswitch { // 1 - 3
1: 2
2: 7
3: 7
default: 27
}
2: StackMap locals: int
StackMap stack:
aload 1
iconst_0
aaload
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 5
3: aload 0
invokevirtual sun.jvm.hotspot.tools.JInfo.usage:()V
4: goto 28
5: StackMap locals:
StackMap stack:
iconst_2
istore 2
6: goto 28
7: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
astore 3
start local 3 8: aload 3
ldc "-flags"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
9: iconst_0
istore 2
10: goto 18
StackMap locals: java.lang.String
StackMap stack:
11: aload 3
ldc "-sysprops"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: iconst_1
istore 2
13: goto 18
StackMap locals:
StackMap stack:
14: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 45
if_icmpne 17
15: aload 0
invokevirtual sun.jvm.hotspot.tools.JInfo.usage:()V
16: goto 18
17: StackMap locals:
StackMap stack:
iconst_2
istore 2
18: StackMap locals:
StackMap stack:
iload 2
iconst_2
if_icmpeq 28
19: aload 1
arraylength
iconst_1
isub
anewarray java.lang.String
astore 4
start local 4 20: iconst_0
istore 5
start local 5 21: goto 24
22: StackMap locals: java.lang.String[] int
StackMap stack:
aload 4
iload 5
aload 1
iload 5
iconst_1
iadd
aaload
aastore
23: iinc 5 1
StackMap locals:
StackMap stack:
24: iload 5
aload 4
arraylength
if_icmplt 22
end local 5 25: aload 4
astore 1
end local 4 26: goto 28
end local 3 27: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.tools.JInfo.usage:()V
28: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield sun.jvm.hotspot.tools.JInfo.mode:I
29: aload 0
aload 1
invokevirtual sun.jvm.hotspot.tools.JInfo.execute:([Ljava/lang/String;)V
30: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/jvm/hotspot/tools/JInfo;
0 31 1 args [Ljava/lang/String;
1 31 2 mode I
8 27 3 modeFlag Ljava/lang/String;
20 26 4 newArgs [Ljava/lang/String;
21 25 5 i I
MethodParameters:
Name Flags
args
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new sun.jvm.hotspot.tools.JInfo
dup
invokespecial sun.jvm.hotspot.tools.JInfo.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.jvm.hotspot.tools.JInfo.runWithArgs:([Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 args [Ljava/lang/String;
1 3 1 jinfo Lsun/jvm/hotspot/tools/JInfo;
MethodParameters:
Name Flags
args
private void printVMFlags();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getCommandLineFlags:()[Lsun/jvm/hotspot/runtime/VM$Flag;
astore 1
start local 1 1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Non-default VM flags: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
2: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 16
StackMap locals: sun.jvm.hotspot.tools.JInfo sun.jvm.hotspot.runtime.VM$Flag[] top int int sun.jvm.hotspot.runtime.VM$Flag[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getOrigin:()I
ifne 6
5: goto 15
6: StackMap locals: sun.jvm.hotspot.tools.JInfo sun.jvm.hotspot.runtime.VM$Flag[] sun.jvm.hotspot.runtime.VM$Flag int int sun.jvm.hotspot.runtime.VM$Flag[]
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.isBool:()Z
ifeq 12
7: aload 2
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getBool:()Z
ifeq 8
ldc "+"
goto 9
StackMap locals:
StackMap stack:
8: ldc "-"
StackMap locals:
StackMap stack: java.lang.String
9: astore 6
start local 6 10: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "-XX:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getName:()Ljava/lang/String;
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;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
end local 6 11: goto 15
12: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "-XX:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 2
invokevirtual sun.jvm.hotspot.runtime.VM$Flag.getValue:()Ljava/lang/String;
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;
14: invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
end local 2 15: StackMap locals: sun.jvm.hotspot.tools.JInfo sun.jvm.hotspot.runtime.VM$Flag[] top int int sun.jvm.hotspot.runtime.VM$Flag[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 4
if_icmplt 3
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
18: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Command line: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
19: invokestatic sun.jvm.hotspot.runtime.Arguments.getJVMFlags:()Ljava/lang/String;
astore 2
start local 2 20: aload 2
ifnull 22
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 2
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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
22: StackMap locals: sun.jvm.hotspot.tools.JInfo sun.jvm.hotspot.runtime.VM$Flag[] java.lang.String
StackMap stack:
invokestatic sun.jvm.hotspot.runtime.Arguments.getJVMArgs:()Ljava/lang/String;
astore 2
23: aload 2
ifnull 25
24: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 2
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
26: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/jvm/hotspot/tools/JInfo;
1 27 1 flags [Lsun/jvm/hotspot/runtime/VM$Flag;
4 15 2 flag Lsun/jvm/hotspot/runtime/VM$Flag;
10 11 6 onoff Ljava/lang/String;
20 27 2 str Ljava/lang/String;
}
SourceFile: "JInfo.java"
NestMembers:
sun.jvm.hotspot.tools.JInfo$1
InnerClasses:
public final Flag = sun.jvm.hotspot.runtime.VM$Flag of sun.jvm.hotspot.runtime.VM
sun.jvm.hotspot.tools.JInfo$1