public class sun.jvm.hotspot.oops.Symbol extends sun.jvm.hotspot.runtime.VMObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.oops.Symbol
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static long baseOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField length;
descriptor: Lsun/jvm/hotspot/types/CIntegerField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.CIntegerField idHash;
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.oops.Symbol$1
dup
invokespecial sun.jvm.hotspot.oops.Symbol$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 "Symbol"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_length"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.oops.Symbol.length:Lsun/jvm/hotspot/types/CIntegerField;
2: aload 1
ldc "_body"
invokeinterface sun.jvm.hotspot.types.Type.getField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Field;
invokeinterface sun.jvm.hotspot.types.Field.getOffset:()J
putstatic sun.jvm.hotspot.oops.Symbol.baseOffset:J
3: aload 1
ldc "_identity_hash"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
putstatic sun.jvm.hotspot.oops.Symbol.idHash:Lsun/jvm/hotspot/types/CIntegerField;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 5 1 type Lsun/jvm/hotspot/types/Type;
Exceptions:
throws sun.jvm.hotspot.types.WrongTypeException
MethodParameters:
Name Flags
db
public static sun.jvm.hotspot.oops.Symbol create(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/oops/Symbol;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
new sun.jvm.hotspot.oops.Symbol
dup
aload 0
invokespecial sun.jvm.hotspot.oops.Symbol.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
void <init>(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0000)
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/oops/Symbol;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public boolean isSymbol();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Symbol;
public long getLength();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.oops.Symbol.length:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.oops.Symbol.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(Lsun/jvm/hotspot/debugger/Address;)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Symbol;
public byte getByteAt(long);
descriptor: (J)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.oops.Symbol.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.oops.Symbol.baseOffset:J
lload 1
ladd
invokeinterface sun.jvm.hotspot.debugger.Address.getJByteAt:(J)B
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Symbol;
0 1 1 index J
MethodParameters:
Name Flags
index
public long identityHash();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.oops.Symbol.getAddress:()Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.debugger.Address.asLongValue:()J
lstore 1
start local 1 1: lload 1
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getLogMinObjAlignmentInBytes:()I
iconst_3
iadd
lshr
ldc 4294967295
land
2: lstore 3
start local 3 3: aload 0
invokevirtual sun.jvm.hotspot.oops.Symbol.getLength:()J
l2i
istore 5
start local 5 4: aload 0
lconst_0
invokevirtual sun.jvm.hotspot.oops.Symbol.getByteAt:(J)B
istore 6
start local 6 5: aload 0
lconst_1
invokevirtual sun.jvm.hotspot.oops.Symbol.getByteAt:(J)B
istore 7
start local 7 6: ldc 65535
getstatic sun.jvm.hotspot.oops.Symbol.idHash:Lsun/jvm/hotspot/types/CIntegerField;
aload 0
getfield sun.jvm.hotspot.oops.Symbol.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:(Lsun/jvm/hotspot/debugger/Address;)J
land
lstore 8
start local 8 7: lload 8
8: lload 3
iload 5
bipush 8
ishl
i2l
lxor
iload 6
bipush 8
ishl
iload 7
ior
i2l
lxor
bipush 16
lshl
9: lor
10: ldc 4294967295
11: land
lreturn
end local 8 end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/jvm/hotspot/oops/Symbol;
1 12 1 addr_value J
3 12 3 addr_bits J
4 12 5 length I
5 12 6 byte0 I
6 12 7 byte1 I
7 12 8 id_hash J
public boolean equals(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.oops.Symbol.getLength:()J
l2i
istore 2
start local 2 1: iload 2
aload 1
arraylength
if_icmpeq 3
iconst_0
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
baload
aload 0
iload 2
i2l
invokevirtual sun.jvm.hotspot.oops.Symbol.getByteAt:(J)B
if_icmpeq 3
iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iload 2
iinc 2 -1
ifgt 2
4: getstatic sun.jvm.hotspot.utilities.Assert.ASSERTS_ENABLED:Z
ifeq 8
5: iload 2
iconst_m1
if_icmpne 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: ldc "we should be at the beginning"
invokestatic sun.jvm.hotspot.utilities.Assert.that:(ZLjava/lang/String;)V
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvm/hotspot/oops/Symbol;
0 9 1 modUTF8Chars [B
1 9 2 l I
MethodParameters:
Name Flags
modUTF8Chars
public boolean equals(java.lang.String);
descriptor: (Ljava/lang/String;)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.oops.Symbol.asString:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Symbol;
0 1 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
public byte[] asByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.oops.Symbol.getLength:()J
l2i
istore 1
start local 1 1: iload 1
newarray 8
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int byte[] int
StackMap stack:
aload 2
iload 3
aload 0
iload 3
i2l
invokevirtual sun.jvm.hotspot.oops.Symbol.getByteAt:(J)B
bastore
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmplt 4
end local 3 7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvm/hotspot/oops/Symbol;
1 8 1 length I
2 8 2 result [B
3 7 3 index I
public java.lang.String asString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.oops.Symbol.asByteArray:()[B
invokestatic sun.jvm.hotspot.oops.Symbol.readModifiedUTF8:([B)Ljava/lang/String;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: getstatic java.lang.System.err:Ljava/io/PrintStream;
aload 0
getfield sun.jvm.hotspot.oops.Symbol.addr:Lsun/jvm/hotspot/debugger/Address;
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
4: aload 1
invokevirtual java.lang.Exception.printStackTrace:()V
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvm/hotspot/oops/Symbol;
3 6 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
public boolean startsWith(java.lang.String);
descriptor: (Ljava/lang/String;)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.oops.Symbol.asString:()Ljava/lang/String;
aload 1
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Symbol;
0 1 1 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public void printValueOn(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.oops.Symbol.asString:()Ljava/lang/String;
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: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/Symbol;
0 2 1 tty Ljava/io/PrintStream;
MethodParameters:
Name Flags
tty
public long fastCompare(sun.jvm.hotspot.oops.Symbol);
descriptor: (Lsun/jvm/hotspot/oops/Symbol;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.jvm.hotspot.oops.Symbol.addr:Lsun/jvm/hotspot/debugger/Address;
aload 1
getfield sun.jvm.hotspot.oops.Symbol.addr:Lsun/jvm/hotspot/debugger/Address;
invokeinterface sun.jvm.hotspot.debugger.Address.minus:(Lsun/jvm/hotspot/debugger/Address;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Symbol;
0 1 1 other Lsun/jvm/hotspot/oops/Symbol;
MethodParameters:
Name Flags
other
private static java.lang.String readModifiedUTF8(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
arraylength
istore 1
start local 1 1: iload 1
iconst_2
iadd
newarray 8
astore 2
start local 2 2: aload 2
iconst_0
iload 1
bipush 8
iushr
sipush 255
iand
i2b
bastore
3: aload 2
iconst_1
iload 1
iconst_0
iushr
sipush 255
iand
i2b
bastore
4: aload 0
iconst_0
aload 2
iconst_2
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: new java.io.DataInputStream
dup
new java.io.ByteArrayInputStream
dup
aload 2
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 3
start local 3 6: aload 3
invokevirtual java.io.DataInputStream.readUTF:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 buf [B
1 7 1 len I
2 7 2 tmp [B
6 7 3 dis Ljava/io/DataInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
}
SourceFile: "Symbol.java"
NestMembers:
sun.jvm.hotspot.oops.Symbol$1
InnerClasses:
sun.jvm.hotspot.oops.Symbol$1