public final class org.graalvm.compiler.hotspot.WeakClassLoaderSet
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.WeakClassLoaderSet
super_class: java.lang.Object
{
private volatile java.util.concurrent.atomic.AtomicReference<jdk.internal.vm.compiler.collections.EconomicSet<java.lang.ref.Reference<java.lang.ClassLoader>>> loaders;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/concurrent/atomic/AtomicReference<Ljdk/internal/vm/compiler/collections/EconomicSet<Ljava/lang/ref/Reference<Ljava/lang/ClassLoader;>;>;>;
public void <init>(java.lang.ClassLoader[]);
descriptor: ([Ljava/lang/ClassLoader;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
getstatic org.graalvm.compiler.hotspot.WeakClassLoaderSet$RefEquivalence.INSTANCE:Ljdk/internal/vm/compiler/collections/Equivalence;
invokestatic jdk.internal.vm.compiler.collections.EconomicSet.create:(Ljdk/internal/vm/compiler/collections/Equivalence;)Ljdk/internal/vm/compiler/collections/EconomicSet;
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:(Ljava/lang/Object;)V
putfield org.graalvm.compiler.hotspot.WeakClassLoaderSet.loaders:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.graalvm.compiler.hotspot.WeakClassLoaderSet java.lang.ClassLoader[] top int int java.lang.ClassLoader[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 0
getfield org.graalvm.compiler.hotspot.WeakClassLoaderSet.loaders:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.collections.EconomicSet
new java.lang.ref.WeakReference
dup
aload 2
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.add:(Ljava/lang/Object;)Z
pop
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/graalvm/compiler/hotspot/WeakClassLoaderSet;
0 8 1 initialEntries [Ljava/lang/ClassLoader;
4 5 2 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
initialEntries
public void add(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
astore 2
start local 2 1: aload 0
getfield org.graalvm.compiler.hotspot.WeakClassLoaderSet.loaders:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.collections.EconomicSet
astore 3
start local 3 2: aload 3
aload 2
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.contains:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
getfield org.graalvm.compiler.hotspot.WeakClassLoaderSet.loaders:Ljava/util/concurrent/atomic/AtomicReference;
new org.graalvm.compiler.hotspot.WeakClassLoaderSet$1
dup
aload 0
aload 2
invokespecial org.graalvm.compiler.hotspot.WeakClassLoaderSet$1.<init>:(Lorg/graalvm/compiler/hotspot/WeakClassLoaderSet;Ljava/lang/ref/Reference;)V
invokevirtual java.util.concurrent.atomic.AtomicReference.getAndUpdate:(Ljava/util/function/UnaryOperator;)Ljava/lang/Object;
pop
4: StackMap locals: java.lang.ref.Reference jdk.internal.vm.compiler.collections.EconomicSet
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/compiler/hotspot/WeakClassLoaderSet;
0 5 1 loader Ljava/lang/ClassLoader;
1 5 2 addNewRef Ljava/lang/ref/Reference<Ljava/lang/ClassLoader;>;
2 5 3 currentLoaders Ljdk/internal/vm/compiler/collections/EconomicSet<Ljava/lang/ref/Reference<Ljava/lang/ClassLoader;>;>;
MethodParameters:
Name Flags
loader
public jdk.internal.vm.compiler.collections.EconomicSet<java.lang.Class<?>> resolve(java.lang.String, jdk.internal.vm.compiler.collections.EconomicSet<java.lang.ClassNotFoundException>);
descriptor: (Ljava/lang/String;Ljdk/internal/vm/compiler/collections/EconomicSet;)Ljdk/internal/vm/compiler/collections/EconomicSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: invokestatic jdk.internal.vm.compiler.collections.EconomicSet.create:()Ljdk/internal/vm/compiler/collections/EconomicSet;
astore 3
start local 3 1: aload 0
getfield org.graalvm.compiler.hotspot.WeakClassLoaderSet.loaders:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast jdk.internal.vm.compiler.collections.EconomicSet
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.iterator:()Ljava/util/Iterator;
astore 4
start local 4 2: goto 13
3: StackMap locals: jdk.internal.vm.compiler.collections.EconomicSet java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.Reference
astore 5
start local 5 4: aload 5
invokevirtual java.lang.ref.Reference.get:()Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 6
start local 6 5: aload 6
ifnonnull 8
6: aload 4
invokeinterface java.util.Iterator.remove:()V
7: goto 13
8: StackMap locals: java.lang.ref.Reference java.lang.ClassLoader
StackMap stack:
aload 1
iconst_0
aload 6
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
astore 7
start local 7 9: aload 3
aload 7
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.add:(Ljava/lang/Object;)Z
pop
end local 7 10: goto 13
StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
11: astore 7
start local 7 12: aload 2
aload 7
invokeinterface jdk.internal.vm.compiler.collections.EconomicSet.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 end local 5 13: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
14: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/graalvm/compiler/hotspot/WeakClassLoaderSet;
0 15 1 className Ljava/lang/String;
0 15 2 resolutionFailures Ljdk/internal/vm/compiler/collections/EconomicSet<Ljava/lang/ClassNotFoundException;>;
1 15 3 found Ljdk/internal/vm/compiler/collections/EconomicSet<Ljava/lang/Class<*>;>;
2 15 4 it Ljava/util/Iterator<Ljava/lang/ref/Reference<Ljava/lang/ClassLoader;>;>;
4 13 5 ref Ljava/lang/ref/Reference<Ljava/lang/ClassLoader;>;
5 13 6 loader Ljava/lang/ClassLoader;
9 10 7 clazz Ljava/lang/Class<*>;
12 13 7 ex Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
8 10 11 Class java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;Ljdk/internal/vm/compiler/collections/EconomicSet<Ljava/lang/ClassNotFoundException;>;)Ljdk/internal/vm/compiler/collections/EconomicSet<Ljava/lang/Class<*>;>;
MethodParameters:
Name Flags
className
resolutionFailures
}
SourceFile: "WeakClassLoaderSet.java"
NestMembers:
org.graalvm.compiler.hotspot.WeakClassLoaderSet$1 org.graalvm.compiler.hotspot.WeakClassLoaderSet$RefEquivalence
InnerClasses:
org.graalvm.compiler.hotspot.WeakClassLoaderSet$1
private final RefEquivalence = org.graalvm.compiler.hotspot.WeakClassLoaderSet$RefEquivalence of org.graalvm.compiler.hotspot.WeakClassLoaderSet