public class sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer extends sun.jvm.hotspot.runtime.VMObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static sun.jvm.hotspot.types.AddressField startField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField topField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField endField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField desired_sizeField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer$1
dup
invokespecial sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Ljava/util/Observer;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized void initialize(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "ThreadLocalAllocBuffer"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_start"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.startField:Lsun/jvm/hotspot/types/AddressField;
2: aload 1
ldc "_top"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.topField:Lsun/jvm/hotspot/types/AddressField;
3: aload 1
ldc "_end"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.endField:Lsun/jvm/hotspot/types/AddressField;
4: aload 1
ldc "_desired_size"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.desired_sizeField:Lsun/jvm/hotspot/types/CIntegerField;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 6 1 type Lsun/jvm/hotspot/types/Type;
MethodParameters:
Name Flags
db
public void <init>(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.runtime.VMObject.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.debugger.Address start();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.startField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
public sun.jvm.hotspot.debugger.Address end();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.endField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
public sun.jvm.hotspot.debugger.Address top();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.topField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
public sun.jvm.hotspot.debugger.Address hardEnd();
descriptor: ()Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.end:()Lsun/jvm/hotspot/debugger/Address;
aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.alignmentReserve:()J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
private long alignmentReserve();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.endReserve:()J
invokestatic sun.jvm.hotspot.oops.Oop.alignObjectSize:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
private long endReserve();
descriptor: ()J
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.BasicType.T_INT:Lsun/jvm/hotspot/runtime/BasicType;
invokestatic sun.jvm.hotspot.oops.Array.baseOffsetInBytes:(Lsun/jvm/hotspot/runtime/BasicType;)J
lstore 1
start local 1 1: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getReserveForAllocationPrefetch:()I
i2l
lstore 3
start local 3 2: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getHeapWordSize:()I
i2l
lstore 5
start local 5 3: lload 1
lload 3
lload 5
lmul
invokestatic java.lang.Math.max:(JJ)J
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
1 4 1 minFillerArraySize J
2 4 3 reserveForAllocationPrefetch J
3 4 5 heapWordSize J
public sun.jvm.hotspot.debugger.OopHandle startAsOopHandle();
descriptor: ()Lsun/jvm/hotspot/debugger/OopHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.startField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getOopHandle:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/OopHandle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
public sun.jvm.hotspot.debugger.OopHandle nextOopHandle(sun.jvm.hotspot.debugger.OopHandle, long);
descriptor: (Lsun/jvm/hotspot/debugger/OopHandle;J)Lsun/jvm/hotspot/debugger/OopHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
lload 2
invokeinterface sun.jvm.hotspot.debugger.OopHandle.addOffsetToAsOopHandle:(J)Lsun/jvm/hotspot/debugger/OopHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
0 1 1 handle Lsun/jvm/hotspot/debugger/OopHandle;
0 1 2 size J
MethodParameters:
Name Flags
handle
size
public void print();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.printOn:(Ljava/io/PrintStream;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
public boolean contains(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.top:()Lsun/jvm/hotspot/debugger/Address;
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.start:()Lsun/jvm/hotspot/debugger/Address;
aload 1
invokeinterface sun.jvm.hotspot.debugger.Address.lessThanOrEqual:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 3
aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.top:()Lsun/jvm/hotspot/debugger/Address;
aload 1
invokeinterface sun.jvm.hotspot.debugger.Address.greaterThan:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
0 4 1 p Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
p
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new java.lang.StringBuilder
dup
ldc " ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.start:()Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.top:()Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.end:()Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ",{"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer.hardEnd:()Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "})"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/ThreadLocalAllocBuffer;
0 4 1 tty Ljava/io/PrintStream;
MethodParameters:
Name Flags
tty
}
SourceFile: "ThreadLocalAllocBuffer.java"
NestMembers:
sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer$1
InnerClasses:
sun.jvm.hotspot.runtime.ThreadLocalAllocBuffer$1