final class jdk.jfr.internal.consumer.TimeConverter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jfr.internal.consumer.TimeConverter
super_class: java.lang.Object
{
private final long startTicks;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long startNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double divisor;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.time.ZoneOffset zoneOffset;
descriptor: Ljava/time/ZoneOffset;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void (jdk.jfr.internal.consumer.ChunkHeader, int);
descriptor: (Ljdk/jfr/internal/consumer/ChunkHeader;I)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getStartTicks:()J
putfield jdk.jfr.internal.consumer.TimeConverter.startTicks:J
2: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getStartNanos:()J
putfield jdk.jfr.internal.consumer.TimeConverter.startNanos:J
3: aload 0
aload 1
invokevirtual jdk.jfr.internal.consumer.ChunkHeader.getTicksPerSecond:()D
ldc 1.0E9
ddiv
putfield jdk.jfr.internal.consumer.TimeConverter.divisor:D
4: aload 0
aload 0
iload 2
invokevirtual jdk.jfr.internal.consumer.TimeConverter.zoneOfSet:(I)Ljava/time/ZoneOffset;
putfield jdk.jfr.internal.consumer.TimeConverter.zoneOffset:Ljava/time/ZoneOffset;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jfr/internal/consumer/TimeConverter;
0 6 1 chunkHeader Ljdk/jfr/internal/consumer/ChunkHeader;
0 6 2 rawOffset I
MethodParameters:
Name Flags
chunkHeader
rawOffset
public long convertTimestamp(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.jfr.internal.consumer.TimeConverter.startNanos:J
lload 1
aload 0
getfield jdk.jfr.internal.consumer.TimeConverter.startTicks:J
lsub
l2d
aload 0
getfield jdk.jfr.internal.consumer.TimeConverter.divisor:D
ddiv
d2l
ladd
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/TimeConverter;
0 1 1 ticks J
MethodParameters:
Name Flags
ticks
public long convertTimespan(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
l2d
aload 0
getfield jdk.jfr.internal.consumer.TimeConverter.divisor:D
ddiv
d2l
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/TimeConverter;
0 1 1 ticks J
MethodParameters:
Name Flags
ticks
public java.time.ZoneOffset getZoneOffset();
descriptor: ()Ljava/time/ZoneOffset;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jfr.internal.consumer.TimeConverter.zoneOffset:Ljava/time/ZoneOffset;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jfr/internal/consumer/TimeConverter;
private java.time.ZoneOffset zoneOfSet(int);
descriptor: (I)Ljava/time/ZoneOffset;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
sipush 1000
idiv
invokestatic java.time.ZoneOffset.ofTotalSeconds:(I)Ljava/time/ZoneOffset;
1: areturn
2: StackMap locals:
StackMap stack: java.time.DateTimeException
pop
3: getstatic jdk.jfr.internal.LogTag.JFR_SYSTEM_PARSER:Ljdk/jfr/internal/LogTag;
getstatic jdk.jfr.internal.LogLevel.INFO:Ljdk/jfr/internal/LogLevel;
new java.lang.StringBuilder
dup
ldc "Could not create ZoneOffset from raw offset "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.jfr.internal.Logger.log:(Ljdk/jfr/internal/LogTag;Ljdk/jfr/internal/LogLevel;Ljava/lang/String;)V
4: getstatic java.time.ZoneOffset.UTC:Ljava/time/ZoneOffset;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/jfr/internal/consumer/TimeConverter;
0 5 1 rawOffset I
Exception table:
from to target type
0 1 2 Class java.time.DateTimeException
MethodParameters:
Name Flags
rawOffset
}
SourceFile: "TimeConverter.java"