public final class com.oracle.truffle.js.builtins.helper.SharedMemorySync
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.builtins.helper.SharedMemorySync
super_class: java.lang.Object
{
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=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/js/builtins/helper/SharedMemorySync;
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.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
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 java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/js/builtins/helper/SharedMemorySync;
public static int doVolatileGet(com.oracle.truffle.api.object.DynamicObject, int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.js.runtime.util.Fences.acquireFence:()V
1: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/TypedArray;
astore 2
start local 2 2: aload 2
checkcast com.oracle.truffle.js.runtime.array.TypedArray$TypedIntArray
astore 3
start local 3 3: aload 3
aload 0
iload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray$TypedIntArray.getInt:(Lcom/oracle/truffle/api/object/DynamicObject;I)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 target Lcom/oracle/truffle/api/object/DynamicObject;
0 4 1 intArrayOffset I
2 4 2 array Lcom/oracle/truffle/js/runtime/array/TypedArray;
3 4 3 typedArray Lcom/oracle/truffle/js/runtime/array/TypedArray$TypedIntArray<*>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
target
intArrayOffset
public static com.oracle.truffle.js.runtime.BigInt doVolatileGetBigInt(com.oracle.truffle.api.object.DynamicObject, int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;I)Lcom/oracle/truffle/js/runtime/BigInt;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.js.runtime.util.Fences.acquireFence:()V
1: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/TypedArray;
astore 2
start local 2 2: aload 2
checkcast com.oracle.truffle.js.runtime.array.TypedArray$TypedBigIntArray
astore 3
start local 3 3: aload 3
aload 0
iload 1
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray$TypedBigIntArray.getBigInt:(Lcom/oracle/truffle/api/object/DynamicObject;I)Lcom/oracle/truffle/js/runtime/BigInt;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 target Lcom/oracle/truffle/api/object/DynamicObject;
0 4 1 intArrayOffset I
2 4 2 array Lcom/oracle/truffle/js/runtime/array/TypedArray;
3 4 3 typedArray Lcom/oracle/truffle/js/runtime/array/TypedArray$TypedBigIntArray<*>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
target
intArrayOffset
public static void doVolatilePut(com.oracle.truffle.api.object.DynamicObject, int, int);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/TypedArray;
astore 3
start local 3 1: aload 3
checkcast com.oracle.truffle.js.runtime.array.TypedArray$TypedIntArray
astore 4
start local 4 2: aload 4
aload 0
iload 1
iload 2
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray$TypedIntArray.setInt:(Lcom/oracle/truffle/api/object/DynamicObject;II)V
3: invokestatic com.oracle.truffle.js.runtime.util.Fences.releaseFence:()V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 target Lcom/oracle/truffle/api/object/DynamicObject;
0 5 1 index I
0 5 2 value I
1 5 3 array Lcom/oracle/truffle/js/runtime/array/TypedArray;
2 5 4 typedArray Lcom/oracle/truffle/js/runtime/array/TypedArray$TypedIntArray<*>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
target
index
value
public static void doVolatilePutBigInt(com.oracle.truffle.api.object.DynamicObject, int, com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/BigInt;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.typedArrayGetArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/TypedArray;
astore 3
start local 3 1: aload 3
checkcast com.oracle.truffle.js.runtime.array.TypedArray$TypedBigIntArray
astore 4
start local 4 2: aload 4
aload 0
iload 1
aload 2
invokevirtual com.oracle.truffle.js.runtime.array.TypedArray$TypedBigIntArray.setBigInt:(Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/BigInt;)V
3: invokestatic com.oracle.truffle.js.runtime.util.Fences.releaseFence:()V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 target Lcom/oracle/truffle/api/object/DynamicObject;
0 5 1 index I
0 5 2 value Lcom/oracle/truffle/js/runtime/BigInt;
1 5 3 array Lcom/oracle/truffle/js/runtime/array/TypedArray;
2 5 4 typedArray Lcom/oracle/truffle/js/runtime/array/TypedArray$TypedBigIntArray<*>;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
target
index
value
public static boolean compareAndSwapInt(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, int, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;III)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGet:(Lcom/oracle/truffle/api/object/DynamicObject;I)I
istore 5
start local 5 2: iload 5
iload 3
if_icmpne 6
3: aload 1
iload 2
iload 4
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePut:(Lcom/oracle/truffle/api/object/DynamicObject;II)V
4: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
5: iconst_1
ireturn
6: StackMap locals: int
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
7: iconst_0
ireturn
end local 5 8: StackMap locals: com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.api.object.DynamicObject int int int
StackMap stack: java.lang.Throwable
astore 6
9: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
10: aload 6
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 11 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 11 2 intArrayOffset I
0 11 3 initial I
0 11 4 result I
2 8 5 value I
Exception table:
from to target type
1 4 8 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
initial
result
public static boolean compareAndSwapBigInt(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, com.oracle.truffle.js.runtime.BigInt, com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/BigInt;Lcom/oracle/truffle/js/runtime/BigInt;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGetBigInt:(Lcom/oracle/truffle/api/object/DynamicObject;I)Lcom/oracle/truffle/js/runtime/BigInt;
astore 5
start local 5 2: aload 5
aload 3
invokevirtual com.oracle.truffle.js.runtime.BigInt.compareTo:(Lcom/oracle/truffle/js/runtime/BigInt;)I
ifne 6
3: aload 1
iload 2
aload 4
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePutBigInt:(Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/BigInt;)V
4: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
5: iconst_1
ireturn
6: StackMap locals: com.oracle.truffle.js.runtime.BigInt
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
7: iconst_0
ireturn
end local 5 8: StackMap locals: com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.api.object.DynamicObject int com.oracle.truffle.js.runtime.BigInt com.oracle.truffle.js.runtime.BigInt
StackMap stack: java.lang.Throwable
astore 6
9: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
10: aload 6
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 11 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 11 2 intArrayOffset I
0 11 3 initial Lcom/oracle/truffle/js/runtime/BigInt;
0 11 4 result Lcom/oracle/truffle/js/runtime/BigInt;
2 8 5 value Lcom/oracle/truffle/js/runtime/BigInt;
Exception table:
from to target type
1 4 8 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
initial
result
public static long atomicFetchOrGetUnsigned(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, java.lang.Object, java.lang.Object);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;ILjava/lang/Object;Ljava/lang/Object;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGet:(Lcom/oracle/truffle/api/object/DynamicObject;I)I
i2l
invokestatic com.oracle.truffle.js.runtime.JSRuntime.toUInt32:(J)J
lstore 5
start local 5 2: lload 5
aload 3
invokestatic com.oracle.truffle.js.runtime.JSRuntime.toUInt32:(Ljava/lang/Object;)J
lcmp
ifne 4
3: aload 1
iload 2
aload 4
invokestatic com.oracle.truffle.js.runtime.JSRuntime.toUInt32:(Ljava/lang/Object;)J
l2i
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePut:(Lcom/oracle/truffle/api/object/DynamicObject;II)V
4: StackMap locals: long
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
5: lload 5
lreturn
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 6 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 6 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 6 2 intArrayOffset I
0 6 3 expected Ljava/lang/Object;
0 6 4 replacement Ljava/lang/Object;
2 6 5 read J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
expected
replacement
public static long atomicFetchOrGetLong(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, long, long);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;IJJ)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=11, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGet:(Lcom/oracle/truffle/api/object/DynamicObject;I)I
istore 7
start local 7 2: iload 7
i2l
lload 3
lcmp
ifne 4
3: aload 1
iload 2
lload 5
l2i
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePut:(Lcom/oracle/truffle/api/object/DynamicObject;II)V
4: StackMap locals: int
StackMap stack:
iload 7
i2l
lstore 9
5: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
6: lload 9
lreturn
end local 7 7: StackMap locals: com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.api.object.DynamicObject int long long
StackMap stack: java.lang.Throwable
astore 8
8: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
9: aload 8
athrow
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 10 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 10 2 intArrayOffset I
0 10 3 expected J
0 10 5 replacement J
2 7 7 read I
Exception table:
from to target type
1 5 7 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
expected
replacement
public static int atomicFetchOrGetInt(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, int, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;III)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGet:(Lcom/oracle/truffle/api/object/DynamicObject;I)I
istore 5
start local 5 2: iload 5
iload 3
if_icmpne 4
3: aload 1
iload 2
iload 4
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePut:(Lcom/oracle/truffle/api/object/DynamicObject;II)V
4: StackMap locals: int
StackMap stack:
iload 5
istore 7
5: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
6: iload 7
ireturn
end local 5 7: StackMap locals: com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.api.object.DynamicObject int int int
StackMap stack: java.lang.Throwable
astore 6
8: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
9: aload 6
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 10 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 10 2 intArrayOffset I
0 10 3 expected I
0 10 4 replacement I
2 7 5 read I
Exception table:
from to target type
1 5 7 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
expected
replacement
public static int atomicFetchOrGetShort(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, int, int, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;IIIZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGet:(Lcom/oracle/truffle/api/object/DynamicObject;I)I
istore 6
start local 6 2: iload 5
ifeq 3
iload 6
goto 4
StackMap locals: int
StackMap stack:
3: iload 6
ldc 65535
iand
StackMap locals:
StackMap stack: int
4: istore 6
5: iload 5
ifeq 6
iload 3
i2s
goto 7
StackMap locals:
StackMap stack:
6: iload 3
ldc 65535
iand
StackMap locals:
StackMap stack: int
7: istore 7
start local 7 8: iload 6
iload 7
if_icmpne 13
9: iload 5
ifeq 10
iload 4
goto 11
StackMap locals: int
StackMap stack:
10: iload 4
ldc 65535
iand
StackMap locals:
StackMap stack: int
11: istore 8
start local 8 12: aload 1
iload 2
iload 8
i2s
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePut:(Lcom/oracle/truffle/api/object/DynamicObject;II)V
end local 8 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
14: iload 6
ireturn
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 15 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 15 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 15 2 intArrayOffset I
0 15 3 expected I
0 15 4 replacement I
0 15 5 sign Z
2 15 6 read I
8 15 7 expectedChopped I
12 13 8 signed I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
expected
replacement
sign
public static int atomicFetchOrGetByte(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, int, int, boolean);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;IIIZ)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=11, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGet:(Lcom/oracle/truffle/api/object/DynamicObject;I)I
istore 6
start local 6 2: iload 5
ifeq 3
iload 6
goto 4
StackMap locals: int
StackMap stack:
3: iload 6
sipush 255
iand
StackMap locals:
StackMap stack: int
4: istore 6
5: iload 5
ifeq 6
iload 3
i2b
goto 7
StackMap locals:
StackMap stack:
6: iload 3
sipush 255
iand
StackMap locals:
StackMap stack: int
7: istore 7
start local 7 8: iload 6
iload 7
if_icmpne 13
9: iload 5
ifeq 10
iload 4
goto 11
StackMap locals: int
StackMap stack:
10: iload 4
sipush 255
iand
StackMap locals:
StackMap stack: int
11: istore 8
start local 8 12: aload 1
iload 2
iload 8
i2b
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePut:(Lcom/oracle/truffle/api/object/DynamicObject;II)V
end local 8 13: StackMap locals:
StackMap stack:
iload 6
istore 10
14: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
15: iload 10
ireturn
end local 7 end local 6 16: StackMap locals: com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.api.object.DynamicObject int int int int
StackMap stack: java.lang.Throwable
astore 9
17: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
18: aload 9
athrow
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 19 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 19 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 19 2 intArrayOffset I
0 19 3 expected I
0 19 4 replacement I
0 19 5 sign Z
2 16 6 read I
8 16 7 expectedChopped I
12 13 8 signed I
Exception table:
from to target type
1 14 16 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
expected
replacement
sign
public static com.oracle.truffle.js.runtime.BigInt atomicFetchOrGetBigInt(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int, com.oracle.truffle.js.runtime.BigInt, com.oracle.truffle.js.runtime.BigInt);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/BigInt;Lcom/oracle/truffle/js/runtime/BigInt;)Lcom/oracle/truffle/js/runtime/BigInt;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionEnter:(Lcom/oracle/truffle/api/object/DynamicObject;)V
1: aload 1
iload 2
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatileGetBigInt:(Lcom/oracle/truffle/api/object/DynamicObject;I)Lcom/oracle/truffle/js/runtime/BigInt;
astore 5
start local 5 2: aload 5
aload 3
invokevirtual com.oracle.truffle.js.runtime.BigInt.compareTo:(Lcom/oracle/truffle/js/runtime/BigInt;)I
ifne 4
3: aload 1
iload 2
aload 4
invokestatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.doVolatilePutBigInt:(Lcom/oracle/truffle/api/object/DynamicObject;ILcom/oracle/truffle/js/runtime/BigInt;)V
4: StackMap locals: com.oracle.truffle.js.runtime.BigInt
StackMap stack:
aload 5
astore 7
5: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
6: aload 7
areturn
end local 5 7: StackMap locals: com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.api.object.DynamicObject int com.oracle.truffle.js.runtime.BigInt com.oracle.truffle.js.runtime.BigInt
StackMap stack: java.lang.Throwable
astore 6
8: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.atomicSectionLeave:(Lcom/oracle/truffle/api/object/DynamicObject;)V
9: aload 6
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 10 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 10 2 intArrayOffset I
0 10 3 expected Lcom/oracle/truffle/js/runtime/BigInt;
0 10 4 replacement Lcom/oracle/truffle/js/runtime/BigInt;
2 7 5 read Lcom/oracle/truffle/js/runtime/BigInt;
Exception table:
from to target type
1 5 7 any
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
target
intArrayOffset
expected
replacement
public static com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry getWaiterList(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.api.object.DynamicObject, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/api/object/DynamicObject;I)Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.oracle.truffle.js.runtime.builtins.JSArrayBufferView.getArrayBuffer:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
astore 3
start local 3 1: aload 3
invokestatic com.oracle.truffle.js.runtime.builtins.JSSharedArrayBuffer.getWaiterList:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/JSAgentWaiterList;
astore 4
start local 4 2: aload 4
iload 2
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList.getListForIndex:(I)Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 3 1 target Lcom/oracle/truffle/api/object/DynamicObject;
0 3 2 indexPos I
1 3 3 arrayBuffer Lcom/oracle/truffle/api/object/DynamicObject;
2 3 4 waiterList Lcom/oracle/truffle/js/runtime/JSAgentWaiterList;
MethodParameters:
Name Flags
cx
target
indexPos
public static void enterCriticalSection(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual 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 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.criticalSectionEnter:(Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 3 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
wl
public static void leaveCriticalSection(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.criticalSectionLeave:(Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 2 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
wl
public static boolean agentCanSuspend(com.oracle.truffle.js.runtime.JSContext);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual com.oracle.truffle.js.runtime.JSAgent.canBlock:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
MethodParameters:
Name Flags
cx
public static void addWaiter(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual 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:
getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 2
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.contains:(Ljava/lang/Object;)Z
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.add:(Ljava/lang/Object;)Z
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 4 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
0 4 2 id I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
wl
id
public static void removeWaiter(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual 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:
getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 2
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.contains:(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
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.remove:(Ljava/lang/Object;)Z
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 4 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
0 4 2 w I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
wl
w
public static boolean suspendAgent(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry, int, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;II)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual 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:
getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 2
aload 1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.contains:(Ljava/lang/Object;)Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 3
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual com.oracle.truffle.js.runtime.JSAgent.getSignifier:()I
iload 2
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 4
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual com.oracle.truffle.js.runtime.JSAgent.canBlock:()Z
ifne 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.criticalSectionLeave:(Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
5: iconst_0
istore 4
start local 4 6: iload 3
i2l
invokestatic java.lang.Thread.sleep:(J)V
7: goto 10
StackMap locals: com.oracle.truffle.js.runtime.JSContext com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry int int int
StackMap stack: java.lang.InterruptedException
8: pop
9: iconst_1
istore 4
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.criticalSectionEnter:(Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;)V
11: iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 12 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
0 12 2 w I
0 12 3 timeout I
6 12 4 interrupt Z
Exception table:
from to target type
6 7 8 Class java.lang.InterruptedException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
wl
w
timeout
public static void wakeWaiter(com.oracle.truffle.js.runtime.JSContext, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual 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
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
iload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgent.wakeAgent:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 3 1 w I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
w
public static int[] removeWaiters(com.oracle.truffle.js.runtime.JSContext, com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry, int);
descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;I)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.oracle.truffle.js.builtins.helper.SharedMemorySync.$assertionsDisabled:Z
ifne 1
aload 0
invokevirtual com.oracle.truffle.js.runtime.JSContext.getJSAgent:()Lcom/oracle/truffle/js/runtime/JSAgent;
invokevirtual 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 1
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.size:()I
iload 2
invokestatic java.lang.Integer.min:(II)I
istore 3
start local 3 2: iload 3
newarray 10
astore 4
start local 4 3: goto 5
4: StackMap locals: int int[]
StackMap stack:
aload 4
iload 3
aload 1
invokevirtual com.oracle.truffle.js.runtime.JSAgentWaiterList$JSAgentWaiterListEntry.poll:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iastore
5: StackMap locals:
StackMap stack:
iload 3
iinc 3 -1
ifgt 4
6: 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 7 0 cx Lcom/oracle/truffle/js/runtime/JSContext;
0 7 1 wl Lcom/oracle/truffle/js/runtime/JSAgentWaiterList$JSAgentWaiterListEntry;
0 7 2 count I
2 7 3 c I
3 7 4 removed [I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
cx
wl
count
}
SourceFile: "SharedMemorySync.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
public abstract TypedBigIntArray = com.oracle.truffle.js.runtime.array.TypedArray$TypedBigIntArray of com.oracle.truffle.js.runtime.array.TypedArray
public abstract TypedIntArray = com.oracle.truffle.js.runtime.array.TypedArray$TypedIntArray of com.oracle.truffle.js.runtime.array.TypedArray