public class org.graalvm.compiler.debug.test.TimerKeyTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.debug.test.TimerKeyTest
super_class: java.lang.Object
{
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 Lorg/graalvm/compiler/debug/test/TimerKeyTest;
public void checkCapabilities();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tBefore cannot be resolved to a type\n\tAssume cannot be resolved\n\tAssume cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/test/TimerKeyTest;
RuntimeInvisibleAnnotations:
Before()
private static long spin(long);
descriptor: (J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: invokestatic org.graalvm.compiler.debug.Management.getThreadMXBean:()Ljava/lang/management/ThreadMXBean;
astore 2
start local 2 1: aload 2
invokeinterface java.lang.management.ThreadMXBean.getCurrentThreadCpuTime:()J
lstore 3
start local 3 2: StackMap locals: java.lang.management.ThreadMXBean long
StackMap stack:
aload 2
invokeinterface java.lang.management.ThreadMXBean.getCurrentThreadCpuTime:()J
lload 3
lsub
ldc 1000
ldiv
lstore 5
start local 5 3: lload 5
lload 0
lcmp
iflt 2
4: lload 5
lreturn
end local 5 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ms J
1 5 2 threadMXBean Ljava/lang/management/ThreadMXBean;
2 5 3 start J
3 5 5 durationMS J
MethodParameters:
Name Flags
ms
public void test2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tThe method assertEquals(long, long) is undefined for the type TimerKeyTest\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/test/TimerKeyTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "TimerKeyTest.java"