class com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable implements java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable
super_class: java.lang.Object
{
private final java.lang.Runnable command;
descriptor: Ljava/lang/Runnable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long periodInNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.codahale.metrics.InstrumentedScheduledExecutorService this$0;
descriptor: Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.codahale.metrics.InstrumentedScheduledExecutorService, java.lang.Runnable, long, java.util.concurrent.TimeUnit);
descriptor: (Lcom/codahale/metrics/InstrumentedScheduledExecutorService;Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=5
start local 0 start local 2 start local 3 start local 5 0: aload 0
aload 1
putfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.command:Ljava/lang/Runnable;
2: aload 0
aload 5
lload 3
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
putfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.periodInNanos:J
3: return
end local 5 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/codahale/metrics/InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable;
0 4 2 command Ljava/lang/Runnable;
0 4 3 period J
0 4 5 unit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
this$0 final
command
period
unit
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.running:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.inc:()V
1: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.duration:Lcom/codahale/metrics/Timer;
invokevirtual com.codahale.metrics.Timer.time:()Lcom/codahale/metrics/Timer$Context;
astore 1
start local 1 2: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.command:Ljava/lang/Runnable;
invokeinterface java.lang.Runnable.run:()V
3: goto 12
StackMap locals: com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable com.codahale.metrics.Timer$Context
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 1
invokevirtual com.codahale.metrics.Timer$Context.stop:()J
lstore 3
start local 3 6: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.running:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.dec:()V
7: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.completed:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
8: lload 3
aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.periodInNanos:J
lcmp
ifle 10
9: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.scheduledOverrun:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.inc:()V
10: StackMap locals: java.lang.Throwable long
StackMap stack:
aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.percentOfPeriod:Lcom/codahale/metrics/Histogram;
ldc 100
lload 3
lmul
aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.periodInNanos:J
ldiv
invokevirtual com.codahale.metrics.Histogram.update:(J)V
end local 3 11: aload 2
athrow
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.codahale.metrics.Timer$Context.stop:()J
lstore 3
start local 3 13: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.running:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.dec:()V
14: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.completed:Lcom/codahale/metrics/Meter;
invokevirtual com.codahale.metrics.Meter.mark:()V
15: lload 3
aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.periodInNanos:J
lcmp
ifle 17
16: aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.scheduledOverrun:Lcom/codahale/metrics/Counter;
invokevirtual com.codahale.metrics.Counter.inc:()V
17: StackMap locals: com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable com.codahale.metrics.Timer$Context top long
StackMap stack:
aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.this$0:Lcom/codahale/metrics/InstrumentedScheduledExecutorService;
getfield com.codahale.metrics.InstrumentedScheduledExecutorService.percentOfPeriod:Lcom/codahale/metrics/Histogram;
ldc 100
lload 3
lmul
aload 0
getfield com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable.periodInNanos:J
ldiv
invokevirtual com.codahale.metrics.Histogram.update:(J)V
end local 3 18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/codahale/metrics/InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable;
2 19 1 context Lcom/codahale/metrics/Timer$Context;
6 11 3 elapsed J
13 18 3 elapsed J
Exception table:
from to target type
2 4 4 any
}
SourceFile: "InstrumentedScheduledExecutorService.java"
NestHost: com.codahale.metrics.InstrumentedScheduledExecutorService
InnerClasses:
private InstrumentedPeriodicRunnable = com.codahale.metrics.InstrumentedScheduledExecutorService$InstrumentedPeriodicRunnable of com.codahale.metrics.InstrumentedScheduledExecutorService
public Context = com.codahale.metrics.Timer$Context of com.codahale.metrics.Timer