public class sun.jvm.hotspot.memory.SymbolTable extends sun.jvm.hotspot.utilities.Hashtable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.memory.SymbolTable
super_class: sun.jvm.hotspot.utilities.Hashtable
{
private static sun.jvm.hotspot.types.AddressField theTableField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.jvm.hotspot.types.AddressField sharedTableField;
descriptor: Lsun/jvm/hotspot/types/AddressField;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private sun.jvm.hotspot.utilities.CompactHashTable sharedTable;
descriptor: Lsun/jvm/hotspot/utilities/CompactHashTable;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.jvm.hotspot.memory.SymbolTable$1
dup
invokespecial sun.jvm.hotspot.memory.SymbolTable$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 "SymbolTable"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_the_table"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.memory.SymbolTable.theTableField:Lsun/jvm/hotspot/types/AddressField;
2: aload 1
ldc "_shared_table"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
putstatic sun.jvm.hotspot.memory.SymbolTable.sharedTableField:Lsun/jvm/hotspot/types/AddressField;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 4 1 type Lsun/jvm/hotspot/types/Type;
MethodParameters:
Name Flags
db
public static sun.jvm.hotspot.memory.SymbolTable getTheTable();
descriptor: ()Lsun/jvm/hotspot/memory/SymbolTable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=0
0: getstatic sun.jvm.hotspot.memory.SymbolTable.theTableField:Lsun/jvm/hotspot/types/AddressField;
invokeinterface sun.jvm.hotspot.types.AddressField.getValue:()Lsun/jvm/hotspot/debugger/Address;
astore 0
start local 0 1: ldc Lsun/jvm/hotspot/memory/SymbolTable;
aload 0
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.memory.SymbolTable
astore 1
start local 1 2: getstatic sun.jvm.hotspot.memory.SymbolTable.sharedTableField:Lsun/jvm/hotspot/types/AddressField;
invokeinterface sun.jvm.hotspot.types.AddressField.getStaticFieldAddress:()Lsun/jvm/hotspot/debugger/Address;
astore 2
start local 2 3: aload 1
ldc Lsun/jvm/hotspot/utilities/CompactHashTable;
aload 2
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.utilities.CompactHashTable
putfield sun.jvm.hotspot.memory.SymbolTable.sharedTable:Lsun/jvm/hotspot/utilities/CompactHashTable;
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 5 0 tmp Lsun/jvm/hotspot/debugger/Address;
2 5 1 table Lsun/jvm/hotspot/memory/SymbolTable;
3 5 2 shared Lsun/jvm/hotspot/debugger/Address;
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.utilities.Hashtable.<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/memory/SymbolTable;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
public sun.jvm.hotspot.oops.Symbol probe(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/jvm/hotspot/oops/Symbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.jvm.hotspot.memory.SymbolTable.toModifiedUTF8Bytes:(Ljava/lang/String;)[B
invokevirtual sun.jvm.hotspot.memory.SymbolTable.probe:([B)Lsun/jvm/hotspot/oops/Symbol;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvm/hotspot/memory/SymbolTable;
0 4 1 name Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
name
public sun.jvm.hotspot.oops.Symbol probe(byte[]);
descriptor: ([B)Lsun/jvm/hotspot/oops/Symbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.jvm.hotspot.memory.SymbolTable.hashSymbol:([B)J
lstore 2
start local 2 1: aload 0
getfield sun.jvm.hotspot.memory.SymbolTable.sharedTable:Lsun/jvm/hotspot/utilities/CompactHashTable;
aload 1
lload 2
invokevirtual sun.jvm.hotspot.utilities.CompactHashTable.probe:([BJ)Lsun/jvm/hotspot/oops/Symbol;
astore 4
start local 4 2: aload 4
ifnull 4
3: aload 4
areturn
4: StackMap locals: long sun.jvm.hotspot.oops.Symbol
StackMap stack:
aload 0
aload 0
lload 2
invokevirtual sun.jvm.hotspot.memory.SymbolTable.hashToIndex:(J)I
invokevirtual sun.jvm.hotspot.memory.SymbolTable.bucket:(I)Lsun/jvm/hotspot/utilities/BasicHashtableEntry;
checkcast sun.jvm.hotspot.utilities.HashtableEntry
astore 5
start local 5 5: goto 11
6: StackMap locals: sun.jvm.hotspot.utilities.HashtableEntry
StackMap stack:
aload 5
invokevirtual sun.jvm.hotspot.utilities.HashtableEntry.hash:()J
lload 2
lcmp
ifne 10
7: aload 5
invokevirtual sun.jvm.hotspot.utilities.HashtableEntry.literalValue:()Lsun/jvm/hotspot/debugger/Address;
invokestatic sun.jvm.hotspot.oops.Symbol.create:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/oops/Symbol;
astore 6
start local 6 8: aload 6
aload 1
invokevirtual sun.jvm.hotspot.oops.Symbol.equals:([B)Z
ifeq 10
9: aload 6
areturn
end local 6 10: StackMap locals:
StackMap stack:
aload 5
invokevirtual sun.jvm.hotspot.utilities.HashtableEntry.next:()Lsun/jvm/hotspot/utilities/BasicHashtableEntry;
checkcast sun.jvm.hotspot.utilities.HashtableEntry
astore 5
StackMap locals:
StackMap stack:
11: aload 5
ifnonnull 6
end local 5 12: aconst_null
areturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/jvm/hotspot/memory/SymbolTable;
0 13 1 name [B
1 13 2 hashValue J
2 13 4 s Lsun/jvm/hotspot/oops/Symbol;
5 12 5 e Lsun/jvm/hotspot/utilities/HashtableEntry;
8 10 6 sym Lsun/jvm/hotspot/oops/Symbol;
MethodParameters:
Name Flags
name
public void symbolsDo(sun.jvm.hotspot.memory.SymbolTable$SymbolVisitor);
descriptor: (Lsun/jvm/hotspot/memory/SymbolTable$SymbolVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.memory.SymbolTable.tableSize:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 9
3: StackMap locals: int int
StackMap stack:
aload 0
iload 3
invokevirtual sun.jvm.hotspot.memory.SymbolTable.bucket:(I)Lsun/jvm/hotspot/utilities/BasicHashtableEntry;
checkcast sun.jvm.hotspot.utilities.HashtableEntry
astore 4
start local 4 4: goto 7
5: StackMap locals: sun.jvm.hotspot.utilities.HashtableEntry
StackMap stack:
aload 1
aload 4
invokevirtual sun.jvm.hotspot.utilities.HashtableEntry.literalValue:()Lsun/jvm/hotspot/debugger/Address;
invokestatic sun.jvm.hotspot.oops.Symbol.create:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/oops/Symbol;
invokeinterface sun.jvm.hotspot.memory.SymbolTable$SymbolVisitor.visit:(Lsun/jvm/hotspot/oops/Symbol;)V
6: aload 4
invokevirtual sun.jvm.hotspot.utilities.HashtableEntry.next:()Lsun/jvm/hotspot/utilities/BasicHashtableEntry;
checkcast sun.jvm.hotspot.utilities.HashtableEntry
astore 4
7: StackMap locals:
StackMap stack:
aload 4
ifnonnull 5
end local 4 8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 2
if_icmplt 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/memory/SymbolTable;
0 11 1 visitor Lsun/jvm/hotspot/memory/SymbolTable$SymbolVisitor;
1 11 2 numBuckets I
2 10 3 i I
4 8 4 e Lsun/jvm/hotspot/utilities/HashtableEntry;
MethodParameters:
Name Flags
visitor
private static byte[] toModifiedUTF8Bytes(java.lang.String);
descriptor: (Ljava/lang/String;)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 1: new java.io.DataOutputStream
dup
aload 1
invokespecial java.io.DataOutputStream.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 2: aload 2
aload 0
invokevirtual java.io.DataOutputStream.writeUTF:(Ljava/lang/String;)V
3: aload 2
invokevirtual java.io.DataOutputStream.flush:()V
4: aload 1
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 3
start local 3 5: aload 3
arraylength
iconst_2
isub
newarray 8
astore 4
start local 4 6: aload 3
iconst_2
aload 4
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 name Ljava/lang/String;
1 8 1 baos Ljava/io/ByteArrayOutputStream;
2 8 2 dos Ljava/io/DataOutputStream;
5 8 3 buf [B
6 8 4 res [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
}
SourceFile: "SymbolTable.java"
NestMembers:
sun.jvm.hotspot.memory.SymbolTable$1 sun.jvm.hotspot.memory.SymbolTable$SymbolVisitor
InnerClasses:
sun.jvm.hotspot.memory.SymbolTable$1
public abstract SymbolVisitor = sun.jvm.hotspot.memory.SymbolTable$SymbolVisitor of sun.jvm.hotspot.memory.SymbolTable