final class sun.java2d.marlin.RendererStats$RendererStatsHolder
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.java2d.marlin.RendererStats$RendererStatsHolder
super_class: java.lang.Object
{
private static volatile sun.java2d.marlin.RendererStats$RendererStatsHolder SINGLETON;
descriptor: Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
private final java.util.concurrent.ConcurrentLinkedQueue<sun.java2d.marlin.RendererStats> allStats;
descriptor: Ljava/util/concurrent/ConcurrentLinkedQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentLinkedQueue<Lsun/java2d/marlin/RendererStats;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic sun.java2d.marlin.RendererStats$RendererStatsHolder.SINGLETON:Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
return
LocalVariableTable:
Start End Slot Name Signature
static synchronized sun.java2d.marlin.RendererStats$RendererStatsHolder getInstance();
descriptor: ()Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=0, args_size=0
0: getstatic sun.java2d.marlin.RendererStats$RendererStatsHolder.SINGLETON:Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
ifnonnull 2
1: new sun.java2d.marlin.RendererStats$RendererStatsHolder
dup
invokespecial sun.java2d.marlin.RendererStats$RendererStatsHolder.<init>:()V
putstatic sun.java2d.marlin.RendererStats$RendererStatsHolder.SINGLETON:Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
2: StackMap locals:
StackMap stack:
getstatic sun.java2d.marlin.RendererStats$RendererStatsHolder.SINGLETON:Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
areturn
LocalVariableTable:
Start End Slot Name Signature
static void dumpStats();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.java2d.marlin.RendererStats$RendererStatsHolder.SINGLETON:Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
ifnull 2
1: getstatic sun.java2d.marlin.RendererStats$RendererStatsHolder.SINGLETON:Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
invokevirtual sun.java2d.marlin.RendererStats$RendererStatsHolder.dump:()V
2: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
2: new java.util.concurrent.ConcurrentLinkedQueue
dup
invokespecial java.util.concurrent.ConcurrentLinkedQueue.<init>:()V
putfield sun.java2d.marlin.RendererStats$RendererStatsHolder.allStats:Ljava/util/concurrent/ConcurrentLinkedQueue;
3: aload 0
invokedynamic run(Lsun/java2d/marlin/RendererStats$RendererStatsHolder;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
sun/java2d/marlin/RendererStats$RendererStatsHolder.lambda$0()Ljava/lang/Void; (7)
()Ljava/lang/Void;
4: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
void add(java.lang.Object, sun.java2d.marlin.RendererStats);
descriptor: (Ljava/lang/Object;Lsun/java2d/marlin/RendererStats;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.java2d.marlin.RendererStats$RendererStatsHolder.allStats:Ljava/util/concurrent/ConcurrentLinkedQueue;
aload 2
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.add:(Ljava/lang/Object;)Z
pop
1: invokestatic jdk.internal.ref.CleanerFactory.cleaner:()Ljava/lang/ref/Cleaner;
aload 1
aload 0
aload 2
invokedynamic run(Lsun/java2d/marlin/RendererStats$RendererStatsHolder;Lsun/java2d/marlin/RendererStats;)Ljava/lang/Runnable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()V
sun/java2d/marlin/RendererStats$RendererStatsHolder.lambda$1(Lsun/java2d/marlin/RendererStats;)V (7)
()V
invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
0 3 1 parent Ljava/lang/Object;
0 3 2 stats Lsun/java2d/marlin/RendererStats;
MethodParameters:
Name Flags
parent final
stats final
void remove(sun.java2d.marlin.RendererStats);
descriptor: (Lsun/java2d/marlin/RendererStats;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.java2d.marlin.RendererStats.dump:()V
1: aload 0
getfield sun.java2d.marlin.RendererStats$RendererStatsHolder.allStats:Ljava/util/concurrent/ConcurrentLinkedQueue;
aload 1
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.remove:(Ljava/lang/Object;)Z
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
0 3 1 stats Lsun/java2d/marlin/RendererStats;
MethodParameters:
Name Flags
stats final
void dump();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.java2d.marlin.RendererStats$RendererStatsHolder.allStats:Ljava/util/concurrent/ConcurrentLinkedQueue;
invokevirtual java.util.concurrent.ConcurrentLinkedQueue.iterator:()Ljava/util/Iterator;
astore 2
goto 3
StackMap locals: sun.java2d.marlin.RendererStats$RendererStatsHolder top java.util.Iterator
StackMap stack:
1: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.java2d.marlin.RendererStats
astore 1
start local 1 2: aload 1
invokevirtual sun.java2d.marlin.RendererStats.dump:()V
end local 1 3: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
2 3 1 stats Lsun/java2d/marlin/RendererStats;
private java.lang.Void lambda$0();
descriptor: ()Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new java.lang.Thread
dup
1: invokestatic sun.java2d.marlin.MarlinUtils.getRootThreadGroup:()Ljava/lang/ThreadGroup;
2: new sun.java2d.marlin.RendererStats$RendererStatsHolder$1
dup
aload 0
invokespecial sun.java2d.marlin.RendererStats$RendererStatsHolder$1.<init>:(Lsun/java2d/marlin/RendererStats$RendererStatsHolder;)V
3: ldc "MarlinStatsHook"
4: invokespecial java.lang.Thread.<init>:(Ljava/lang/ThreadGroup;Ljava/lang/Runnable;Ljava/lang/String;)V
astore 1
start local 1 5: aload 1
aconst_null
invokevirtual java.lang.Thread.setContextClassLoader:(Ljava/lang/ClassLoader;)V
6: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
aload 1
invokevirtual java.lang.Runtime.addShutdownHook:(Ljava/lang/Thread;)V
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
5 8 1 hook Ljava/lang/Thread;
private void lambda$1(sun.java2d.marlin.RendererStats);
descriptor: (Lsun/java2d/marlin/RendererStats;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
invokevirtual sun.java2d.marlin.RendererStats$RendererStatsHolder.remove:(Lsun/java2d/marlin/RendererStats;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/marlin/RendererStats$RendererStatsHolder;
}
SourceFile: "RendererStats.java"
NestHost: sun.java2d.marlin.RendererStats
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner
final RendererStatsHolder = sun.java2d.marlin.RendererStats$RendererStatsHolder of sun.java2d.marlin.RendererStats
sun.java2d.marlin.RendererStats$RendererStatsHolder$1