public class sun.jvm.hotspot.runtime.JNIHandleBlock 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.JNIHandleBlock
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static sun.jvm.hotspot.types.Field handlesField;
descriptor: Lsun/jvm/hotspot/types/Field;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField topField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField nextField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int blockSizeInOops;
descriptor: I
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.JNIHandleBlock$1
dup
invokespecial sun.jvm.hotspot.runtime.JNIHandleBlock$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Lsun/jvm/hotspot/utilities/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 "JNIHandleBlock"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_handles"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
putstatic sun.jvm.hotspot.runtime.JNIHandleBlock.handlesField:Lsun/jvm/hotspot/types/Field;
2: aload 1
ldc "_top"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.runtime.JNIHandleBlock.topField:Lsun/jvm/hotspot/types/CIntegerField;
3: aload 1
ldc "_next"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.runtime.JNIHandleBlock.nextField:Lsun/jvm/hotspot/types/AddressField;
4: aload 0
ldc "JNIHandleBlock::block_size_in_oops"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.runtime.JNIHandleBlock.blockSizeInOops:I
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/JNIHandleBlock;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.runtime.JNIHandleBlock next();
descriptor: ()Lsun/jvm/hotspot/runtime/JNIHandleBlock;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.JNIHandleBlock.nextField:Lsun/jvm/hotspot/types/AddressField;
aload 0
getfield sun.jvm.hotspot.runtime.JNIHandleBlock.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.top:()I
getstatic sun.jvm.hotspot.runtime.JNIHandleBlock.blockSizeInOops:I
if_icmpge 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.runtime.JNIHandleBlock
dup
aload 1
invokespecial sun.jvm.hotspot.runtime.JNIHandleBlock.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
1 6 1 handleAddr Lsun/jvm/hotspot/debugger/Address;
public int top();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.runtime.JNIHandleBlock.topField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.runtime.JNIHandleBlock.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(Lsun/jvm/hotspot/debugger/Address;)J
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
public void oopsDo(sun.jvm.hotspot.runtime.AddressVisitor);
descriptor: (Lsun/jvm/hotspot/runtime/AddressVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.getOopHandleAddress:(I)Lsun/jvm/hotspot/debugger/Address;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 1
aload 3
invokeinterface sun.jvm.hotspot.runtime.AddressVisitor.visitAddress:(Lsun/jvm/hotspot/debugger/Address;)V
end local 3 5: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 0
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.top:()I
if_icmplt 2
end local 2 7: aload 0
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.next:()Lsun/jvm/hotspot/runtime/JNIHandleBlock;
astore 2
start local 2 8: aload 2
ifnull 10
9: aload 2
aload 1
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.oopsDo:(Lsun/jvm/hotspot/runtime/AddressVisitor;)V
10: StackMap locals: sun.jvm.hotspot.runtime.JNIHandleBlock sun.jvm.hotspot.runtime.AddressVisitor sun.jvm.hotspot.runtime.JNIHandleBlock
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
0 11 1 visitor Lsun/jvm/hotspot/runtime/AddressVisitor;
1 7 2 i I
3 5 3 cur Lsun/jvm/hotspot/debugger/Address;
8 11 2 n Lsun/jvm/hotspot/runtime/JNIHandleBlock;
MethodParameters:
Name Flags
visitor
public sun.jvm.hotspot.debugger.OopHandle getOopHandle(int);
descriptor: (I)Lsun/jvm/hotspot/debugger/OopHandle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.getOopHandleAddress:(I)Lsun/jvm/hotspot/debugger/Address;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.getOopHandleAt:(J)Lsun/jvm/hotspot/debugger/OopHandle;
areturn
3: StackMap locals: sun.jvm.hotspot.debugger.Address
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
0 4 1 x I
1 4 2 oopAddr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
x
public sun.jvm.hotspot.runtime.JNIHandleBlock blockContainingHandle(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/runtime/JNIHandleBlock;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: goto 5
2: StackMap locals: sun.jvm.hotspot.runtime.JNIHandleBlock
StackMap stack:
aload 0
aload 1
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.indexOfHandle:(Lsun/jvm/hotspot/debugger/Address;)I
iflt 4
3: aload 2
areturn
4: StackMap locals:
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.next:()Lsun/jvm/hotspot/runtime/JNIHandleBlock;
astore 2
5: StackMap locals:
StackMap stack:
aload 2
ifnonnull 2
6: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
0 7 1 jniHandle Lsun/jvm/hotspot/debugger/Address;
1 7 2 cur Lsun/jvm/hotspot/runtime/JNIHandleBlock;
MethodParameters:
Name Flags
jniHandle
public int indexOfHandle(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 7
2: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.getOopHandleAddress:(I)Lsun/jvm/hotspot/debugger/Address;
astore 3
start local 3 3: aload 3
ifnull 6
4: aload 3
aload 1
invokeinterface sun.jvm.hotspot.debugger.Address.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iload 2
ireturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.top:()I
if_icmplt 2
end local 2 8: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
0 9 1 jniHandle Lsun/jvm/hotspot/debugger/Address;
1 8 2 i I
3 6 3 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
jniHandle
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.runtime.JNIHandleBlock.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.JNIHandleBlock.handlesField:Lsun/jvm/hotspot/types/Field;
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: aload 0
getfield sun.jvm.hotspot.runtime.JNIHandleBlock.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.JNIHandleBlock.handlesField:Lsun/jvm/hotspot/types/Field;
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
aload 0
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.top:()I
i2l
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
lmul
ladd
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 2
start local 2 2: new java.lang.StringBuilder
dup
ldc "JNIHandleBlock ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
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;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
1 3 1 handleBase Lsun/jvm/hotspot/debugger/Address;
2 3 2 handleEnd Lsun/jvm/hotspot/debugger/Address;
private sun.jvm.hotspot.debugger.Address getOopHandleAddress(int);
descriptor: (I)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 4
1: iload 1
aload 0
invokevirtual sun.jvm.hotspot.runtime.JNIHandleBlock.top:()I
if_icmpge 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "out of bounds"
invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvm.hotspot.runtime.JNIHandleBlock.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.runtime.JNIHandleBlock.handlesField:Lsun/jvm/hotspot/types/Field;
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
iload 1
i2l
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getOopSize:()J
lmul
ladd
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 2
start local 2 5: aload 2
lconst_0
invokeinterface sun.jvm.hotspot.debugger.Address.getOopHandleAt:(J)Lsun/jvm/hotspot/debugger/OopHandle;
astore 3
start local 3 6: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getUniverse:()Lsun/jvm/hotspot/memory/Universe;
aload 3
invokevirtual sun.jvm.hotspot.memory.Universe.isInReserved:(Lsun/jvm/hotspot/debugger/Address;)Z
ifeq 8
7: aload 2
areturn
8: StackMap locals: sun.jvm.hotspot.debugger.Address sun.jvm.hotspot.debugger.OopHandle
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/runtime/JNIHandleBlock;
0 9 1 x I
5 9 2 oopAddr Lsun/jvm/hotspot/debugger/Address;
6 9 3 handle Lsun/jvm/hotspot/debugger/OopHandle;
MethodParameters:
Name Flags
x
}
SourceFile: "JNIHandleBlock.java"
NestMembers:
sun.jvm.hotspot.runtime.JNIHandleBlock$1
InnerClasses:
sun.jvm.hotspot.runtime.JNIHandleBlock$1