public class org.graalvm.compiler.debug.test.DebugTimerTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.debug.test.DebugTimerTest
super_class: java.lang.Object
{
private static final java.lang.management.ThreadMXBean threadMXBean;
descriptor: Ljava/lang/management/ThreadMXBean;
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: invokestatic org.graalvm.compiler.debug.Management.getThreadMXBean:()Ljava/lang/management/ThreadMXBean;
putstatic org.graalvm.compiler.debug.test.DebugTimerTest.threadMXBean:Ljava/lang/management/ThreadMXBean;
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 Lorg/graalvm/compiler/debug/test/DebugTimerTest;
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"
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/DebugTimerTest;
RuntimeInvisibleAnnotations:
Before()
private static long spin(long);
descriptor: (J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: getstatic org.graalvm.compiler.debug.test.DebugTimerTest.threadMXBean:Ljava/lang/management/ThreadMXBean;
invokeinterface java.lang.management.ThreadMXBean.getCurrentThreadCpuTime:()J
lstore 2
start local 2 1: StackMap locals: long
StackMap stack:
getstatic org.graalvm.compiler.debug.test.DebugTimerTest.threadMXBean:Ljava/lang/management/ThreadMXBean;
invokeinterface java.lang.management.ThreadMXBean.getCurrentThreadCpuTime:()J
lload 2
lsub
ldc 1000
ldiv
lstore 4
start local 4 2: lload 4
lload 0
lcmp
iflt 1
3: lload 4
lreturn
end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 ms J
1 4 2 start J
2 4 4 durationMS J
MethodParameters:
Name Flags
ms
public void test1();
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\tAssert cannot be resolved\n\tThe method assertTrue(boolean) is undefined for the type DebugTimerTest\n\tThe method assertEquals(long, long, double) is undefined for the type DebugTimerTest\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/DebugTimerTest;
RuntimeInvisibleAnnotations:
Test()
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 DebugTimerTest\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/DebugTimerTest;
RuntimeInvisibleAnnotations:
Test()
public void test3();
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\tAssert cannot be resolved\n\tThe method assertTrue(boolean) is undefined for the type DebugTimerTest\n\tThe method assertEquals(long, long, double) is undefined for the type DebugTimerTest\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/DebugTimerTest;
RuntimeInvisibleAnnotations:
Test()
}
SourceFile: "DebugTimerTest.java"