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;>;
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 add(java.lang.String, long);
descriptor: (Ljava/lang/String;J)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
ifne 1
getstatic jdk.internal.module.ModuleBootstrap$Counters.PRINT_COUNTERS:Z
ifeq 2
1: StackMap locals:
StackMap stack:
getstatic jdk.internal.module.ModuleBootstrap$Counters.counters:Ljava/util/Map;
aload 0
invokestatic java.lang.System.nanoTime:()J
lload 1
lsub
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 name Ljava/lang/String;
0 3 1 start J
MethodParameters:
Name Flags
name
start
static void publish();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=0
0: getstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
ifne 1
getstatic jdk.internal.module.ModuleBootstrap$Counters.PRINT_COUNTERS:Z
ifeq 10
1: StackMap locals:
StackMap stack:
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 1
goto 9
StackMap locals: top java.util.Iterator
StackMap stack:
2: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 0
start local 0 3: aload 0
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 4: aload 0
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 3
start local 3 5: getstatic jdk.internal.module.ModuleBootstrap$Counters.PUBLISH_COUNTERS:Z
ifeq 7
6: aload 2
invokestatic jdk.internal.perf.PerfCounter.newPerfCounter:(Ljava/lang/String;)Ljdk/internal/perf/PerfCounter;
lload 3
invokevirtual jdk.internal.perf.PerfCounter.set:(J)V
7: StackMap locals: java.util.Map$Entry java.util.Iterator java.lang.String long
StackMap stack:
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 2
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 2 end local 0 9: StackMap locals: top java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
10: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
3 9 0 e Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/Long;>;
4 9 2 name Ljava/lang/String;
5 9 3 value J
}
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