public final class jdk.vm.ci.hotspot.HotSpotObjectConstantScope implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.vm.ci.hotspot.HotSpotObjectConstantScope
super_class: java.lang.Object
{
static final java.lang.ThreadLocal<jdk.vm.ci.hotspot.HotSpotObjectConstantScope> CURRENT;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ThreadLocal<Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;>;
private final jdk.vm.ci.hotspot.HotSpotObjectConstantScope parent;
descriptor: Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.util.List<jdk.vm.ci.hotspot.IndirectHotSpotObjectConstantImpl> foreignObjects;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljdk/vm/ci/hotspot/IndirectHotSpotObjectConstantImpl;>;
final java.lang.Object localScopeDescription;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
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.HotSpotObjectConstantScope.$assertionsDisabled:Z
3: new java.lang.ThreadLocal
dup
invokespecial java.lang.ThreadLocal.<init>:()V
putstatic jdk.vm.ci.hotspot.HotSpotObjectConstantScope.CURRENT:Ljava/lang/ThreadLocal;
return
LocalVariableTable:
Start End Slot Name Signature
public static jdk.vm.ci.hotspot.HotSpotObjectConstantScope openLocalScope(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 1
new jdk.vm.ci.hotspot.HotSpotObjectConstantScope
dup
aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantScope.<init>:(Ljava/lang/Object;)V
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: jdk.vm.ci.hotspot.HotSpotObjectConstantScope
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 description Ljava/lang/Object;
MethodParameters:
Name Flags
description
public static jdk.vm.ci.hotspot.HotSpotObjectConstantScope enterGlobalScope();
descriptor: ()Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE:Z
ifeq 1
getstatic jdk.vm.ci.hotspot.HotSpotObjectConstantScope.CURRENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
ifnull 1
new jdk.vm.ci.hotspot.HotSpotObjectConstantScope
dup
aconst_null
invokespecial jdk.vm.ci.hotspot.HotSpotObjectConstantScope.<init>:(Ljava/lang/Object;)V
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: jdk.vm.ci.hotspot.HotSpotObjectConstantScope
2: areturn
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic jdk.vm.ci.hotspot.HotSpotObjectConstantScope.CURRENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
checkcast jdk.vm.ci.hotspot.HotSpotObjectConstantScope
putfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.parent:Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
2: getstatic jdk.vm.ci.hotspot.HotSpotObjectConstantScope.CURRENT:Ljava/lang/ThreadLocal;
aload 0
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
3: aload 0
aload 1
putfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.localScopeDescription:Ljava/lang/Object;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
0 5 1 localScopeDescription Ljava/lang/Object;
MethodParameters:
Name Flags
localScopeDescription
boolean isGlobal();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.localScopeDescription:Ljava/lang/Object;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
void add(jdk.vm.ci.hotspot.IndirectHotSpotObjectConstantImpl);
descriptor: (Ljdk/vm/ci/hotspot/IndirectHotSpotObjectConstantImpl;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.vm.ci.hotspot.HotSpotObjectConstantScope.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual jdk.vm.ci.hotspot.HotSpotObjectConstantScope.isGlobal:()Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.foreignObjects:Ljava/util/List;
ifnonnull 3
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.foreignObjects:Ljava/util/List;
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.foreignObjects:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
0 5 1 obj Ljdk/vm/ci/hotspot/IndirectHotSpotObjectConstantImpl;
MethodParameters:
Name Flags
obj
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic jdk.vm.ci.hotspot.HotSpotObjectConstantScope.CURRENT:Ljava/lang/ThreadLocal;
invokevirtual java.lang.ThreadLocal.get:()Ljava/lang/Object;
aload 0
if_acmpeq 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot close non-active scope"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.foreignObjects:Ljava/util/List;
ifnull 8
3: aload 0
getfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.foreignObjects:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 6
StackMap locals: jdk.vm.ci.hotspot.HotSpotObjectConstantScope top java.util.Iterator
StackMap stack:
4: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.vm.ci.hotspot.IndirectHotSpotObjectConstantImpl
astore 1
start local 1 5: aload 1
aload 0
getfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.localScopeDescription:Ljava/lang/Object;
invokevirtual jdk.vm.ci.hotspot.IndirectHotSpotObjectConstantImpl.clear:(Ljava/lang/Object;)V
end local 1 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
aconst_null
putfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.foreignObjects:Ljava/util/List;
8: StackMap locals: jdk.vm.ci.hotspot.HotSpotObjectConstantScope
StackMap stack:
getstatic jdk.vm.ci.hotspot.HotSpotObjectConstantScope.CURRENT:Ljava/lang/ThreadLocal;
aload 0
getfield jdk.vm.ci.hotspot.HotSpotObjectConstantScope.parent:Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
invokevirtual java.lang.ThreadLocal.set:(Ljava/lang/Object;)V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/vm/ci/hotspot/HotSpotObjectConstantScope;
5 6 1 obj Ljdk/vm/ci/hotspot/IndirectHotSpotObjectConstantImpl;
RuntimeInvisibleAnnotations:
jdk.vm.ci.hotspot.VMEntryPoint()
}
SourceFile: "HotSpotObjectConstantScope.java"