class jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap
super_class: java.lang.Object
{
private final java.lang.ref.WeakReference<jdk.nashorn.internal.runtime.ScriptObject> prototype;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljdk/nashorn/internal/runtime/ScriptObject;>;
private final java.lang.ref.WeakReference<jdk.nashorn.internal.runtime.PropertyMap> prototypeMap;
descriptor: Ljava/lang/ref/WeakReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/ref/WeakReference<Ljdk/nashorn/internal/runtime/PropertyMap;>;
private final jdk.nashorn.internal.runtime.PropertyMap allocatorMap;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.PropertyMap, jdk.nashorn.internal.runtime.PropertyMap);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;Ljdk/nashorn/internal/runtime/PropertyMap;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.prototype:Ljava/lang/ref/WeakReference;
2: aload 0
new java.lang.ref.WeakReference
dup
aload 2
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
putfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.prototypeMap:Ljava/lang/ref/WeakReference;
3: aload 0
aload 3
putfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.allocatorMap:Ljdk/nashorn/internal/runtime/PropertyMap;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/AllocationStrategy$AllocatorMap;
0 5 1 prototype Ljdk/nashorn/internal/runtime/ScriptObject;
0 5 2 protoMap Ljdk/nashorn/internal/runtime/PropertyMap;
0 5 3 allocMap Ljdk/nashorn/internal/runtime/PropertyMap;
MethodParameters:
Name Flags
prototype final
protoMap final
allocMap final
boolean hasSamePrototype(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.prototype:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
aload 1
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/AllocationStrategy$AllocatorMap;
0 2 1 proto Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
proto final
boolean hasSameProtoMap(jdk.nashorn.internal.runtime.PropertyMap);
descriptor: (Ljdk/nashorn/internal/runtime/PropertyMap;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.prototypeMap:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
aload 1
if_acmpeq 1
aload 0
getfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.allocatorMap:Ljdk/nashorn/internal/runtime/PropertyMap;
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.getSharedProtoMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
aload 1
if_acmpeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/AllocationStrategy$AllocatorMap;
0 2 1 protoMap Ljdk/nashorn/internal/runtime/PropertyMap;
MethodParameters:
Name Flags
protoMap final
boolean hasUnchangedProtoMap();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.prototype:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.ScriptObject
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
aload 0
getfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.prototypeMap:Ljava/lang/ref/WeakReference;
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
if_acmpne 2
iconst_1
ireturn
StackMap locals: jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/AllocationStrategy$AllocatorMap;
1 3 1 proto Ljdk/nashorn/internal/runtime/ScriptObject;
boolean hasSharedProtoMap();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.getSharedProtoMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
ifnull 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/nashorn/internal/runtime/AllocationStrategy$AllocatorMap;
boolean hasValidSharedProtoMap();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.hasSharedProtoMap:()Z
ifeq 1
aload 0
invokevirtual jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.getSharedProtoMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.isValidSharedProtoMap:()Z
ifeq 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/nashorn/internal/runtime/AllocationStrategy$AllocatorMap;
jdk.nashorn.internal.runtime.PropertyMap getSharedProtoMap();
descriptor: ()Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap.allocatorMap:Ljdk/nashorn/internal/runtime/PropertyMap;
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.getSharedProtoMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/AllocationStrategy$AllocatorMap;
}
SourceFile: "AllocationStrategy.java"
NestHost: jdk.nashorn.internal.runtime.AllocationStrategy
InnerClasses:
AllocatorMap = jdk.nashorn.internal.runtime.AllocationStrategy$AllocatorMap of jdk.nashorn.internal.runtime.AllocationStrategy