final class com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl extends com.oracle.truffle.js.runtime.util.DebugCounter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl
super_class: com.oracle.truffle.js.runtime.util.DebugCounter
{
private static final java.util.ArrayList<com.oracle.truffle.js.runtime.util.DebugCounter> allCounters;
descriptor: Ljava/util/ArrayList;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/ArrayList<Lcom/oracle/truffle/js/runtime/util/DebugCounter;>;
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicLong value;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/runtime/util/DebugCounter;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.$assertionsDisabled:Z
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.allCounters:Ljava/util/ArrayList;
4: getstatic com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.$assertionsDisabled:Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
new java.lang.Thread
dup
invokedynamic run()Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
com/oracle/truffle/js/runtime/util/DebugCounter$DebugCounterImpl.lambda$0()V (6)
()V
invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
6: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.oracle.truffle.js.runtime.util.DebugCounter.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.name:Ljava/lang/String;
2: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.value:Ljava/util/concurrent/atomic/AtomicLong;
3: getstatic com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.allCounters:Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/js/runtime/util/DebugCounter$DebugCounterImpl;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
private static com.oracle.truffle.js.runtime.util.DebugCounter createImpl(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/oracle/truffle/js/runtime/util/DebugCounter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl
dup
aload 0
invokespecial com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public long get();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.value:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/util/DebugCounter$DebugCounterImpl;
public void inc();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.value:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/util/DebugCounter$DebugCounterImpl;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.name:Ljava/lang/String;
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;
aload 0
invokevirtual com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.get:()J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/util/DebugCounter$DebugCounterImpl;
private static void dumpCounters(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.allCounters:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: java.io.PrintStream top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.util.DebugCounter
astore 1
start local 1 2: aload 0
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 out Ljava/io/PrintStream;
2 3 1 counter Lcom/oracle/truffle/js/runtime/util/DebugCounter;
MethodParameters:
Name Flags
out
private static void lambda$0();
descriptor: ()V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=0, args_size=0
0: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokestatic com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl.dumpCounters:(Ljava/io/PrintStream;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DebugCounter.java"
NestHost: com.oracle.truffle.js.runtime.util.DebugCounter
InnerClasses:
private final DebugCounterImpl = com.oracle.truffle.js.runtime.util.DebugCounter$DebugCounterImpl of com.oracle.truffle.js.runtime.util.DebugCounter
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles