public final class jdk.jfr.internal.instrument.ThrowableTracer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.instrument.ThrowableTracer
super_class: java.lang.Object
{
private static java.util.concurrent.atomic.AtomicLong numThrowables;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.util.concurrent.atomic.AtomicLong
dup
lconst_0
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:(J)V
putstatic jdk.jfr.internal.instrument.ThrowableTracer.numThrowables:Ljava/util/concurrent/atomic/AtomicLong;
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 Ljdk/jfr/internal/instrument/ThrowableTracer;
public static void traceError(java.lang.Error, java.lang.String);
descriptor: (Ljava/lang/Error;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.lang.OutOfMemoryError
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
new jdk.jfr.events.ErrorThrownEvent
dup
invokespecial jdk.jfr.events.ErrorThrownEvent.<init>:()V
astore 2
start local 2 3: aload 2
aload 1
putfield jdk.jfr.events.ErrorThrownEvent.message:Ljava/lang/String;
4: aload 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield jdk.jfr.events.ErrorThrownEvent.thrownClass:Ljava/lang/Class;
5: aload 2
invokevirtual jdk.jfr.events.ErrorThrownEvent.commit:()V
6: new jdk.jfr.events.ExceptionThrownEvent
dup
invokespecial jdk.jfr.events.ExceptionThrownEvent.<init>:()V
astore 3
start local 3 7: aload 3
aload 1
putfield jdk.jfr.events.ExceptionThrownEvent.message:Ljava/lang/String;
8: aload 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield jdk.jfr.events.ExceptionThrownEvent.thrownClass:Ljava/lang/Class;
9: aload 3
invokevirtual jdk.jfr.events.ExceptionThrownEvent.commit:()V
10: getstatic jdk.jfr.internal.instrument.ThrowableTracer.numThrowables:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 e Ljava/lang/Error;
0 12 1 message Ljava/lang/String;
3 12 2 errorEvent Ljdk/jfr/events/ErrorThrownEvent;
7 12 3 exceptionEvent Ljdk/jfr/events/ExceptionThrownEvent;
MethodParameters:
Name Flags
e
message
public static void traceThrowable(java.lang.Throwable, java.lang.String);
descriptor: (Ljava/lang/Throwable;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new jdk.jfr.events.ExceptionThrownEvent
dup
invokespecial jdk.jfr.events.ExceptionThrownEvent.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
putfield jdk.jfr.events.ExceptionThrownEvent.message:Ljava/lang/String;
2: aload 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putfield jdk.jfr.events.ExceptionThrownEvent.thrownClass:Ljava/lang/Class;
3: aload 2
invokevirtual jdk.jfr.events.ExceptionThrownEvent.commit:()V
4: getstatic jdk.jfr.internal.instrument.ThrowableTracer.numThrowables:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.incrementAndGet:()J
pop2
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 t Ljava/lang/Throwable;
0 6 1 message Ljava/lang/String;
1 6 2 event Ljdk/jfr/events/ExceptionThrownEvent;
MethodParameters:
Name Flags
t
message
public static long numThrowables();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic jdk.jfr.internal.instrument.ThrowableTracer.numThrowables:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ThrowableTracer.java"