public final class jdk.jfr.consumer.RecordedEvent extends jdk.jfr.consumer.RecordedObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.consumer.RecordedEvent
super_class: jdk.jfr.consumer.RecordedObject
{
long startTimeTicks;
descriptor: J
flags: (0x0000)
long endTimeTicks;
descriptor: J
flags: (0x0000)
void <init>(jdk.jfr.internal.consumer.ObjectContext, java.lang.Object[], long, long);
descriptor: (Ljdk/jfr/internal/consumer/ObjectContext;[Ljava/lang/Object;JJ)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
aload 1
aload 2
invokespecial jdk.jfr.consumer.RecordedObject.<init>:(Ljdk/jfr/internal/consumer/ObjectContext;[Ljava/lang/Object;)V
1: aload 0
lload 3
putfield jdk.jfr.consumer.RecordedEvent.startTimeTicks:J
2: aload 0
lload 5
putfield jdk.jfr.consumer.RecordedEvent.endTimeTicks:J
3: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jfr/consumer/RecordedEvent;
0 4 1 objectContext Ljdk/jfr/internal/consumer/ObjectContext;
0 4 2 values [Ljava/lang/Object;
0 4 3 startTimeTicks J
0 4 5 endTimeTicks J
MethodParameters:
Name Flags
objectContext
values
startTimeTicks
endTimeTicks
public jdk.jfr.consumer.RecordedStackTrace getStackTrace();
descriptor: ()Ljdk/jfr/consumer/RecordedStackTrace;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "stackTrace"
ldc Ljdk/jfr/consumer/RecordedStackTrace;
aconst_null
invokevirtual jdk.jfr.consumer.RecordedEvent.getTyped:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.consumer.RecordedStackTrace
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
public jdk.jfr.consumer.RecordedThread getThread();
descriptor: ()Ljdk/jfr/consumer/RecordedThread;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ldc "eventThread"
ldc Ljdk/jfr/consumer/RecordedThread;
aconst_null
invokevirtual jdk.jfr.consumer.RecordedEvent.getTyped:(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.jfr.consumer.RecordedThread
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
public jdk.jfr.EventType getEventType();
descriptor: ()Ljdk/jfr/EventType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordedEvent.objectContext:Ljdk/jfr/internal/consumer/ObjectContext;
getfield jdk.jfr.internal.consumer.ObjectContext.eventType:Ljdk/jfr/EventType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
public java.time.Instant getStartTime();
descriptor: ()Ljava/time/Instant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: lconst_0
aload 0
invokevirtual jdk.jfr.consumer.RecordedEvent.getStartTimeNanos:()J
invokestatic java.time.Instant.ofEpochSecond:(JJ)Ljava/time/Instant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
public java.time.Instant getEndTime();
descriptor: ()Ljava/time/Instant;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: lconst_0
aload 0
invokevirtual jdk.jfr.consumer.RecordedEvent.getEndTimeNanos:()J
invokestatic java.time.Instant.ofEpochSecond:(JJ)Ljava/time/Instant;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
public java.time.Duration getDuration();
descriptor: ()Ljava/time/Duration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jfr.consumer.RecordedEvent.getEndTimeNanos:()J
aload 0
invokevirtual jdk.jfr.consumer.RecordedEvent.getStartTimeNanos:()J
lsub
invokestatic java.time.Duration.ofNanos:(J)Ljava/time/Duration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
public java.util.List<jdk.jfr.ValueDescriptor> getFields();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordedEvent.objectContext:Ljdk/jfr/internal/consumer/ObjectContext;
getfield jdk.jfr.internal.consumer.ObjectContext.fields:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
Signature: ()Ljava/util/List<Ljdk/jfr/ValueDescriptor;>;
final java.lang.Object objectAt(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: aload 0
getfield jdk.jfr.consumer.RecordedEvent.startTimeTicks:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual jdk.jfr.consumer.RecordedEvent.hasDuration:()Z
ifeq 6
3: iload 1
iconst_1
if_icmpne 5
4: aload 0
getfield jdk.jfr.consumer.RecordedEvent.endTimeTicks:J
aload 0
getfield jdk.jfr.consumer.RecordedEvent.startTimeTicks:J
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.RecordedEvent.objects:[Ljava/lang/Object;
iload 1
iconst_2
isub
aaload
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jfr.consumer.RecordedEvent.objects:[Ljava/lang/Object;
iload 1
iconst_1
isub
aaload
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/jfr/consumer/RecordedEvent;
0 7 1 index I
MethodParameters:
Name Flags
index
private boolean hasDuration();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordedEvent.objects:[Ljava/lang/Object;
arraylength
iconst_2
iadd
aload 0
getfield jdk.jfr.consumer.RecordedEvent.objectContext:Ljdk/jfr/internal/consumer/ObjectContext;
getfield jdk.jfr.internal.consumer.ObjectContext.fields:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jfr/consumer/RecordedEvent;
private long getStartTimeNanos();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordedEvent.objectContext:Ljdk/jfr/internal/consumer/ObjectContext;
aload 0
getfield jdk.jfr.consumer.RecordedEvent.startTimeTicks:J
invokevirtual jdk.jfr.internal.consumer.ObjectContext.convertTimestamp:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
private long getEndTimeNanos();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.consumer.RecordedEvent.objectContext:Ljdk/jfr/internal/consumer/ObjectContext;
aload 0
getfield jdk.jfr.consumer.RecordedEvent.endTimeTicks:J
invokevirtual jdk.jfr.internal.consumer.ObjectContext.convertTimestamp:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/consumer/RecordedEvent;
}
SourceFile: "RecordedEvent.java"