public final class sun.java2d.marlin.stats.Monitor extends sun.java2d.marlin.stats.StatLong
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.java2d.marlin.stats.Monitor
super_class: sun.java2d.marlin.stats.StatLong
{
private static final long INVALID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1
private long start;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.java2d.marlin.stats.StatLong.<init>:(Ljava/lang/String;)V
1: aload 0
ldc -1
putfield sun.java2d.marlin.stats.Monitor.start:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/marlin/stats/Monitor;
0 3 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public void start();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.System.nanoTime:()J
putfield sun.java2d.marlin.stats.Monitor.start:J
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/marlin/stats/Monitor;
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: invokestatic java.lang.System.nanoTime:()J
aload 0
getfield sun.java2d.marlin.stats.Monitor.start:J
lsub
lstore 1
start local 1 1: aload 0
getfield sun.java2d.marlin.stats.Monitor.start:J
ldc -1
lcmp
ifeq 3
lload 1
lconst_0
lcmp
ifle 3
2: aload 0
lload 1
invokevirtual sun.java2d.marlin.stats.Monitor.add:(J)V
3: StackMap locals: long
StackMap stack:
aload 0
ldc -1
putfield sun.java2d.marlin.stats.Monitor.start:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/marlin/stats/Monitor;
1 5 1 elapsed J
}
SourceFile: "Monitor.java"