public final class com.oracle.truffle.js.runtime.builtins.JSWeakRef extends com.oracle.truffle.js.runtime.builtins.JSNonProxy implements com.oracle.truffle.js.runtime.builtins.JSConstructorFactory$Default, com.oracle.truffle.js.runtime.builtins.PrototypeSupplier
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.builtins.JSWeakRef
super_class: com.oracle.truffle.js.runtime.builtins.JSNonProxy
{
public static final com.oracle.truffle.js.runtime.builtins.JSWeakRef INSTANCE;
descriptor: Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.lang.String CLASS_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "WeakRef"
public static final java.lang.String PROTOTYPE_NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "WeakRef.prototype"
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 Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
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 com.oracle.truffle.js.runtime.builtins.JSWeakRef.$assertionsDisabled:Z
3: new com.oracle.truffle.js.runtime.builtins.JSWeakRef
dup
invokespecial com.oracle.truffle.js.runtime.builtins.JSWeakRef.<init>:()V
putstatic com.oracle.truffle.js.runtime.builtins.JSWeakRef.INSTANCE:Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
4: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.js.runtime.builtins.JSNonProxy.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
public static com.oracle.truffle.api.object.DynamicObject create(com.oracle.truffle.js.runtime.JSContext, java.lang.Object);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.js.runtime.builtins.JSWeakRef$TruffleWeakReference
dup
aload 1
invokespecial com.oracle.truffle.js.runtime.builtins.JSWeakRef$TruffleWeakReference.<init>:(Ljava/lang/Object;)V
astore 2
start local 2 1: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getRealm:()Lcom/oracle/truffle/js/runtime/JSRealm;
astore 3
start local 3 2: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getWeakRefFactory:()Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
astore 4
start local 4 3: aload 4
new com.oracle.truffle.js.runtime.builtins.JSWeakRefObject
dup
aload 4
aload 3
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.getShape:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/Shape;
aload 2
invokespecial com.oracle.truffle.js.runtime.builtins.JSWeakRefObject.<init>:(Lcom/oracle/truffle/api/object/Shape;Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef$TruffleWeakReference;)V
aload 3
invokevirtual com.oracle.truffle.js.runtime.builtins.JSObjectFactory.initProto:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 5
start local 5 4: getstatic com.oracle.truffle.js.runtime.builtins.JSWeakRef.$assertionsDisabled:Z
ifne 5
aload 5
invokestatic com.oracle.truffle.js.runtime.builtins.JSWeakRef.isJSWeakRef:(Ljava/lang/Object;)Z
ifne 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals: com.oracle.truffle.js.runtime.JSContext java.lang.Object com.oracle.truffle.js.runtime.builtins.JSWeakRef$TruffleWeakReference com.oracle.truffle.js.runtime.JSRealm com.oracle.truffle.js.runtime.builtins.JSObjectFactory com.oracle.truffle.api.object.DynamicObject
StackMap stack:
aload 0
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSContext.addWeakRefTargetToSet:(Ljava/lang/Object;)Z
pop
6: aload 0
aload 5
invokevirtual com.oracle.truffle.js.runtime.JSContext.trackAllocation:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
areturn
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 7 0 context Lcom/oracle/truffle/js/runtime/JSContext;
0 7 1 referent Ljava/lang/Object;
1 7 2 weakReference Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef$TruffleWeakReference<Ljava/lang/Object;>;
2 7 3 realm Lcom/oracle/truffle/js/runtime/JSRealm;
3 7 4 factory Lcom/oracle/truffle/js/runtime/builtins/JSObjectFactory;
4 7 5 obj Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
context
referent
public static com.oracle.truffle.js.runtime.builtins.JSWeakRef$TruffleWeakReference<?> getInternalWeakRef(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef$TruffleWeakReference;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.runtime.builtins.JSWeakRef.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSWeakRef.isJSWeakRef:(Ljava/lang/Object;)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
checkcast com.oracle.truffle.js.runtime.builtins.JSWeakRefObject
invokevirtual com.oracle.truffle.js.runtime.builtins.JSWeakRefObject.getWeakReference:()Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef$TruffleWeakReference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Lcom/oracle/truffle/api/object/DynamicObject;
Signature: (Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef$TruffleWeakReference<*>;
MethodParameters:
Name Flags
obj
public com.oracle.truffle.api.object.DynamicObject createPrototype(com.oracle.truffle.js.runtime.JSRealm, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
astore 3
start local 3 1: aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.createOrdinaryPrototypeObject:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 4
start local 4 2: aload 3
aload 4
aload 2
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putConstructorProperty:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/api/object/DynamicObject;)V
3: aload 1
aload 4
getstatic com.oracle.truffle.js.builtins.WeakRefPrototypeBuiltins.BUILTINS:Lcom/oracle/truffle/js/builtins/JSBuiltinsContainer;
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putFunctionsFromContainer:(Lcom/oracle/truffle/js/runtime/JSRealm;Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/builtins/JSBuiltinsContainer;)V
4: aload 4
ldc "WeakRef"
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.putToStringTag:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/String;)V
5: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
0 6 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
0 6 2 ctor Lcom/oracle/truffle/api/object/DynamicObject;
1 6 3 ctx Lcom/oracle/truffle/js/runtime/JSContext;
2 6 4 prototype Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
realm final
ctor
public com.oracle.truffle.api.object.Shape makeInitialShape(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/Shape;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic com.oracle.truffle.js.runtime.builtins.JSWeakRef.INSTANCE:Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
aload 1
invokestatic com.oracle.truffle.js.runtime.objects.JSObjectUtil.getProtoChildShape:(Lcom/oracle/truffle/api/object/DynamicObject;Lcom/oracle/truffle/js/runtime/builtins/JSClass;Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/api/object/Shape;
astore 3
start local 3 1: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
0 2 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 2 2 prototype Lcom/oracle/truffle/api/object/DynamicObject;
1 2 3 initialShape Lcom/oracle/truffle/api/object/Shape;
MethodParameters:
Name Flags
context
prototype
public static com.oracle.truffle.js.runtime.builtins.JSConstructor createConstructor(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/js/runtime/builtins/JSConstructor;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.js.runtime.builtins.JSWeakRef.INSTANCE:Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSWeakRef.createConstructorAndPrototype:(Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/js/runtime/builtins/JSConstructor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 realm Lcom/oracle/truffle/js/runtime/JSRealm;
MethodParameters:
Name Flags
realm
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "WeakRef"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
public java.lang.String getClassName(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSWeakRef.getClassName:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
0 1 1 object Lcom/oracle/truffle/api/object/DynamicObject;
MethodParameters:
Name Flags
object
public java.lang.String toDisplayStringImpl(com.oracle.truffle.api.object.DynamicObject, int, boolean, com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;IZLcom/oracle/truffle/js/runtime/JSContext;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
ldc "["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.oracle.truffle.js.runtime.builtins.JSWeakRef.getClassName:()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;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
0 1 1 obj Lcom/oracle/truffle/api/object/DynamicObject;
0 1 2 depth I
0 1 3 allowSideEffects Z
0 1 4 context Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
obj
depth
allowSideEffects
context
public static boolean isJSWeakRef(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.oracle.truffle.js.runtime.builtins.JSWeakRefObject
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public com.oracle.truffle.api.object.DynamicObject getIntrinsicDefaultProto(com.oracle.truffle.js.runtime.JSRealm);
descriptor: (Lcom/oracle/truffle/js/runtime/JSRealm;)Lcom/oracle/truffle/api/object/DynamicObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getWeakRefPrototype:()Lcom/oracle/truffle/api/object/DynamicObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/builtins/JSWeakRef;
0 1 1 realm Lcom/oracle/truffle/js/runtime/JSRealm;
MethodParameters:
Name Flags
realm
}
SourceFile: "JSWeakRef.java"
NestMembers:
com.oracle.truffle.js.runtime.builtins.JSWeakRef$TruffleWeakReference
InnerClasses:
public abstract Default = com.oracle.truffle.js.runtime.builtins.JSConstructorFactory$Default of com.oracle.truffle.js.runtime.builtins.JSConstructorFactory
public final TruffleWeakReference = com.oracle.truffle.js.runtime.builtins.JSWeakRef$TruffleWeakReference of com.oracle.truffle.js.runtime.builtins.JSWeakRef