public class sun.jvm.hotspot.code.PCDesc extends sun.jvm.hotspot.runtime.VMObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.code.PCDesc
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static sun.jvm.hotspot.types.CIntegerField pcOffsetField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField scopeDecodeOffsetField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField objDecodeOffsetField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField pcFlagsField;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int reexecuteMask;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int isMethodHandleInvokeMask;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int returnOopMask;
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.code.PCDesc$1
dup
invokespecial sun.jvm.hotspot.code.PCDesc$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 void initialize(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "PcDesc"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_pc_offset"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.code.PCDesc.pcOffsetField:Lsun/jvm/hotspot/types/CIntegerField;
2: aload 1
ldc "_scope_decode_offset"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.code.PCDesc.scopeDecodeOffsetField:Lsun/jvm/hotspot/types/CIntegerField;
3: aload 1
ldc "_obj_decode_offset"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.code.PCDesc.objDecodeOffsetField:Lsun/jvm/hotspot/types/CIntegerField;
4: aload 1
ldc "_flags"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.code.PCDesc.pcFlagsField:Lsun/jvm/hotspot/types/CIntegerField;
5: aload 0
ldc "PcDesc::PCDESC_reexecute"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.PCDesc.reexecuteMask:I
6: aload 0
ldc "PcDesc::PCDESC_is_method_handle_invoke"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.PCDesc.isMethodHandleInvokeMask:I
7: aload 0
ldc "PcDesc::PCDESC_return_oop"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.PCDesc.returnOopMask:I
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 9 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/code/PCDesc;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public int getPCOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.code.PCDesc.pcOffsetField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.code.PCDesc.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/code/PCDesc;
public int getScopeDecodeOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.code.PCDesc.scopeDecodeOffsetField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.code.PCDesc.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/code/PCDesc;
public int getObjDecodeOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.code.PCDesc.objDecodeOffsetField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.code.PCDesc.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/code/PCDesc;
public sun.jvm.hotspot.debugger.Address getRealPC(sun.jvm.hotspot.code.NMethod);
descriptor: (Lsun/jvm/hotspot/code/NMethod;)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual sun.jvm.hotspot.code.NMethod.codeBegin:()Lsun/jvm/hotspot/debugger/Address;
aload 0
invokevirtual sun.jvm.hotspot.code.PCDesc.getPCOffset:()I
i2l
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/code/PCDesc;
0 1 1 code Lsun/jvm/hotspot/code/NMethod;
MethodParameters:
Name Flags
code
public boolean getReexecute();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.code.PCDesc.pcFlagsField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.code.PCDesc.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(Lsun/jvm/hotspot/debugger/Address;)J
l2i
istore 1
start local 1 1: iload 1
getstatic sun.jvm.hotspot.code.PCDesc.reexecuteMask:I
iand
ifeq 2
iconst_1
ireturn
StackMap locals: int
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/code/PCDesc;
1 3 1 flags I
public boolean isMethodHandleInvoke();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.code.PCDesc.pcFlagsField:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.code.PCDesc.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(Lsun/jvm/hotspot/debugger/Address;)J
l2i
istore 1
start local 1 1: iload 1
getstatic sun.jvm.hotspot.code.PCDesc.isMethodHandleInvokeMask:I
iand
ifeq 2
iconst_1
ireturn
StackMap locals: int
StackMap stack:
2: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/code/PCDesc;
1 3 1 flags I
public void print(sun.jvm.hotspot.code.NMethod);
descriptor: (Lsun/jvm/hotspot/code/NMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual sun.jvm.hotspot.code.PCDesc.printOn:(Ljava/io/PrintStream;Lsun/jvm/hotspot/code/NMethod;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/PCDesc;
0 2 1 code Lsun/jvm/hotspot/code/NMethod;
MethodParameters:
Name Flags
code
public void printOn(java.io.PrintStream, sun.jvm.hotspot.code.NMethod);
descriptor: (Ljava/io/PrintStream;Lsun/jvm/hotspot/code/NMethod;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
new java.lang.StringBuilder
dup
ldc "PCDesc("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
aload 2
invokevirtual sun.jvm.hotspot.code.PCDesc.getRealPC:(Lsun/jvm/hotspot/code/NMethod;)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;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 2
aload 0
aload 2
invokevirtual sun.jvm.hotspot.code.PCDesc.getRealPC:(Lsun/jvm/hotspot/code/NMethod;)Lsun/jvm/hotspot/debugger/Address;
invokevirtual sun.jvm.hotspot.code.NMethod.getScopeDescAt:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/code/ScopeDesc;
astore 3
start local 3 2: goto 9
3: StackMap locals: sun.jvm.hotspot.code.ScopeDesc
StackMap stack:
aload 1
ldc " "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
4: aload 3
invokevirtual sun.jvm.hotspot.code.ScopeDesc.getMethod:()Lsun/jvm/hotspot/oops/Method;
aload 1
invokevirtual sun.jvm.hotspot.oops.Method.printValueOn:(Ljava/io/PrintStream;)V
5: aload 1
new java.lang.StringBuilder
dup
ldc " @"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual sun.jvm.hotspot.code.ScopeDesc.getBCI:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
6: aload 1
new java.lang.StringBuilder
dup
ldc " reexecute="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual sun.jvm.hotspot.code.ScopeDesc.getReexecute:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
7: aload 1
invokevirtual java.io.PrintStream.println:()V
8: aload 3
invokevirtual sun.jvm.hotspot.code.ScopeDesc.sender:()Lsun/jvm/hotspot/code/ScopeDesc;
astore 3
9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 3
end local 3 10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvm/hotspot/code/PCDesc;
0 11 1 tty Ljava/io/PrintStream;
0 11 2 code Lsun/jvm/hotspot/code/NMethod;
2 10 3 sd Lsun/jvm/hotspot/code/ScopeDesc;
MethodParameters:
Name Flags
tty
code
}
SourceFile: "PCDesc.java"
NestMembers:
sun.jvm.hotspot.code.PCDesc$1
InnerClasses:
sun.jvm.hotspot.code.PCDesc$1