class jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext
super_class: java.lang.Object
{
private static java.lang.ref.WeakReference<?>[] allContexts;
descriptor: [Ljava/lang/ref/WeakReference;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: [Ljava/lang/ref/WeakReference<*>;
private volatile java.lang.Object[] metadataRoots;
descriptor: [Ljava/lang/Object;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList<java.lang.ref.WeakReference<jdk.vm.ci.hotspot.MetaspaceWrapperObject>> list;
descriptor: Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList<Ljava/lang/ref/WeakReference<Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;>;>;
private int freed;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.lang.ref.ReferenceQueue<jdk.vm.ci.hotspot.MetaspaceWrapperObject> queue;
descriptor: Ljava/lang/ref/ReferenceQueue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/ReferenceQueue<Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;>;
private final java.lang.ClassValue<java.lang.ref.WeakReference<jdk.vm.ci.meta.ResolvedJavaType>> resolvedJavaType;
descriptor: Ljava/lang/ClassValue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ClassValue<Ljava/lang/ref/WeakReference<Ljdk/vm/ci/meta/ResolvedJavaType;>;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.$assertionsDisabled:Z
3: iconst_0
anewarray java.lang.ref.WeakReference
putstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
return
LocalVariableTable:
Start End Slot Name Signature
static synchronized void add(jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext);
descriptor: (Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;)V
flags: (0x0028) ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 6
2: StackMap locals: int
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
iload 1
aaload
ifnull 3
getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
iload 1
aaload
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
ifnonnull 5
3: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
iload 1
new java.lang.ref.WeakReference
dup
aload 0
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
aastore
4: return
5: StackMap locals:
StackMap stack:
iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
arraylength
if_icmplt 2
end local 1 7: getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
arraylength
istore 1
start local 1 8: getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
iload 1
iconst_2
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
checkcast java.lang.ref.WeakReference[]
putstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
9: getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.allContexts:[Ljava/lang/ref/WeakReference;
iload 1
new java.lang.ref.WeakReference
dup
aload 0
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
aastore
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 context Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
1 7 1 i I
8 11 1 index I
MethodParameters:
Name Flags
context
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList
dup
invokespecial jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.<init>:()V
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
2: aload 0
new java.lang.ref.ReferenceQueue
dup
invokespecial java.lang.ref.ReferenceQueue.<init>:()V
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.queue:Ljava/lang/ref/ReferenceQueue;
3: aload 0
new jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$1
dup
aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$1.<init>:(Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;)V
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.resolvedJavaType:Ljava/lang/ClassValue;
4: aload 0
invokestatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.add:(Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
private void clean();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
astore 1
start local 1 1: aload 1
ifnonnull 5
2: return
3: StackMap locals: java.lang.ref.Reference
StackMap stack:
aload 0
dup
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.freed:I
iconst_1
iadd
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.freed:I
4: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.queue:Ljava/lang/ref/ReferenceQueue;
invokevirtual java.lang.ref.ReferenceQueue.poll:()Ljava/lang/ref/Reference;
astore 1
5: StackMap locals:
StackMap stack:
aload 1
ifnonnull 3
6: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.freed:I
aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.size:()I
iconst_2
idiv
if_icmple 16
7: new jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList
dup
invokespecial jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.<init>:()V
astore 2
start local 2 8: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext java.lang.ref.Reference jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList top java.util.Iterator
StackMap stack:
9: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
astore 3
start local 3 10: aload 3
ifnull 12
aload 3
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
ifnull 12
11: aload 2
aload 3
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.add:(Ljava/lang/Object;)V
end local 3 12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
13: aload 0
aload 2
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
14: aload 0
aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.getHead:()[Ljava/lang/Object;
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.metadataRoots:[Ljava/lang/Object;
15: aload 0
iconst_0
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.freed:I
end local 2 16: StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext java.lang.ref.Reference
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
1 17 1 ref Ljava/lang/ref/Reference<*>;
8 16 2 newList Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList<Ljava/lang/ref/WeakReference<Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;>;>;
10 12 3 element Ljava/lang/ref/WeakReference<Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;>;
public synchronized void add(jdk.vm.ci.hotspot.MetaspaceWrapperObject);
descriptor: (Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.clean:()V
1: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
new java.lang.ref.WeakReference
dup
aload 1
aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.queue:Ljava/lang/ref/ReferenceQueue;
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.add:(Ljava/lang/Object;)V
2: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.getHead:()[Ljava/lang/Object;
aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.metadataRoots:[Ljava/lang/Object;
if_acmpeq 4
3: aload 0
aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.getHead:()[Ljava/lang/Object;
putfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.metadataRoots:[Ljava/lang/Object;
4: StackMap locals:
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.$assertionsDisabled:Z
ifne 5
aload 0
aload 1
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.isRegistered:(Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
0 6 1 metaspaceObject Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;
MethodParameters:
Name Flags
metaspaceObject
protected jdk.vm.ci.meta.ResolvedJavaType createClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 3
1: aload 1
invokestatic jdk.vm.ci.meta.JavaKind.fromJavaClass:(Ljava/lang/Class;)Ljdk/vm/ci/meta/JavaKind;
astore 2
start local 2 2: new jdk.vm.ci.hotspot.HotSpotResolvedPrimitiveType
dup
aload 2
invokespecial jdk.vm.ci.hotspot.HotSpotResolvedPrimitiveType.<init>:(Ljdk/vm/ci/meta/JavaKind;)V
areturn
end local 2 3: StackMap locals:
StackMap stack:
new jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl
dup
aload 1
aload 0
invokespecial jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.<init>:(Ljava/lang/Class;Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
0 4 1 javaClass Ljava/lang/Class<*>;
2 3 2 kind Ljdk/vm/ci/meta/JavaKind;
Signature: (Ljava/lang/Class<*>;)Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
javaClass
public jdk.vm.ci.meta.ResolvedJavaType fromClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljdk/vm/ci/meta/ResolvedJavaType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: goto 6
2: StackMap locals: jdk.vm.ci.meta.ResolvedJavaType
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.resolvedJavaType:Ljava/lang/ClassValue;
aload 1
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
astore 3
start local 3 3: aload 3
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast jdk.vm.ci.meta.ResolvedJavaType
astore 2
4: aload 2
ifnonnull 6
5: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.resolvedJavaType:Ljava/lang/ClassValue;
aload 1
invokevirtual java.lang.ClassValue.remove:(Ljava/lang/Class;)V
end local 3 6: StackMap locals:
StackMap stack:
aload 2
ifnull 2
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
0 8 1 javaClass Ljava/lang/Class<*>;
1 8 2 javaType Ljdk/vm/ci/meta/ResolvedJavaType;
3 6 3 type Ljava/lang/ref/WeakReference<Ljdk/vm/ci/meta/ResolvedJavaType;>;
Signature: (Ljava/lang/Class<*>;)Ljdk/vm/ci/meta/ResolvedJavaType;
MethodParameters:
Name Flags
javaClass
synchronized boolean isRegistered(jdk.vm.ci.hotspot.MetaspaceWrapperObject);
descriptor: (Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;)Z
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext.list:Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext$ChunkedList;
invokevirtual jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext jdk.vm.ci.hotspot.MetaspaceWrapperObject top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
astore 2
start local 2 2: aload 2
ifnull 4
aload 2
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
aload 1
if_acmpne 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/vm/ci/hotspot/HotSpotJVMCIMetaAccessContext;
0 6 1 wrapper Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;
2 4 2 m Ljava/lang/ref/WeakReference<Ljdk/vm/ci/hotspot/MetaspaceWrapperObject;>;
MethodParameters:
Name Flags
wrapper
}
SourceFile: "HotSpotJVMCIMetaAccessContext.java"
NestMembers:
jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$1 jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList$ChunkIterator
InnerClasses:
jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$1
ChunkedList = jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext$ChunkedList of jdk.vm.ci.hotspot.HotSpotJVMCIMetaAccessContext