final class org.jruby.runtime.load.LoadService$TracingLoadTimer extends org.jruby.runtime.load.LoadService$LoadTimer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.jruby.runtime.load.LoadService$TracingLoadTimer
super_class: org.jruby.runtime.load.LoadService$LoadTimer
{
private final java.util.concurrent.atomic.AtomicInteger indent;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.runtime.load.LoadService$LoadTimer.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putfield org.jruby.runtime.load.LoadService$TracingLoadTimer.indent:Ljava/util/concurrent/atomic/AtomicInteger;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService$TracingLoadTimer;
private java.lang.StringBuilder getIndentString();
descriptor: ()Ljava/lang/StringBuilder;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.load.LoadService$TracingLoadTimer.indent:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
istore 1
start local 1 1: new java.lang.StringBuilder
dup
iload 1
iconst_2
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int java.lang.StringBuilder int
StackMap stack:
aload 2
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/load/LoadService$TracingLoadTimer;
1 8 1 i I
2 8 2 buf Ljava/lang/StringBuilder;
3 7 3 j I
public long startLoad(java.lang.String);
descriptor: (Ljava/lang/String;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LoadService$TracingLoadTimer.indent:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
pop
1: getstatic org.jruby.runtime.load.LoadService.LOG:Lorg/jruby/util/log/Logger;
ldc "{}-> {}"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.jruby.runtime.load.LoadService$TracingLoadTimer.getIndentString:()Ljava/lang/StringBuilder;
aastore
dup
iconst_1
aload 1
aastore
invokeinterface org.jruby.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
2: invokestatic java.lang.System.currentTimeMillis:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService$TracingLoadTimer;
0 3 1 file Ljava/lang/String;
MethodParameters:
Name Flags
file
public void endLoad(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.jruby.runtime.load.LoadService.LOG:Lorg/jruby/util/log/Logger;
ldc "{}<- {} - {}ms"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.jruby.runtime.load.LoadService$TracingLoadTimer.getIndentString:()Ljava/lang/StringBuilder;
aastore
dup
iconst_1
aload 1
aastore
dup
iconst_2
invokestatic java.lang.System.currentTimeMillis:()J
lload 2
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokeinterface org.jruby.util.log.Logger.info:(Ljava/lang/String;[Ljava/lang/Object;)V
1: aload 0
getfield org.jruby.runtime.load.LoadService$TracingLoadTimer.indent:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/load/LoadService$TracingLoadTimer;
0 3 1 file Ljava/lang/String;
0 3 2 startTime J
MethodParameters:
Name Flags
file
startTime
}
SourceFile: "LoadService.java"
NestHost: org.jruby.runtime.load.LoadService
InnerClasses:
private LoadTimer = org.jruby.runtime.load.LoadService$LoadTimer of org.jruby.runtime.load.LoadService
private final TracingLoadTimer = org.jruby.runtime.load.LoadService$TracingLoadTimer of org.jruby.runtime.load.LoadService