class jdk.internal.module.ModuleBootstrap$Counters
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.module.ModuleBootstrap$Counters
super_class: java.lang.Object
{
private static final boolean PUBLISH_COUNTERS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean PRINT_COUNTERS;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.util.Map<java.lang.String, java.lang.Long> counters;
descriptor: Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Long;>;
private static long startTime;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long previousTime;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "jdk.module.boot.usePerfData"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 1: aload 0
ifnonnull 5
2: iconst_0
putstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
3: iconst_0
putstatic jdk.internal.module.ModuleBootstrap$Counters.PRINT_COUNTERS:Z
4: goto 8
5: StackMap locals: java.lang.String
StackMap stack:
iconst_1
putstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
6: aload 0
ldc "debug"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
putstatic jdk.internal.module.ModuleBootstrap$Counters.PRINT_COUNTERS:Z
7: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putstatic jdk.internal.module.ModuleBootstrap$Counters.counters:Ljava/util/Map;
end local 0 8: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
1 8 0 s Ljava/lang/String;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModuleBootstrap$Counters;
static void start();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: getstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
ifeq 2
1: invokestatic java.lang.System.nanoTime:()J
dup2
putstatic jdk.internal.module.ModuleBootstrap$Counters.previousTime:J
putstatic jdk.internal.module.ModuleBootstrap$Counters.startTime:J
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
static void add(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: getstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
ifeq 5
1: invokestatic java.lang.System.nanoTime:()J
lstore 1
start local 1 2: lload 1
getstatic jdk.internal.module.ModuleBootstrap$Counters.previousTime:J
lsub
lstore 3
start local 3 3: lload 1
putstatic jdk.internal.module.ModuleBootstrap$Counters.previousTime:J
4: getstatic jdk.internal.module.ModuleBootstrap$Counters.counters:Ljava/util/Map;
aload 0
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 1 5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
2 5 1 current J
3 5 3 elapsed J
MethodParameters:
Name Flags
name
static void publish(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: getstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
ifeq 14
1: invokestatic java.lang.System.nanoTime:()J
lstore 1
start local 1 2: getstatic jdk.internal.module.ModuleBootstrap$Counters.counters:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: java.lang.String long top java.util.Iterator
StackMap stack:
3: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 4: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 5: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 6
start local 6 6: aload 5
invokestatic jdk.internal.perf.PerfCounter.newPerfCounter:(Ljava/lang/String;)Ljdk/internal/perf/PerfCounter;
lload 6
invokevirtual jdk.internal.perf.PerfCounter.set:(J)V
7: getstatic jdk.internal.module.ModuleBootstrap$Counters.PRINT_COUNTERS:Z
ifeq 9
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 6
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 6 end local 5 end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
10: lload 1
getstatic jdk.internal.module.ModuleBootstrap$Counters.startTime:J
lsub
lstore 3
start local 3 11: aload 0
invokestatic jdk.internal.perf.PerfCounter.newPerfCounter:(Ljava/lang/String;)Ljdk/internal/perf/PerfCounter;
lload 3
invokevirtual jdk.internal.perf.PerfCounter.set:(J)V
12: getstatic jdk.internal.module.ModuleBootstrap$Counters.PRINT_COUNTERS:Z
ifeq 14
13: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 3
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 3 end local 1 14: StackMap locals: java.lang.String
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 totalTimeName Ljava/lang/String;
2 14 1 currentTime J
4 9 3 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Long;>;
5 9 5 name Ljava/lang/String;
6 9 6 value J
11 14 3 elapsedTotal J
MethodParameters:
Name Flags
totalTimeName
}
SourceFile: "ModuleBootstrap.java"
NestHost: jdk.internal.module.ModuleBootstrap
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
Counters = jdk.internal.module.ModuleBootstrap$Counters of jdk.internal.module.ModuleBootstrap