public final class jdk.nashorn.internal.runtime.GlobalConstants implements jdk.nashorn.internal.runtime.logging.Loggable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.GlobalConstants
super_class: java.lang.Object
{
public static final boolean GLOBAL_ONLY;
descriptor: Z
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final java.lang.invoke.MethodHandles$Lookup LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle INVALIDATE_SP;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle RECEIVER_GUARD;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final jdk.nashorn.internal.runtime.logging.DebugLogger log;
descriptor: Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.Object, jdk.nashorn.internal.runtime.GlobalConstants$Access> map;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Object;Ljdk/nashorn/internal/runtime/GlobalConstants$Access;>;
private final java.util.concurrent.atomic.AtomicBoolean invalidatedForever;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, 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=8, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/GlobalConstants;
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.nashorn.internal.runtime.GlobalConstants.$assertionsDisabled:Z
3: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
putstatic jdk.nashorn.internal.runtime.GlobalConstants.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
4: getstatic jdk.nashorn.internal.runtime.GlobalConstants.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/GlobalConstants;
ldc "invalidateSwitchPoint"
ldc Ljava/lang/Object;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
aastore
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.virtualCall:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants$Call.methodHandle:()Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.GlobalConstants.INVALIDATE_SP:Ljava/lang/invoke/MethodHandle;
5: getstatic jdk.nashorn.internal.runtime.GlobalConstants.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/runtime/GlobalConstants;
ldc "receiverGuard"
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
dup
iconst_2
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.codegen.CompilerConstants.staticCall:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants$Call.methodHandle:()Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.GlobalConstants.RECEIVER_GUARD:Ljava/lang/invoke/MethodHandle;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.nashorn.internal.runtime.logging.DebugLogger);
descriptor: (Ljdk/nashorn/internal/runtime/logging/DebugLogger;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.nashorn.internal.runtime.GlobalConstants.map:Ljava/util/Map;
2: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
putfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
3: aload 0
aload 1
ifnonnull 4
getstatic jdk.nashorn.internal.runtime.logging.DebugLogger.DISABLED_LOGGER:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
goto 5
StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.logging.DebugLogger
StackMap stack: jdk.nashorn.internal.runtime.GlobalConstants
4: aload 1
StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.logging.DebugLogger
StackMap stack: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.logging.DebugLogger
5: putfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 7 1 log Ljdk/nashorn/internal/runtime/logging/DebugLogger;
MethodParameters:
Name Flags
log final
public jdk.nashorn.internal.runtime.logging.DebugLogger getLogger();
descriptor: ()Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
public jdk.nashorn.internal.runtime.logging.DebugLogger initLogger(jdk.nashorn.internal.runtime.Context);
descriptor: (Ljdk/nashorn/internal/runtime/Context;)Ljdk/nashorn/internal/runtime/logging/DebugLogger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.runtime.logging.DebugLogger.DISABLED_LOGGER:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 1 1 context Ljdk/nashorn/internal/runtime/Context;
MethodParameters:
Name Flags
context final
public void invalidateAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 11
1: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
ldc "New global created - invalidating all constant callsites without increasing invocation count."
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
2: aload 0
dup
astore 1
monitorenter
3: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.map:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.GlobalConstants top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.GlobalConstants$Access
astore 2
start local 2 5: aload 2
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.invalidateUncounted:()V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 1
monitorexit
8: goto 11
StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.GlobalConstants
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
5 6 2 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
Exception table:
from to target type
3 8 9 any
9 10 9 any
public void invalidateForever();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 12
1: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
ldc "New global created - invalidating all constant callsites."
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
2: aload 0
dup
astore 1
monitorenter
3: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.map:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.GlobalConstants top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.GlobalConstants$Access
astore 2
start local 2 5: aload 2
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.invalidateForever:()V
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.map:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
8: aload 1
monitorexit
9: goto 12
StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.GlobalConstants
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
5 6 2 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
Exception table:
from to target type
3 9 10 any
10 11 10 any
private synchronized java.lang.Object invalidateSwitchPoint(java.lang.Object, jdk.nashorn.internal.runtime.GlobalConstants$Access);
descriptor: (Ljava/lang/Object;Ljdk/nashorn/internal/runtime/GlobalConstants$Access;)Ljava/lang/Object;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 2
1: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "*** Invalidating switchpoint "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.getSwitchPoint:()Ljava/lang/invoke/SwitchPoint;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " for receiver="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " access="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.invalidateOnce:()V
3: aload 2
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.mayRetry:()Z
ifeq 8
4: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 6
5: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "Retry is allowed for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "... Creating a new switchpoint."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.newSwitchPoint:()V
7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 10
9: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "This was the last time I allowed "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.getName:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " to relink as constant."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 11 1 obj Ljava/lang/Object;
0 11 2 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
MethodParameters:
Name Flags
obj final
acc final
private jdk.nashorn.internal.runtime.GlobalConstants$Access getOrCreateSwitchPoint(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.GlobalConstants$Access
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants$Access
StackMap stack:
new java.lang.invoke.SwitchPoint
dup
invokespecial java.lang.invoke.SwitchPoint.<init>:()V
astore 3
start local 3 4: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.map:Ljava/util/Map;
aload 1
new jdk.nashorn.internal.runtime.GlobalConstants$Access
dup
aload 1
aload 3
invokespecial jdk.nashorn.internal.runtime.GlobalConstants$Access.<init>:(Ljava/lang/String;Ljava/lang/invoke/SwitchPoint;)V
dup
astore 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 6 1 name Ljava/lang/String;
1 6 2 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
4 6 3 sp Ljava/lang/invoke/SwitchPoint;
MethodParameters:
Name Flags
name final
void delete(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 9
1: aload 0
dup
astore 2
monitorenter
2: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.GlobalConstants$Access
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.invalidateForever:()V
end local 3 5: StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants
StackMap stack:
aload 2
monitorexit
6: goto 9
StackMap locals:
StackMap stack: java.lang.Throwable
7: aload 2
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 10 1 name Ljava/lang/Object;
3 5 3 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
Exception table:
from to target type
2 6 7 any
7 8 7 any
MethodParameters:
Name Flags
name final
private static boolean receiverGuard(jdk.nashorn.internal.runtime.GlobalConstants$Access, java.lang.Object, java.lang.Object);
descriptor: (Ljdk/nashorn/internal/runtime/GlobalConstants$Access;Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: iload 3
ifne 5
4: aload 0
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.failGuard:()V
5: StackMap locals: int
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
0 6 1 boundReceiver Ljava/lang/Object;
0 6 2 receiver Ljava/lang/Object;
3 6 3 id Z
MethodParameters:
Name Flags
acc final
boundReceiver final
receiver final
private static boolean isGlobalSetter(jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.FindProperty);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/FindProperty;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isScope:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.runtime.FindProperty.getOwner:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isGlobal:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 receiver Ljdk/nashorn/internal/runtime/ScriptObject;
0 3 1 find Ljdk/nashorn/internal/runtime/FindProperty;
MethodParameters:
Name Flags
receiver final
find final
jdk.dynalink.linker.GuardedInvocation findSetMethod(jdk.nashorn.internal.runtime.FindProperty, jdk.nashorn.internal.runtime.ScriptObject, jdk.dynalink.linker.GuardedInvocation, jdk.dynalink.CallSiteDescriptor, jdk.dynalink.linker.LinkRequest);
descriptor: (Ljdk/nashorn/internal/runtime/FindProperty;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/dynalink/linker/GuardedInvocation;Ljdk/dynalink/CallSiteDescriptor;Ljdk/dynalink/linker/LinkRequest;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0000)
Code:
stack=13, locals=14, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 1
aload 2
aload 1
invokestatic jdk.nashorn.internal.runtime.GlobalConstants.isGlobalSetter:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/FindProperty;)Z
ifne 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 4
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getOperand:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/String;
astore 6
start local 6 3: aload 0
dup
astore 7
monitorenter
4: aload 0
aload 6
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants.getOrCreateSwitchPoint:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
astore 8
start local 8 5: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 7
6: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_2
anewarray java.lang.Object
dup
iconst_0
ldc "Trying to link constant SETTER "
aastore
dup
iconst_1
aload 8
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:([Ljava/lang/Object;)V
7: StackMap locals: java.lang.String jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.GlobalConstants$Access
StackMap stack:
aload 8
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.mayRetry:()Z
ifeq 8
aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 12
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 10
9: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "*** SET: Giving up on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " - retry count has exceeded "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic jdk.dynalink.DynamicLinker.getLinkedCallSiteLocation:()Ljava/lang/StackTraceElement;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
aload 7
monitorexit
11: aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 8
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.hasBeenInvalidated:()Z
ifeq 15
13: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "New chance for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
14: aload 8
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.newSwitchPoint:()V
15: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.GlobalConstants.$assertionsDisabled:Z
ifne 16
aload 8
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.hasBeenInvalidated:()Z
ifeq 16
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
16: StackMap locals:
StackMap stack:
aload 3
invokevirtual jdk.dynalink.linker.GuardedInvocation.getInvocation:()Ljava/lang/invoke/MethodHandle;
astore 9
start local 9 17: aload 9
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 10
start local 10 18: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.GlobalConstants.INVALIDATE_SP:Ljava/lang/invoke/MethodHandle;
aload 0
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 11
start local 11 19: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 11
aload 11
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
iconst_0
aload 10
invokevirtual java.lang.invoke.MethodType.changeParameterType:(ILjava/lang/Class;)Ljava/lang/invoke/MethodType;
aload 10
invokevirtual java.lang.invoke.MethodType.changeReturnType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.asType:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 12
start local 12 20: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 3
invokevirtual jdk.dynalink.linker.GuardedInvocation.getInvocation:()Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.invoke.MethodHandle
dup
iconst_0
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 12
iconst_1
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 8
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 13
start local 13 21: getstatic jdk.nashorn.internal.runtime.GlobalConstants.$assertionsDisabled:Z
ifne 22
aload 3
invokevirtual jdk.dynalink.linker.GuardedInvocation.getSwitchPoints:()[Ljava/lang/invoke/SwitchPoint;
ifnull 22
new java.lang.AssertionError
dup
aload 3
invokevirtual jdk.dynalink.linker.GuardedInvocation.getSwitchPoints:()[Ljava/lang/invoke/SwitchPoint;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
22: StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.FindProperty jdk.nashorn.internal.runtime.ScriptObject jdk.dynalink.linker.GuardedInvocation jdk.dynalink.CallSiteDescriptor jdk.dynalink.linker.LinkRequest java.lang.String jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.GlobalConstants$Access java.lang.invoke.MethodHandle java.lang.Class java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle java.lang.invoke.MethodHandle
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "Linked setter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 8
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.getSwitchPoint:()Ljava/lang/invoke/SwitchPoint;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
23: new jdk.dynalink.linker.GuardedInvocation
dup
aload 13
aload 3
invokevirtual jdk.dynalink.linker.GuardedInvocation.getGuard:()Ljava/lang/invoke/MethodHandle;
aload 8
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.getSwitchPoint:()Ljava/lang/invoke/SwitchPoint;
aload 3
invokevirtual jdk.dynalink.linker.GuardedInvocation.getException:()Ljava/lang/Class;
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/SwitchPoint;Ljava/lang/Class;)V
aload 7
monitorexit
24: areturn
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 25: StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.FindProperty jdk.nashorn.internal.runtime.ScriptObject jdk.dynalink.linker.GuardedInvocation jdk.dynalink.CallSiteDescriptor jdk.dynalink.linker.LinkRequest java.lang.String jdk.nashorn.internal.runtime.GlobalConstants
StackMap stack: java.lang.Throwable
aload 7
monitorexit
26: athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 27 1 find Ljdk/nashorn/internal/runtime/FindProperty;
0 27 2 receiver Ljdk/nashorn/internal/runtime/ScriptObject;
0 27 3 inv Ljdk/dynalink/linker/GuardedInvocation;
0 27 4 desc Ljdk/dynalink/CallSiteDescriptor;
0 27 5 request Ljdk/dynalink/linker/LinkRequest;
3 27 6 name Ljava/lang/String;
5 25 8 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
17 25 9 target Ljava/lang/invoke/MethodHandle;
18 25 10 receiverType Ljava/lang/Class<*>;
19 25 11 boundInvalidator Ljava/lang/invoke/MethodHandle;
20 25 12 invalidator Ljava/lang/invoke/MethodHandle;
21 25 13 mh Ljava/lang/invoke/MethodHandle;
Exception table:
from to target type
4 11 25 any
12 24 25 any
25 26 25 any
MethodParameters:
Name Flags
find final
receiver final
inv final
desc final
request final
public static java.lang.invoke.MethodHandle staticConstantGetter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 0
invokestatic jdk.nashorn.internal.runtime.JSType.unboxConstant:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.dropArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Ljava/lang/Object;
MethodParameters:
Name Flags
c final
private java.lang.invoke.MethodHandle constantGetter(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.GlobalConstants.staticConstantGetter:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 2
start local 2 1: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 3
2: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
getstatic java.util.logging.Level.FINEST:Ljava/util/logging/Level;
aload 2
ldc "getting as constant"
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.addDebugPrintout:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
3: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 4 1 c Ljava/lang/Object;
1 4 2 mh Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
c final
jdk.dynalink.linker.GuardedInvocation findGetMethod(jdk.nashorn.internal.runtime.FindProperty, jdk.nashorn.internal.runtime.ScriptObject, jdk.dynalink.CallSiteDescriptor);
descriptor: (Ljdk/nashorn/internal/runtime/FindProperty;Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/dynalink/CallSiteDescriptor;)Ljdk/dynalink/linker/GuardedInvocation;
flags: (0x0000)
Code:
stack=8, locals=14, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 3
aload 3
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isFastScope:(Ljdk/dynalink/CallSiteDescriptor;)Z
ifeq 3
1: aload 1
invokevirtual jdk.nashorn.internal.runtime.FindProperty.getOwner:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isGlobal:()Z
ifeq 3
2: aload 1
invokevirtual jdk.nashorn.internal.runtime.FindProperty.getProperty:()Ljdk/nashorn/internal/runtime/Property;
instanceof jdk.nashorn.internal.runtime.UserAccessorProperty
ifeq 4
3: StackMap locals:
StackMap stack:
aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 3
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.isOptimistic:(Ljdk/dynalink/CallSiteDescriptor;)Z
istore 4
start local 4 5: iload 4
ifeq 6
aload 3
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getProgramPoint:(Ljdk/dynalink/CallSiteDescriptor;)I
goto 7
StackMap locals: int
StackMap stack:
6: iconst_m1
StackMap locals:
StackMap stack: int
7: istore 5
start local 5 8: aload 3
invokevirtual jdk.dynalink.CallSiteDescriptor.getMethodType:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
astore 6
start local 6 9: aload 3
invokestatic jdk.nashorn.internal.runtime.linker.NashornCallSiteDescriptor.getOperand:(Ljdk/dynalink/CallSiteDescriptor;)Ljava/lang/String;
astore 7
start local 7 10: aload 0
dup
astore 8
monitorenter
11: aload 0
aload 7
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants.getOrCreateSwitchPoint:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
astore 9
start local 9 12: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "Starting to look up object value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljava/lang/String;)V
13: aload 1
invokevirtual jdk.nashorn.internal.runtime.FindProperty.getObjectValue:()Ljava/lang/Object;
astore 10
start local 10 14: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 16
15: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "Trying to link constant GETTER "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " value = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.fine:(Ljava/lang/String;)V
16: StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.FindProperty jdk.nashorn.internal.runtime.ScriptObject jdk.dynalink.CallSiteDescriptor int int java.lang.Class java.lang.String jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.GlobalConstants$Access java.lang.Object
StackMap stack:
aload 9
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.hasBeenInvalidated:()Z
ifne 17
aload 9
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.guardFailed:()Z
ifne 17
aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.invalidatedForever:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 21
17: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 19
18: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "*** GET: Giving up on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " - retry count has exceeded "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokestatic jdk.dynalink.DynamicLinker.getLinkedCallSiteLocation:()Ljava/lang/StackTraceElement;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
19: StackMap locals:
StackMap stack:
aload 8
monitorexit
20: aconst_null
areturn
21: StackMap locals:
StackMap stack:
aload 0
aload 10
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants.constantGetter:(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 11
start local 11 22: iload 4
ifeq 28
23: aload 11
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex:(Ljava/lang/Class;)I
aload 6
invokestatic jdk.nashorn.internal.runtime.JSType.getAccessorTypeIndex:(Ljava/lang/Class;)I
if_icmpgt 26
24: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 11
aload 11
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
aload 6
invokevirtual java.lang.invoke.MethodType.changeReturnType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.asType:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
astore 12
start local 12 25: goto 29
end local 12 26: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.JSType.THROW_UNWARRANTED:Ljdk/nashorn/internal/codegen/CompilerConstants$Call;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants$Call.methodHandle:()Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 10
aastore
dup
iconst_1
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.dropArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 12
start local 12 27: goto 29
end local 12 28: StackMap locals:
StackMap stack:
aload 11
aload 6
invokestatic jdk.nashorn.internal.lookup.Lookup.filterReturnType:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
astore 12
start local 12 29: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.runtime.FindProperty.getOwner:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isGlobal:()Z
ifeq 32
30: aconst_null
astore 13
start local 13 31: goto 33
end local 13 32: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.GlobalConstants.RECEIVER_GUARD:Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 9
aastore
dup
iconst_1
aload 2
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 13
start local 13 33: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 36
34: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
new java.lang.StringBuilder
dup
ldc "Linked getter "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokestatic jdk.nashorn.internal.runtime.logging.DebugLogger.quote:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " as MethodHandle.constant() -> "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 10
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.getSwitchPoint:()Ljava/lang/invoke/SwitchPoint;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.info:(Ljava/lang/String;)V
35: aload 0
getfield jdk.nashorn.internal.runtime.GlobalConstants.log:Ljdk/nashorn/internal/runtime/logging/DebugLogger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
aload 12
new java.lang.StringBuilder
dup
ldc "get const "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.addDebugPrintout:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 12
36: StackMap locals:
StackMap stack:
new jdk.dynalink.linker.GuardedInvocation
dup
aload 12
aload 13
aload 9
invokevirtual jdk.nashorn.internal.runtime.GlobalConstants$Access.getSwitchPoint:()Ljava/lang/invoke/SwitchPoint;
aconst_null
invokespecial jdk.dynalink.linker.GuardedInvocation.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/SwitchPoint;Ljava/lang/Class;)V
aload 8
monitorexit
37: areturn
end local 13 end local 12 end local 11 end local 10 end local 9 38: StackMap locals: jdk.nashorn.internal.runtime.GlobalConstants jdk.nashorn.internal.runtime.FindProperty jdk.nashorn.internal.runtime.ScriptObject jdk.dynalink.CallSiteDescriptor int int java.lang.Class java.lang.String jdk.nashorn.internal.runtime.GlobalConstants
StackMap stack: java.lang.Throwable
aload 8
monitorexit
39: athrow
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Ljdk/nashorn/internal/runtime/GlobalConstants;
0 40 1 find Ljdk/nashorn/internal/runtime/FindProperty;
0 40 2 receiver Ljdk/nashorn/internal/runtime/ScriptObject;
0 40 3 desc Ljdk/dynalink/CallSiteDescriptor;
5 40 4 isOptimistic Z
8 40 5 programPoint I
9 40 6 retType Ljava/lang/Class<*>;
10 40 7 name Ljava/lang/String;
12 38 9 acc Ljdk/nashorn/internal/runtime/GlobalConstants$Access;
14 38 10 c Ljava/lang/Object;
22 38 11 cmh Ljava/lang/invoke/MethodHandle;
25 26 12 mh Ljava/lang/invoke/MethodHandle;
27 28 12 mh Ljava/lang/invoke/MethodHandle;
29 38 12 mh Ljava/lang/invoke/MethodHandle;
31 32 13 guard Ljava/lang/invoke/MethodHandle;
33 38 13 guard Ljava/lang/invoke/MethodHandle;
Exception table:
from to target type
11 20 38 any
21 37 38 any
38 39 38 any
MethodParameters:
Name Flags
find final
receiver final
desc final
}
SourceFile: "GlobalConstants.java"
NestMembers:
jdk.nashorn.internal.runtime.GlobalConstants$Access
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Call = jdk.nashorn.internal.codegen.CompilerConstants$Call of jdk.nashorn.internal.codegen.CompilerConstants
private Access = jdk.nashorn.internal.runtime.GlobalConstants$Access of jdk.nashorn.internal.runtime.GlobalConstants
RuntimeVisibleAnnotations:
jdk.nashorn.internal.runtime.logging.Logger(name = "const")