sun.jvm.hotspot.types.WrongTypeException Java Examples
The following examples show how to use
sun.jvm.hotspot.types.WrongTypeException.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Method.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); methodSize = new CIntField(type.getCIntegerField("_method_size"), 0); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); bytecodeOffset = type.getSize(); /* interpreterEntry = type.getAddressField("_interpreter_entry"); fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); */ objectInitializerName = null; classInitializerName = null; }
Example #2
Source File: Method.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); methodSize = new CIntField(type.getCIntegerField("_method_size"), 0); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); bytecodeOffset = type.getSize(); /* interpreterEntry = type.getAddressField("_interpreter_entry"); fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); */ objectInitializerName = null; classInitializerName = null; }
Example #3
Source File: Method.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); methodSize = new CIntField(type.getCIntegerField("_method_size"), 0); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); bytecodeOffset = type.getSize(); /* interpreterEntry = type.getAddressField("_interpreter_entry"); fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); */ objectInitializerName = null; classInitializerName = null; }
Example #4
Source File: Method.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); methodSize = new CIntField(type.getCIntegerField("_method_size"), 0); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); bytecodeOffset = type.getSize(); /* interpreterEntry = type.getAddressField("_interpreter_entry"); fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); */ objectInitializerName = null; classInitializerName = null; }
Example #5
Source File: Method.java From hottub with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); methodSize = new CIntField(type.getCIntegerField("_method_size"), 0); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); bytecodeOffset = type.getSize(); /* interpreterEntry = type.getAddressField("_interpreter_entry"); fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); */ objectInitializerName = null; classInitializerName = null; }
Example #6
Source File: Method.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); methodSize = new CIntField(type.getCIntegerField("_method_size"), 0); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); bytecodeOffset = type.getSize(); /* interpreterEntry = type.getAddressField("_interpreter_entry"); fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); */ objectInitializerName = null; classInitializerName = null; }
Example #7
Source File: Method.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); methodSize = new CIntField(type.getCIntegerField("_method_size"), 0); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); bytecodeOffset = type.getSize(); /* interpreterEntry = type.getAddressField("_interpreter_entry"); fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); */ objectInitializerName = null; classInitializerName = null; }
Example #8
Source File: Method.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { type = db.lookupType("Method"); constMethod = type.getAddressField("_constMethod"); methodData = type.getAddressField("_method_data"); methodCounters = type.getAddressField("_method_counters"); accessFlags = new CIntField(type.getCIntegerField("_access_flags"), 0); code = type.getAddressField("_code"); vtableIndex = new CIntField(type.getCIntegerField("_vtable_index"), 0); /* fromCompiledCodeEntryPoint = type.getAddressField("_from_compiled_code_entry_point"); interpreterEntry = type.getAddressField("_from_interpreted_entry"); */ objectInitializerName = null; classInitializerName = null; }
Example #9
Source File: ciInstanceKlass.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #10
Source File: ciInstanceKlass.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #11
Source File: ciInstanceKlass.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #12
Source File: ciInstanceKlass.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #13
Source File: ciInstanceKlass.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #14
Source File: ciInstanceKlass.java From hottub with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #15
Source File: ciInstanceKlass.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #16
Source File: ciInstanceKlass.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { Type type = db.lookupType("ciInstanceKlass"); initStateField = new CIntField(type.getCIntegerField("_init_state"), 0); isSharedField = new CIntField(type.getCIntegerField("_is_shared"), 0); CLASS_STATE_LINKED = db.lookupIntConstant("InstanceKlass::linked").intValue(); CLASS_STATE_FULLY_INITIALIZED = db.lookupIntConstant("InstanceKlass::fully_initialized").intValue(); }
Example #17
Source File: KlassArray.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("Klass*"); Type type = db.lookupType("Array<Klass*>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #18
Source File: IntArray.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("int"); Type type = db.lookupType("Array<int>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #19
Source File: MethodArray.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("Method*"); Type type = db.lookupType("Array<Method*>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #20
Source File: U1Array.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("u1"); Type type = db.lookupType("Array<u1>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #21
Source File: KlassArray.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("Klass*"); Type type = db.lookupType("Array<Klass*>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #22
Source File: GenericArray.java From hottub with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { // Array<int> is arbitrarily chosen to get the fields in Array<T>. Type type = db.lookupType("Array<int>"); lengthField = new CIntField(type.getCIntegerField("_length"), 0); }
Example #23
Source File: IntArray.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("int"); Type type = db.lookupType("Array<int>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #24
Source File: U2Array.java From hottub with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("u2"); Type type = db.lookupType("Array<u2>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #25
Source File: KlassArray.java From hottub with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("Klass*"); Type type = db.lookupType("Array<Klass*>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #26
Source File: U1Array.java From hottub with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("u1"); Type type = db.lookupType("Array<u1>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #27
Source File: IntArray.java From hottub with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("int"); Type type = db.lookupType("Array<int>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #28
Source File: MethodArray.java From hottub with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("Method*"); Type type = db.lookupType("Array<Method*>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #29
Source File: U2Array.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("u2"); Type type = db.lookupType("Array<u2>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }
Example #30
Source File: U1Array.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { elemType = db.lookupType("u1"); Type type = db.lookupType("Array<u1>"); dataFieldOffset = type.getAddressField("_data").getOffset(); }