public abstract class com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode extends com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsOperationNode
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode
super_class: com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsOperationNode
{
public void <init>(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.nodes.function.JSBuiltin);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsOperationNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/nodes/function/JSBuiltin;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/AtomicsBuiltins$AtomicsWakeNode;
0 2 1 context Lcom/oracle/truffle/js/runtime/JSContext;
0 2 2 builtin Lcom/oracle/truffle/js/nodes/function/JSBuiltin;
MethodParameters:
Name Flags
context
builtin
protected java.lang.Object doGeneric(java.lang.Object, java.lang.Object, java.lang.Object, com.oracle.truffle.js.nodes.cast.JSToIndexNode, com.oracle.truffle.js.nodes.cast.JSToInt32Node);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Lcom/oracle/truffle/js/nodes/cast/JSToIndexNode;Lcom/oracle/truffle/js/nodes/cast/JSToInt32Node;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, 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
aload 1
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.ensureDynamicObject:(Ljava/lang/Object;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 6
start local 6 1: aload 0
aload 6
iconst_1
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.validateSharedIntegerTypedArray:(Lcom/oracle/truffle/api/object/DynamicObject;Z)Lcom/oracle/truffle/js/runtime/array/TypedArray;
pop
2: aload 6
aload 4
aload 2
invokevirtual com.oracle.truffle.js.nodes.cast.JSToIndexNode.executeLong:(Ljava/lang/Object;)J
aload 2
invokestatic com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.validateAtomicAccess:(Lcom/oracle/truffle/api/object/DynamicObject;JLjava/lang/Object;)I
istore 7
start local 7 3: ldc 2147483647
istore 8
start local 8 4: aload 3
getstatic com.oracle.truffle.js.runtime.objects.Undefined.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
if_acmpeq 7
5: aload 5
aload 3
invokevirtual com.oracle.truffle.js.nodes.cast.JSToInt32Node.executeInt:(Ljava/lang/Object;)I
istore 9
start local 9 6: iload 9
iconst_0
invokestatic java.lang.Integer.max:(II)I
istore 8
end local 9 7: StackMap locals: com.oracle.truffle.api.object.DynamicObject int int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 6
iload 7
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.getWaiterList:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;I)Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
astore 9
start local 9 8: aload 0
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 9
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.enterCriticalSection:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
9: aload 0
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 9
iload 8
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.removeWaiters:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;I)[I
astore 10
start local 10 10: iconst_0
istore 11
start local 11 11: goto 14
12: StackMap locals: com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry int[] int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 10
iload 11
iaload
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.wakeWaiter:(Lcom/oracle/truffle/js/runtime/JSContext;I)V
13: iinc 11 1
StackMap locals:
StackMap stack:
14: iload 11
aload 10
arraylength
if_icmplt 12
15: iload 11
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 13
16: aload 0
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 9
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.leaveCriticalSection:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
17: aload 13
areturn
end local 11 end local 10 18: StackMap locals: com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode java.lang.Object java.lang.Object java.lang.Object com.oracle.truffle.js.nodes.cast.JSToIndexNode com.oracle.truffle.js.nodes.cast.JSToInt32Node com.oracle.truffle.api.object.DynamicObject int int com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry
StackMap stack: java.lang.Throwable
astore 12
19: aload 0
invokevirtual com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode.getContext:()Lcom/oracle/truffle/js/runtime/JSContext;
aload 9
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.leaveCriticalSection:(Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
20: aload 12
athrow
end local 9 end local 8 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 21 0 this Lcom/oracle/truffle/js/builtins/AtomicsBuiltins$AtomicsWakeNode;
0 21 1 maybeTarget Ljava/lang/Object;
0 21 2 index Ljava/lang/Object;
0 21 3 count Ljava/lang/Object;
0 21 4 toIndexNode Lcom/oracle/truffle/js/nodes/cast/JSToIndexNode;
0 21 5 toInt32Node Lcom/oracle/truffle/js/nodes/cast/JSToInt32Node;
1 21 6 target Lcom/oracle/truffle/api/object/DynamicObject;
3 21 7 i I
4 21 8 c I
6 7 9 tmp I
8 21 9 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
10 18 10 waiters [I
11 18 11 n I
Exception table:
from to target type
9 16 18 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization()
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
3:
com.oracle.truffle.api.dsl.Cached(value = "create()")
4:
com.oracle.truffle.api.dsl.Cached(value = "create()")
MethodParameters:
Name Flags
maybeTarget
index
count
toIndexNode
toInt32Node
}
SourceFile: "AtomicsBuiltins.java"
NestHost: com.oracle.truffle.js.builtins.AtomicsBuiltins
InnerClasses:
public abstract AtomicsOperationNode = com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsOperationNode of com.oracle.truffle.js.builtins.AtomicsBuiltins
public abstract AtomicsWakeNode = com.oracle.truffle.js.builtins.AtomicsBuiltins$AtomicsWakeNode of com.oracle.truffle.js.builtins.AtomicsBuiltins
public final JSAgentWaiterListEntry = com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry of com.oracle.truffle.js.runtime.JSAgentWaiterList