final class com.sun.marlin.OffHeapArray
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.marlin.OffHeapArray
super_class: java.lang.Object
{
static final sun.misc.Unsafe UNSAFE;
descriptor: Lsun/misc/Unsafe;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final int SIZE_INT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
long address;
descriptor: J
flags: (0x0000)
long length;
descriptor: J
flags: (0x0000)
int used;
descriptor: I
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.marlin.OffHeapArray$1
dup
invokespecial com.sun.marlin.OffHeapArray$1.<init>:()V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast sun.misc.Unsafe
putstatic com.sun.marlin.OffHeapArray.UNSAFE:Lsun/misc/Unsafe;
1: getstatic sun.misc.Unsafe.ARRAY_INT_INDEX_SCALE:I
putstatic com.sun.marlin.OffHeapArray.SIZE_INT:I
2: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Object, long);
descriptor: (Ljava/lang/Object;J)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tThe method getCleaner() from the type MarlinUtils refers to the missing type Cleaner\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/marlin/OffHeapArray;
MethodParameters:
Name Flags
parent final
len final
void resize(long);
descriptor: (J)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getstatic com.sun.marlin.OffHeapArray.UNSAFE:Lsun/misc/Unsafe;
aload 0
getfield com.sun.marlin.OffHeapArray.address:J
lload 1
invokevirtual sun.misc.Unsafe.reallocateMemory:(JJ)J
putfield com.sun.marlin.OffHeapArray.address:J
1: aload 0
lload 1
putfield com.sun.marlin.OffHeapArray.length:J
2: getstatic com.sun.marlin.MarlinConst.LOG_UNSAFE_MALLOC:Z
ifeq 7
3: new java.lang.StringBuilder
dup
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: ldc ": OffHeapArray.reallocateMemory = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " to addr = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.marlin.OffHeapArray.address:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/marlin/OffHeapArray;
0 8 1 len J
MethodParameters:
Name Flags
len final
void free();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: getstatic com.sun.marlin.OffHeapArray.UNSAFE:Lsun/misc/Unsafe;
aload 0
getfield com.sun.marlin.OffHeapArray.address:J
invokevirtual sun.misc.Unsafe.freeMemory:(J)V
1: getstatic com.sun.marlin.MarlinConst.LOG_UNSAFE_MALLOC:Z
ifeq 7
2: new java.lang.StringBuilder
dup
invokestatic java.lang.System.currentTimeMillis:()J
invokestatic java.lang.String.valueOf:(J)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: ldc ": OffHeapArray.freeMemory = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 0
getfield com.sun.marlin.OffHeapArray.length:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
5: ldc " at addr = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.marlin.OffHeapArray.address:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic com.sun.marlin.MarlinUtils.logInfo:(Ljava/lang/String;)V
7: StackMap locals:
StackMap stack:
aload 0
lconst_0
putfield com.sun.marlin.OffHeapArray.address:J
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/marlin/OffHeapArray;
void fill(byte);
descriptor: (B)V
flags: (0x0000)
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.sun.marlin.OffHeapArray.UNSAFE:Lsun/misc/Unsafe;
aload 0
getfield com.sun.marlin.OffHeapArray.address:J
aload 0
getfield com.sun.marlin.OffHeapArray.length:J
iload 1
invokevirtual sun.misc.Unsafe.setMemory:(JJB)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/marlin/OffHeapArray;
0 2 1 val B
MethodParameters:
Name Flags
val final
}
SourceFile: "OffHeapArray.java"
NestMembers:
com.sun.marlin.OffHeapArray$1
InnerClasses:
com.sun.marlin.OffHeapArray$1