public abstract class com.oracle.truffle.js.runtime.JSAgent implements com.oracle.truffle.js.runtime.EcmaAgent
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.runtime.JSAgent
super_class: java.lang.Object
{
private static final java.util.concurrent.atomic.AtomicInteger signifierGenerator;
descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final int signifier;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean canBlock;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean inAtomicSection;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean inCriticalSection;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final java.util.Deque<com.oracle.truffle.api.object.DynamicObject> promiseJobsQueue;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Lcom/oracle/truffle/api/object/DynamicObject;>;
private int interopCallStackDepth;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private org.graalvm.collections.EconomicSet<java.lang.Object> weakRefTargets;
descriptor: Lorg/graalvm/collections/EconomicSet;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/graalvm/collections/EconomicSet<Ljava/lang/Object;>;
private final java.util.Deque<java.lang.ref.WeakReference<com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject>> finalizationRegistryQueue;
descriptor: Ljava/util/Deque;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Deque<Ljava/lang/ref/WeakReference<Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;>;>;
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=3, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/runtime/JSAgent;
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.JSAgent.$assertionsDisabled:Z
3: new java.util.concurrent.atomic.AtomicInteger
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
putstatic com.oracle.truffle.js.runtime.JSAgent.signifierGenerator:Ljava/util/concurrent/atomic/AtomicInteger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(boolean);
descriptor: (Z)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
getstatic com.oracle.truffle.js.runtime.JSAgent.signifierGenerator:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
putfield com.oracle.truffle.js.runtime.JSAgent.signifier:I
2: aload 0
iload 1
putfield com.oracle.truffle.js.runtime.JSAgent.canBlock:Z
3: aload 0
new java.util.ArrayDeque
dup
iconst_4
invokespecial java.util.ArrayDeque.<init>:(I)V
putfield com.oracle.truffle.js.runtime.JSAgent.promiseJobsQueue:Ljava/util/Deque;
4: aload 0
new java.util.ArrayDeque
dup
iconst_4
invokespecial java.util.ArrayDeque.<init>:(I)V
putfield com.oracle.truffle.js.runtime.JSAgent.finalizationRegistryQueue:Ljava/util/Deque;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 6 1 canBlock Z
MethodParameters:
Name Flags
canBlock
public abstract void wakeAgent(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
w
public int getSignifier();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.signifier:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
public boolean canBlock();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.canBlock:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
public boolean inCriticalSection();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.inCriticalSection:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
public void criticalSectionEnter(com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry);
descriptor: (Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.runtime.JSAgent.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.inCriticalSection:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.lock:()V
2: aload 0
iconst_1
putfield com.oracle.truffle.js.runtime.JSAgent.inCriticalSection:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 4 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
MethodParameters:
Name Flags
wl
public void criticalSectionLeave(com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry);
descriptor: (Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.runtime.JSAgent.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.inCriticalSection:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.oracle.truffle.js.runtime.JSAgent.inCriticalSection:Z
2: aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.unlock:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 4 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
MethodParameters:
Name Flags
wl
public void atomicSectionEnter(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.runtime.JSAgent.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.inAtomicSection:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.runtime.JSAgent.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.isJSArrayBufferView:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.getArrayBuffer:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 2
start local 2 3: aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSSharedArrayBuffer.getWaiterList:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSAgentWaiterList;
astore 3
start local 3 4: aload 3
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList.lock:()V
5: aload 0
iconst_1
putfield com.oracle.truffle.js.runtime.JSAgent.inAtomicSection:Z
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 7 1 target Lcom/oracle/truffle/api/object/DynamicObject;
3 7 2 arrayBuffer Lcom/oracle/truffle/api/object/DynamicObject;
4 7 3 waiterList Lcom/oracle/truffle/js/runtime/JSAgentWaiterList;
MethodParameters:
Name Flags
target
public void atomicSectionLeave(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.runtime.JSAgent.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.inAtomicSection:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.runtime.JSAgent.$assertionsDisabled:Z
ifne 2
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.isJSArrayBufferView:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.getArrayBuffer:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 2
start local 2 3: aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSSharedArrayBuffer.getWaiterList:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSAgentWaiterList;
astore 3
start local 3 4: aload 0
iconst_0
putfield com.oracle.truffle.js.runtime.JSAgent.inAtomicSection:Z
5: aload 3
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList.unlock:()V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 7 1 target Lcom/oracle/truffle/api/object/DynamicObject;
3 7 2 arrayBuffer Lcom/oracle/truffle/api/object/DynamicObject;
4 7 3 waiterList Lcom/oracle/truffle/js/runtime/JSAgentWaiterList;
MethodParameters:
Name Flags
target
public final void enqueuePromiseJob(com.oracle.truffle.api.object.DynamicObject);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.promiseJobsQueue:Ljava/util/Deque;
aload 1
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 2 1 job Lcom/oracle/truffle/api/object/DynamicObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
job
public final void processAllPromises(boolean);
descriptor: (Z)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: goto 11
1: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.promiseJobsQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.pollLast:()Ljava/lang/Object;
checkcast com.oracle.truffle.api.object.DynamicObject
astore 2
start local 2 2: aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.isJSFunction:(Ljava/lang/Object;)Z
ifeq 11
3: aload 2
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.getRealm:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSRealm;
astore 3
start local 3 4: aload 3
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getTruffleContext:()Lcom/oracle/truffle/api/TruffleContext;
aconst_null
invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
astore 4
start local 4 5: aload 2
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
getstatic com.oracle.truffle.js.runtime.JSArguments.EMPTY_ARGUMENTS_ARRAY:[Ljava/lang/Object;
invokestatic com.oracle.truffle.js.runtime.builtins.JSFunction.call:(Lcom/oracle/truffle/api/object/DynamicObject;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
6: goto 10
StackMap locals: com.oracle.truffle.js.runtime.JSAgent int com.oracle.truffle.api.object.DynamicObject com.oracle.truffle.js.runtime.JSRealm java.lang.Object
StackMap stack: java.lang.Throwable
7: astore 5
8: aload 3
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getTruffleContext:()Lcom/oracle/truffle/api/TruffleContext;
aconst_null
aload 4
invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
9: aload 5
athrow
10: StackMap locals:
StackMap stack:
aload 3
invokevirtual com.oracle.truffle.js.runtime.JSRealm.getTruffleContext:()Lcom/oracle/truffle/api/TruffleContext;
aconst_null
aload 4
invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
end local 4 end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.promiseJobsQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 1
12: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 6
14: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.promiseJobsQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.clear:()V
15: iload 1
ifeq 19
16: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.weakRefTargets:Lorg/graalvm/collections/EconomicSet;
ifnull 18
17: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.weakRefTargets:Lorg/graalvm/collections/EconomicSet;
invokeinterface org.graalvm.collections.EconomicSet.clear:()V
18: StackMap locals: com.oracle.truffle.js.runtime.JSAgent int top top top top java.lang.Throwable
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSAgent.cleanupFinalizers:()V
19: StackMap locals:
StackMap stack:
aload 6
athrow
20: StackMap locals: com.oracle.truffle.js.runtime.JSAgent int
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.promiseJobsQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.clear:()V
21: iload 1
ifeq 25
22: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.weakRefTargets:Lorg/graalvm/collections/EconomicSet;
ifnull 24
23: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.weakRefTargets:Lorg/graalvm/collections/EconomicSet;
invokeinterface org.graalvm.collections.EconomicSet.clear:()V
24: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSAgent.cleanupFinalizers:()V
25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 26 1 processWeakRefs Z
2 11 2 nextJob Lcom/oracle/truffle/api/object/DynamicObject;
4 11 3 functionRealm Lcom/oracle/truffle/js/runtime/JSRealm;
5 11 4 prev Ljava/lang/Object;
Exception table:
from to target type
5 7 7 any
0 13 13 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
processWeakRefs
private void cleanupFinalizers();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=4, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.finalizationRegistryQueue:Ljava/util/Deque;
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: goto 8
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ref.WeakReference
astore 2
start local 2 3: aload 2
invokevirtual java.lang.ref.WeakReference.get:()Ljava/lang/Object;
checkcast com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject
astore 3
start local 3 4: aload 3
ifnonnull 7
5: aload 1
invokeinterface java.util.Iterator.remove:()V
6: goto 8
7: StackMap locals: java.lang.ref.WeakReference com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject
StackMap stack:
aload 3
invokestatic com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistry.hostCleanupFinalizationRegistry:(Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;)V
end local 3 end local 2 8: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 1 9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
1 9 1 iter Ljava/util/Iterator<Ljava/lang/ref/WeakReference<Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;>;>;
3 8 2 ref Ljava/lang/ref/WeakReference<Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;>;
4 8 3 fr Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
public final void interopBoundaryEnter();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.oracle.truffle.js.runtime.JSAgent.interopCallStackDepth:I
iconst_1
iadd
putfield com.oracle.truffle.js.runtime.JSAgent.interopCallStackDepth:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
public final boolean interopBoundaryExit();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.oracle.truffle.js.runtime.JSAgent.interopCallStackDepth:I
iconst_1
isub
dup_x1
putfield com.oracle.truffle.js.runtime.JSAgent.interopCallStackDepth:I
ifne 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 Lcom/oracle/truffle/js/runtime/JSAgent;
public boolean addWeakRefTargetToSet(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.weakRefTargets:Lorg/graalvm/collections/EconomicSet;
ifnonnull 2
1: aload 0
getstatic org.graalvm.collections.Equivalence.IDENTITY:Lorg/graalvm/collections/Equivalence;
invokestatic org.graalvm.collections.EconomicSet.create:(Lorg/graalvm/collections/Equivalence;)Lorg/graalvm/collections/EconomicSet;
putfield com.oracle.truffle.js.runtime.JSAgent.weakRefTargets:Lorg/graalvm/collections/EconomicSet;
2: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.weakRefTargets:Lorg/graalvm/collections/EconomicSet;
aload 1
invokeinterface org.graalvm.collections.EconomicSet.add:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 3 1 target Ljava/lang/Object;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
target
public void registerFinalizationRegistry(com.oracle.truffle.js.runtime.builtins.JSFinalizationRegistryObject);
descriptor: (Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.js.runtime.JSAgent.finalizationRegistryQueue:Ljava/util/Deque;
new java.lang.ref.WeakReference
dup
aload 1
invokespecial java.lang.ref.WeakReference.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Deque.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/runtime/JSAgent;
0 2 1 finalizationRegistry Lcom/oracle/truffle/js/runtime/builtins/JSFinalizationRegistryObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
finalizationRegistry
}
SourceFile: "JSAgent.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public final JSAgentWaiterListEntry = com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry of com.oracle.truffle.js.runtime.JSAgentWaiterList