public abstract class org.graalvm.compiler.debug.CloseableCounter implements org.graalvm.compiler.debug.DebugCloseable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.graalvm.compiler.debug.CloseableCounter
super_class: java.lang.Object
{
protected final org.graalvm.compiler.debug.DebugContext debug;
descriptor: Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.debug.CloseableCounter parent;
descriptor: Lorg/graalvm/compiler/debug/CloseableCounter;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final org.graalvm.compiler.debug.AccumulatedKey counter;
descriptor: Lorg/graalvm/compiler/debug/AccumulatedKey;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final long start;
descriptor: J
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected long nestedAmountToSubtract;
descriptor: J
flags: (0x0004) ACC_PROTECTED
void <init>(org.graalvm.compiler.debug.DebugContext, org.graalvm.compiler.debug.CloseableCounter, org.graalvm.compiler.debug.AccumulatedKey);
descriptor: (Lorg/graalvm/compiler/debug/DebugContext;Lorg/graalvm/compiler/debug/CloseableCounter;Lorg/graalvm/compiler/debug/AccumulatedKey;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.compiler.debug.CloseableCounter.debug:Lorg/graalvm/compiler/debug/DebugContext;
2: aload 0
aload 2
putfield org.graalvm.compiler.debug.CloseableCounter.parent:Lorg/graalvm/compiler/debug/CloseableCounter;
3: aload 0
aload 0
invokevirtual org.graalvm.compiler.debug.CloseableCounter.getCounterValue:()J
putfield org.graalvm.compiler.debug.CloseableCounter.start:J
4: aload 0
aload 3
putfield org.graalvm.compiler.debug.CloseableCounter.counter:Lorg/graalvm/compiler/debug/AccumulatedKey;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/compiler/debug/CloseableCounter;
0 6 1 debug Lorg/graalvm/compiler/debug/DebugContext;
0 6 2 parent Lorg/graalvm/compiler/debug/CloseableCounter;
0 6 3 counter Lorg/graalvm/compiler/debug/AccumulatedKey;
MethodParameters:
Name Flags
debug
parent
counter
public org.graalvm.compiler.debug.DebugContext getDebug();
descriptor: ()Lorg/graalvm/compiler/debug/DebugContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.debug:Lorg/graalvm/compiler/debug/DebugContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/CloseableCounter;
protected void interceptDifferenceAccm(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/CloseableCounter;
0 1 1 difference J
MethodParameters:
Name Flags
difference
protected void interceptDifferenceFlat(long);
descriptor: (J)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=3, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/debug/CloseableCounter;
0 1 1 difference J
MethodParameters:
Name Flags
difference
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.compiler.debug.CloseableCounter.getCounterValue:()J
lstore 1
start local 1 1: lload 1
aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.start:J
lsub
lstore 3
start local 3 2: aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.parent:Lorg/graalvm/compiler/debug/CloseableCounter;
ifnull 12
3: aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.counter:Lorg/graalvm/compiler/debug/AccumulatedKey;
invokevirtual org.graalvm.compiler.debug.AccumulatedKey.getName:()Ljava/lang/String;
aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.parent:Lorg/graalvm/compiler/debug/CloseableCounter;
getfield org.graalvm.compiler.debug.CloseableCounter.counter:Lorg/graalvm/compiler/debug/AccumulatedKey;
invokevirtual org.graalvm.compiler.debug.AccumulatedKey.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
4: aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.parent:Lorg/graalvm/compiler/debug/CloseableCounter;
dup
getfield org.graalvm.compiler.debug.CloseableCounter.nestedAmountToSubtract:J
lload 3
ladd
putfield org.graalvm.compiler.debug.CloseableCounter.nestedAmountToSubtract:J
5: aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.parent:Lorg/graalvm/compiler/debug/CloseableCounter;
getfield org.graalvm.compiler.debug.CloseableCounter.parent:Lorg/graalvm/compiler/debug/CloseableCounter;
astore 5
start local 5 6: goto 11
7: StackMap locals: long long org.graalvm.compiler.debug.CloseableCounter
StackMap stack:
aload 5
getfield org.graalvm.compiler.debug.CloseableCounter.counter:Lorg/graalvm/compiler/debug/AccumulatedKey;
invokevirtual org.graalvm.compiler.debug.AccumulatedKey.getName:()Ljava/lang/String;
aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.counter:Lorg/graalvm/compiler/debug/AccumulatedKey;
invokevirtual org.graalvm.compiler.debug.AccumulatedKey.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
8: aload 5
dup
getfield org.graalvm.compiler.debug.CloseableCounter.nestedAmountToSubtract:J
lload 3
lsub
putfield org.graalvm.compiler.debug.CloseableCounter.nestedAmountToSubtract:J
9: goto 12
10: StackMap locals:
StackMap stack:
aload 5
getfield org.graalvm.compiler.debug.CloseableCounter.parent:Lorg/graalvm/compiler/debug/CloseableCounter;
astore 5
11: StackMap locals:
StackMap stack:
aload 5
ifnonnull 7
end local 5 12: StackMap locals:
StackMap stack:
lload 3
aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.nestedAmountToSubtract:J
lsub
lstore 5
start local 5 13: aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.counter:Lorg/graalvm/compiler/debug/AccumulatedKey;
aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.debug:Lorg/graalvm/compiler/debug/DebugContext;
lload 3
invokevirtual org.graalvm.compiler.debug.AccumulatedKey.addToCurrentValue:(Lorg/graalvm/compiler/debug/DebugContext;J)V
14: aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.counter:Lorg/graalvm/compiler/debug/AccumulatedKey;
getfield org.graalvm.compiler.debug.AccumulatedKey.flat:Lorg/graalvm/compiler/debug/AbstractKey;
aload 0
getfield org.graalvm.compiler.debug.CloseableCounter.debug:Lorg/graalvm/compiler/debug/DebugContext;
lload 5
invokevirtual org.graalvm.compiler.debug.AbstractKey.addToCurrentValue:(Lorg/graalvm/compiler/debug/DebugContext;J)V
15: aload 0
lload 3
invokevirtual org.graalvm.compiler.debug.CloseableCounter.interceptDifferenceAccm:(J)V
16: aload 0
lload 5
invokevirtual org.graalvm.compiler.debug.CloseableCounter.interceptDifferenceFlat:(J)V
17: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/graalvm/compiler/debug/CloseableCounter;
1 18 1 end J
2 18 3 difference J
6 12 5 ancestor Lorg/graalvm/compiler/debug/CloseableCounter;
13 18 5 flatAmount J
abstract long getCounterValue();
descriptor: ()J
flags: (0x0400) ACC_ABSTRACT
}
SourceFile: "CloseableCounter.java"