public final class com.oracle.truffle.js.runtime.util.DirectByteBufferHelper
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.js.runtime.util.DirectByteBufferHelper
super_class: java.lang.Object
{
private static final java.lang.Class<? extends java.nio.ByteBuffer> DIRECT_BYTE_BUFFER_CLASS;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<+Ljava/nio/ByteBuffer;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
putstatic com.oracle.truffle.js.runtime.util.DirectByteBufferHelper.DIRECT_BYTE_BUFFER_CLASS:Ljava/lang/Class;
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/runtime/util/DirectByteBufferHelper;
private static java.nio.ByteBuffer allocateDirectImpl(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
invokestatic java.nio.ByteOrder.nativeOrder:()Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 length I
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
length
public static java.nio.ByteBuffer allocateDirect(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic com.oracle.truffle.js.runtime.util.DirectByteBufferHelper.allocateDirectImpl:(I)Ljava/nio/ByteBuffer;
invokestatic com.oracle.truffle.js.runtime.util.DirectByteBufferHelper.cast:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 length I
MethodParameters:
Name Flags
length
public static java.nio.ByteBuffer cast(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.oracle.truffle.js.runtime.util.DirectByteBufferHelper.DIRECT_BYTE_BUFFER_CLASS:Ljava/lang/Class;
invokestatic com.oracle.truffle.api.CompilerDirectives.castExact:(Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.nio.ByteBuffer
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
}
SourceFile: "DirectByteBufferHelper.java"
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives