public class com.sun.prism.impl.BufferUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.prism.impl.BufferUtil
super_class: java.lang.Object
{
public static final int SIZEOF_BYTE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int SIZEOF_SHORT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int SIZEOF_INT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int SIZEOF_FLOAT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int SIZEOF_DOUBLE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static boolean isCDCFP;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Class byteOrderClass;
descriptor: Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.Object nativeOrderObject;
descriptor: Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.reflect.Method orderMethod;
descriptor: Ljava/lang/reflect/Method;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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/sun/prism/impl/BufferUtil;
public static void nativeOrder(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: getstatic com.sun.prism.impl.BufferUtil.isCDCFP:Z
ifne 14
1: getstatic com.sun.prism.impl.BufferUtil.byteOrderClass:Ljava/lang/Class;
ifnonnull 10
2: invokedynamic run()Ljava/security/PrivilegedExceptionAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/prism/impl/BufferUtil.lambda$0()Ljava/lang/Object; (6)
()Ljava/lang/Object;
3: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.Class
putstatic com.sun.prism.impl.BufferUtil.byteOrderClass:Ljava/lang/Class;
4: ldc Ljava/nio/ByteBuffer;
ldc "order"
iconst_1
anewarray java.lang.Class
dup
iconst_0
getstatic com.sun.prism.impl.BufferUtil.byteOrderClass:Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
putstatic com.sun.prism.impl.BufferUtil.orderMethod:Ljava/lang/reflect/Method;
5: getstatic com.sun.prism.impl.BufferUtil.byteOrderClass:Ljava/lang/Class;
ldc "nativeOrder"
aconst_null
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 1
start local 1 6: aload 1
aconst_null
aconst_null
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
putstatic com.sun.prism.impl.BufferUtil.nativeOrderObject:Ljava/lang/Object;
end local 1 7: goto 10
StackMap locals:
StackMap stack: java.lang.Throwable
8: pop
9: iconst_1
putstatic com.sun.prism.impl.BufferUtil.isCDCFP:Z
10: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.BufferUtil.isCDCFP:Z
ifne 14
11: getstatic com.sun.prism.impl.BufferUtil.orderMethod:Ljava/lang/reflect/Method;
aload 0
iconst_1
anewarray java.lang.Object
dup
iconst_0
getstatic com.sun.prism.impl.BufferUtil.nativeOrderObject:Ljava/lang/Object;
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
12: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
13: pop
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 buf Ljava/nio/ByteBuffer;
6 7 1 nativeOrderMethod Ljava/lang/reflect/Method;
Exception table:
from to target type
1 7 8 Class java.lang.Throwable
11 12 13 Class java.lang.Throwable
MethodParameters:
Name Flags
buf
public static java.nio.ByteBuffer newByteBuffer(int);
descriptor: (I)Ljava/nio/ByteBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iload 0
invokestatic java.nio.ByteBuffer.allocateDirect:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
invokestatic com.sun.prism.impl.BufferUtil.nativeOrder:(Ljava/nio/ByteBuffer;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 numElements I
1 3 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
numElements
public static java.nio.DoubleBuffer newDoubleBuffer(int);
descriptor: (I)Ljava/nio/DoubleBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
bipush 8
imul
invokestatic com.sun.prism.impl.BufferUtil.newByteBuffer:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
invokevirtual java.nio.ByteBuffer.asDoubleBuffer:()Ljava/nio/DoubleBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 numElements I
1 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
numElements
public static java.nio.FloatBuffer newFloatBuffer(int);
descriptor: (I)Ljava/nio/FloatBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_4
imul
invokestatic com.sun.prism.impl.BufferUtil.newByteBuffer:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
invokevirtual java.nio.ByteBuffer.asFloatBuffer:()Ljava/nio/FloatBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 numElements I
1 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
numElements
public static java.nio.IntBuffer newIntBuffer(int);
descriptor: (I)Ljava/nio/IntBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_4
imul
invokestatic com.sun.prism.impl.BufferUtil.newByteBuffer:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
invokevirtual java.nio.ByteBuffer.asIntBuffer:()Ljava/nio/IntBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 numElements I
1 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
numElements
public static java.nio.ShortBuffer newShortBuffer(int);
descriptor: (I)Ljava/nio/ShortBuffer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
iconst_2
imul
invokestatic com.sun.prism.impl.BufferUtil.newByteBuffer:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
invokevirtual java.nio.ByteBuffer.asShortBuffer:()Ljava/nio/ShortBuffer;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 numElements I
1 2 1 bb Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
numElements
private static java.lang.Object lambda$0();
descriptor: ()Ljava/lang/Object;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: ldc "java.nio.ByteOrder"
iconst_1
aconst_null
invokestatic java.lang.Class.forName:(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
SourceFile: "BufferUtil.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles