public class sun.jvm.hotspot.code.Location
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.code.Location
super_class: java.lang.Object
{
private int value;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private static int OFFSET_MASK;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int OFFSET_SHIFT;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_MASK;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_SHIFT;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int WHERE_MASK;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int WHERE_SHIFT;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_NORMAL;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_OOP;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_NARROWOOP;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_INT_IN_LONG;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_LNG;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_FLOAT_IN_DBL;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_DBL;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_ADDR;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int TYPE_INVALID;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int WHERE_ON_STACK;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int WHERE_IN_REGISTER;
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.Location$1
dup
invokespecial sun.jvm.hotspot.code.Location$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=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 4
1: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.isCore:()Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ldc "Debug info not used in core build"
invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
ldc "Location::OFFSET_MASK"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.OFFSET_MASK:I
5: aload 0
ldc "Location::OFFSET_SHIFT"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.OFFSET_SHIFT:I
6: aload 0
ldc "Location::TYPE_MASK"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_MASK:I
7: aload 0
ldc "Location::TYPE_SHIFT"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_SHIFT:I
8: aload 0
ldc "Location::WHERE_MASK"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.WHERE_MASK:I
9: aload 0
ldc "Location::WHERE_SHIFT"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.WHERE_SHIFT:I
10: aload 0
ldc "Location::normal"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_NORMAL:I
11: aload 0
ldc "Location::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.Location.TYPE_OOP:I
12: aload 0
ldc "Location::narrowoop"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_NARROWOOP:I
13: aload 0
ldc "Location::int_in_long"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_INT_IN_LONG:I
14: aload 0
ldc "Location::lng"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_LNG:I
15: aload 0
ldc "Location::float_in_dbl"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_FLOAT_IN_DBL:I
16: aload 0
ldc "Location::dbl"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_DBL:I
17: aload 0
ldc "Location::addr"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_ADDR:I
18: aload 0
ldc "Location::invalid"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.TYPE_INVALID:I
19: aload 0
ldc "Location::on_stack"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.WHERE_ON_STACK:I
20: aload 0
ldc "Location::in_register"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupIntConstant:(Ljava/lang/String;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
putstatic sun.jvm.hotspot.code.Location.WHERE_IN_REGISTER:I
21: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 db Lsun/jvm/hotspot/types/TypeDataBase;
MethodParameters:
Name Flags
db
void <init>(sun.jvm.hotspot.code.Location$Where, sun.jvm.hotspot.code.Location$Type, int);
descriptor: (Lsun/jvm/hotspot/code/Location$Where;Lsun/jvm/hotspot/code/Location$Type;I)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.jvm.hotspot.code.Location.setWhere:(Lsun/jvm/hotspot/code/Location$Where;)V
2: aload 0
aload 2
invokevirtual sun.jvm.hotspot.code.Location.setType:(Lsun/jvm/hotspot/code/Location$Type;)V
3: aload 0
iload 3
invokevirtual sun.jvm.hotspot.code.Location.setOffset:(I)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/code/Location;
0 5 1 where Lsun/jvm/hotspot/code/Location$Where;
0 5 2 type Lsun/jvm/hotspot/code/Location$Type;
0 5 3 offset I
MethodParameters:
Name Flags
where
type
offset
public sun.jvm.hotspot.code.Location$Where getWhere();
descriptor: ()Lsun/jvm/hotspot/code/Location$Where;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.code.Location.value:I
getstatic sun.jvm.hotspot.code.Location.WHERE_MASK:I
iand
getstatic sun.jvm.hotspot.code.Location.WHERE_SHIFT:I
ishr
istore 1
start local 1 1: iload 1
getstatic sun.jvm.hotspot.code.Location.WHERE_ON_STACK:I
if_icmpne 3
2: getstatic sun.jvm.hotspot.code.Location$Where.ON_STACK:Lsun/jvm/hotspot/code/Location$Where;
areturn
3: StackMap locals: int
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.WHERE_IN_REGISTER:I
if_icmpne 5
4: getstatic sun.jvm.hotspot.code.Location$Where.IN_REGISTER:Lsun/jvm/hotspot/code/Location$Where;
areturn
5: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "should not reach here"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/code/Location;
1 6 1 where I
public sun.jvm.hotspot.code.Location$Type getType();
descriptor: ()Lsun/jvm/hotspot/code/Location$Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.code.Location.value:I
getstatic sun.jvm.hotspot.code.Location.TYPE_MASK:I
iand
getstatic sun.jvm.hotspot.code.Location.TYPE_SHIFT:I
ishr
istore 1
start local 1 1: iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_NORMAL:I
if_icmpne 3
2: getstatic sun.jvm.hotspot.code.Location$Type.NORMAL:Lsun/jvm/hotspot/code/Location$Type;
areturn
3: StackMap locals: int
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_OOP:I
if_icmpne 5
4: getstatic sun.jvm.hotspot.code.Location$Type.OOP:Lsun/jvm/hotspot/code/Location$Type;
areturn
5: StackMap locals:
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_NARROWOOP:I
if_icmpne 7
6: getstatic sun.jvm.hotspot.code.Location$Type.NARROWOOP:Lsun/jvm/hotspot/code/Location$Type;
areturn
7: StackMap locals:
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_INT_IN_LONG:I
if_icmpne 9
8: getstatic sun.jvm.hotspot.code.Location$Type.INT_IN_LONG:Lsun/jvm/hotspot/code/Location$Type;
areturn
9: StackMap locals:
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_LNG:I
if_icmpne 11
10: getstatic sun.jvm.hotspot.code.Location$Type.LNG:Lsun/jvm/hotspot/code/Location$Type;
areturn
11: StackMap locals:
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_FLOAT_IN_DBL:I
if_icmpne 13
12: getstatic sun.jvm.hotspot.code.Location$Type.FLOAT_IN_DBL:Lsun/jvm/hotspot/code/Location$Type;
areturn
13: StackMap locals:
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_DBL:I
if_icmpne 15
14: getstatic sun.jvm.hotspot.code.Location$Type.DBL:Lsun/jvm/hotspot/code/Location$Type;
areturn
15: StackMap locals:
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_ADDR:I
if_icmpne 17
16: getstatic sun.jvm.hotspot.code.Location$Type.ADDR:Lsun/jvm/hotspot/code/Location$Type;
areturn
17: StackMap locals:
StackMap stack:
iload 1
getstatic sun.jvm.hotspot.code.Location.TYPE_INVALID:I
if_icmpne 19
18: getstatic sun.jvm.hotspot.code.Location$Type.INVALID:Lsun/jvm/hotspot/code/Location$Type;
areturn
19: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "should not reach here"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/jvm/hotspot/code/Location;
1 20 1 type I
public short getOffset();
descriptor: ()S
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.code.Location.value:I
getstatic sun.jvm.hotspot.code.Location.OFFSET_MASK:I
iand
getstatic sun.jvm.hotspot.code.Location.OFFSET_SHIFT:I
ishr
i2s
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/code/Location;
public boolean isRegister();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getWhere:()Lsun/jvm/hotspot/code/Location$Where;
getstatic sun.jvm.hotspot.code.Location$Where.IN_REGISTER:Lsun/jvm/hotspot/code/Location$Where;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean isStack();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getWhere:()Lsun/jvm/hotspot/code/Location$Where;
getstatic sun.jvm.hotspot.code.Location$Where.ON_STACK:Lsun/jvm/hotspot/code/Location$Where;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean holdsOop();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.OOP:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean holdsNarrowOop();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.NARROWOOP:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean holdsInt();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.INT_IN_LONG:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean holdsLong();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.LNG:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean holdsFloat();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.FLOAT_IN_DBL:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean holdsDouble();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.DBL:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean holdsAddr();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.ADDR:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public boolean isIllegal();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
getstatic sun.jvm.hotspot.code.Location$Type.INVALID:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public int getStackOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 4
1: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getWhere:()Lsun/jvm/hotspot/code/Location$Where;
getstatic sun.jvm.hotspot.code.Location$Where.ON_STACK:Lsun/jvm/hotspot/code/Location$Where;
if_acmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "wrong Where"
invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.code.Location.getOffset:()S
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getIntSize:()J
l2i
imul
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/code/Location;
public int getRegisterNumber();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 4
1: aload 0
invokevirtual sun.jvm.hotspot.code.Location.getWhere:()Lsun/jvm/hotspot/code/Location$Where;
getstatic sun.jvm.hotspot.code.Location$Where.IN_REGISTER:Lsun/jvm/hotspot/code/Location$Where;
if_acmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "wrong Where"
invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.code.Location.getOffset:()S
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/code/Location;
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.code.Location.printOn:(Ljava/io/PrintStream;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
new java.lang.StringBuilder
dup
ldc "Value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.jvm.hotspot.code.Location.value:I
invokevirtual java.lang.StringBuilder.append:(I)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.print:(Ljava/lang/String;)V
1: aload 0
invokevirtual sun.jvm.hotspot.code.Location.isIllegal:()Z
ifeq 4
2: aload 1
ldc "Illegal"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: goto 35
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.code.Location.getWhere:()Lsun/jvm/hotspot/code/Location$Where;
astore 2
start local 2 5: aload 2
getstatic sun.jvm.hotspot.code.Location$Where.ON_STACK:Lsun/jvm/hotspot/code/Location$Where;
if_acmpne 8
6: aload 1
new java.lang.StringBuilder
dup
ldc "stack["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.code.Location.getStackOffset:()I
invokevirtual java.lang.StringBuilder.append:(I)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.print:(Ljava/lang/String;)V
7: goto 10
StackMap locals: sun.jvm.hotspot.code.Location$Where
StackMap stack:
8: aload 2
getstatic sun.jvm.hotspot.code.Location$Where.IN_REGISTER:Lsun/jvm/hotspot/code/Location$Where;
if_acmpne 10
9: aload 1
new java.lang.StringBuilder
dup
ldc "reg "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.code.Location.getRegisterNumber:()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
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvm.hotspot.code.Location.getType:()Lsun/jvm/hotspot/code/Location$Type;
astore 3
start local 3 11: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.NORMAL:Lsun/jvm/hotspot/code/Location$Type;
if_acmpeq 35
12: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.OOP:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 15
13: aload 1
ldc ",oop"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
14: goto 35
StackMap locals: sun.jvm.hotspot.code.Location$Type
StackMap stack:
15: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.NARROWOOP:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 18
16: aload 1
ldc ",narrowoop"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
17: goto 35
StackMap locals:
StackMap stack:
18: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.INT_IN_LONG:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 21
19: aload 1
ldc ",int"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
20: goto 35
StackMap locals:
StackMap stack:
21: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.LNG:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 24
22: aload 1
ldc ",long"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
23: goto 35
StackMap locals:
StackMap stack:
24: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.FLOAT_IN_DBL:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 27
25: aload 1
ldc ",float"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
26: goto 35
StackMap locals:
StackMap stack:
27: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.DBL:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 30
28: aload 1
ldc ",double"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
29: goto 35
StackMap locals:
StackMap stack:
30: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.ADDR:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 33
31: aload 1
ldc ",address"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
32: goto 35
StackMap locals:
StackMap stack:
33: aload 3
getstatic sun.jvm.hotspot.code.Location$Type.INVALID:Lsun/jvm/hotspot/code/Location$Type;
if_acmpne 35
34: aload 1
ldc ",invalid"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
end local 3 end local 2 35: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lsun/jvm/hotspot/code/Location;
0 36 1 tty Ljava/io/PrintStream;
5 35 2 w Lsun/jvm/hotspot/code/Location$Where;
11 35 3 type Lsun/jvm/hotspot/code/Location$Type;
MethodParameters:
Name Flags
tty
public void <init>(sun.jvm.hotspot.code.DebugInfoReadStream);
descriptor: (Lsun/jvm/hotspot/code/DebugInfoReadStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.jvm.hotspot.code.DebugInfoReadStream.readInt:()I
putfield sun.jvm.hotspot.code.Location.value:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/code/Location;
0 3 1 stream Lsun/jvm/hotspot/code/DebugInfoReadStream;
MethodParameters:
Name Flags
stream
private void setWhere(sun.jvm.hotspot.code.Location$Where);
descriptor: (Lsun/jvm/hotspot/code/Location$Where;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield sun.jvm.hotspot.code.Location.value:I
aload 1
invokevirtual sun.jvm.hotspot.code.Location$Where.getValue:()I
getstatic sun.jvm.hotspot.code.Location.WHERE_SHIFT:I
ishl
getstatic sun.jvm.hotspot.code.Location.WHERE_MASK:I
iand
ior
putfield sun.jvm.hotspot.code.Location.value:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
0 2 1 where Lsun/jvm/hotspot/code/Location$Where;
MethodParameters:
Name Flags
where
private void setType(sun.jvm.hotspot.code.Location$Type);
descriptor: (Lsun/jvm/hotspot/code/Location$Type;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield sun.jvm.hotspot.code.Location.value:I
aload 1
invokevirtual sun.jvm.hotspot.code.Location$Type.getValue:()I
getstatic sun.jvm.hotspot.code.Location.TYPE_SHIFT:I
ishl
getstatic sun.jvm.hotspot.code.Location.TYPE_MASK:I
iand
ior
putfield sun.jvm.hotspot.code.Location.value:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
0 2 1 type Lsun/jvm/hotspot/code/Location$Type;
MethodParameters:
Name Flags
type
private void setOffset(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield sun.jvm.hotspot.code.Location.value:I
iload 1
getstatic sun.jvm.hotspot.code.Location.OFFSET_SHIFT:I
ishl
getstatic sun.jvm.hotspot.code.Location.OFFSET_MASK:I
iand
ior
putfield sun.jvm.hotspot.code.Location.value:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/code/Location;
0 2 1 offset I
MethodParameters:
Name Flags
offset
}
SourceFile: "Location.java"
NestMembers:
sun.jvm.hotspot.code.Location$1 sun.jvm.hotspot.code.Location$Type sun.jvm.hotspot.code.Location$Where
InnerClasses:
sun.jvm.hotspot.code.Location$1
public Type = sun.jvm.hotspot.code.Location$Type of sun.jvm.hotspot.code.Location
public Where = sun.jvm.hotspot.code.Location$Where of sun.jvm.hotspot.code.Location