public class sun.jvm.hotspot.HelloWorld
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.HelloWorld
super_class: java.lang.Object
{
private static java.lang.String helloWorldString;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static volatile int helloWorldTrigger;
descriptor: I
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private static final boolean useMethodInvoke;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static java.lang.Object lock;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "Hello, world!"
putstatic sun.jvm.hotspot.HelloWorld.helloWorldString:Ljava/lang/String;
1: iconst_0
putstatic sun.jvm.hotspot.HelloWorld.helloWorldTrigger:I
2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic sun.jvm.hotspot.HelloWorld.lock:Ljava/lang/Object;
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/HelloWorld;
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic sun.jvm.hotspot.HelloWorld.a:()I
istore 1
start local 1 1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "HelloWorld exiting. a() = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(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 foo I
MethodParameters:
Name Flags
args
private static int a();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_1
invokestatic sun.jvm.hotspot.HelloWorld.b:()I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static int b();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_1
invokestatic sun.jvm.hotspot.HelloWorld.c:()I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static int c();
descriptor: ()I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_1
ldc "Hi"
invokestatic sun.jvm.hotspot.HelloWorld.d:(Ljava/lang/String;)I
iadd
ireturn
LocalVariableTable:
Start End Slot Name Signature
private static int d(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=12, args_size=1
start local 0 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "HelloWorld.d() received \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" as argument"
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
1: getstatic sun.jvm.hotspot.HelloWorld.lock:Ljava/lang/Object;
dup
astore 1
monitorenter
2: bipush 10
invokestatic sun.jvm.hotspot.HelloWorld.fib:(I)I
istore 2
start local 2 3: iload 2
i2l
lstore 3
start local 3 4: iload 2
i2f
fstore 5
start local 5 5: iload 2
i2d
dstore 6
start local 6 6: iload 2
i2c
istore 8
start local 8 7: iload 2
i2s
istore 9
start local 9 8: iload 2
i2b
istore 10
start local 10 9: invokestatic sun.jvm.hotspot.HelloWorld.e:()I
istore 11
start local 11 10: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Tenth Fibonacci number in all formats: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: fload 5
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: dload 6
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: iload 8
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: iload 9
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: iload 10
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
19: iload 11
aload 1
monitorexit
20: ireturn
end local 11 end local 10 end local 9 end local 8 end local 6 end local 5 end local 3 end local 2 21: StackMap locals: java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
aload 1
monitorexit
22: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 x Ljava/lang/String;
3 21 2 i I
4 21 3 l J
5 21 5 f F
6 21 6 d D
7 21 8 c C
8 21 9 s S
9 21 10 b B
10 21 11 ret I
Exception table:
from to target type
2 20 21 any
21 22 21 any
MethodParameters:
Name Flags
x
public static int e();
descriptor: ()I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Going to sleep..."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: iconst_0
istore 0
start local 0 2: goto 5
3: StackMap locals: int
StackMap stack:
iinc 0 1
iload 0
ldc 1000000
if_icmpne 5
4: invokestatic java.lang.System.gc:()V
5: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.HelloWorld.helloWorldTrigger:I
ifeq 3
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
getstatic sun.jvm.hotspot.HelloWorld.helloWorldString:Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.HelloWorld.helloWorldTrigger:I
ifne 7
8: iload 0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 9 0 i I
public static int fib(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_2
if_icmpge 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iload 0
iconst_1
isub
invokestatic sun.jvm.hotspot.HelloWorld.fib:(I)I
iload 0
iconst_2
isub
invokestatic sun.jvm.hotspot.HelloWorld.fib:(I)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 n I
MethodParameters:
Name Flags
n
}
SourceFile: "HelloWorld.java"