sun.jvm.hotspot.types.TypeDataBase Java Examples
The following examples show how to use
sun.jvm.hotspot.types.TypeDataBase.
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 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 #2
Source File: CodeBlob.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
private static void initialize(TypeDataBase db) { Type type = db.lookupType("CodeBlob"); nameField = type.getAddressField("_name"); sizeField = type.getCIntegerField("_size"); headerSizeField = type.getCIntegerField("_header_size"); frameCompleteOffsetField = type.getCIntegerField("_frame_complete_offset"); contentBeginField = type.getAddressField("_content_begin"); codeBeginField = type.getAddressField("_code_begin"); codeEndField = type.getAddressField("_code_end"); dataEndField = type.getAddressField("_data_end"); dataOffsetField = type.getCIntegerField("_data_offset"); frameSizeField = type.getCIntegerField("_frame_size"); oopMapsField = type.getAddressField("_oop_maps"); if (VM.getVM().isServerCompiler()) { matcherInterpreterFramePointerReg = db.lookupIntConstant("Matcher::interpreter_frame_pointer_reg").intValue(); } }
Example #3
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 #4
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 #5
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 #6
Source File: G1HeapRegionTable.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1HeapRegionTable"); baseField = type.getAddressField("_base"); lengthField = type.getCIntegerField("_length"); biasedBaseField = type.getAddressField("_biased_base"); biasField = type.getCIntegerField("_bias"); shiftByField = type.getCIntegerField("_shift_by"); }
Example #7
Source File: java_lang_Class.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) { // klass and oop_size are HotSpot magic fields and hence we can't // find them from InstanceKlass for java.lang.Class. Type jlc = db.lookupType("java_lang_Class"); klassOffset = (int) jlc.getCIntegerField("_klass_offset").getValue(); int oopSizeOffset = (int) jlc.getCIntegerField("_oop_size_offset").getValue(); oopSizeField = new IntField(new NamedFieldIdentifier("oop_size"), oopSizeOffset, true); }
Example #8
Source File: OopUtilities.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static void initThreadFields() { if (threadNameField == null) { SystemDictionary sysDict = VM.getVM().getSystemDictionary(); InstanceKlass k = sysDict.getThreadKlass(); threadNameField = (OopField) k.findField("name", "Ljava/lang/String;"); threadGroupField = (OopField) k.findField("group", "Ljava/lang/ThreadGroup;"); threadEETopField = (LongField) k.findField("eetop", "J"); threadTIDField = (LongField) k.findField("tid", "J"); threadStatusField = (IntField) k.findField("threadStatus", "I"); threadParkBlockerField = (OopField) k.findField("parkBlocker", "Ljava/lang/Object;"); TypeDataBase db = VM.getVM().getTypeDataBase(); THREAD_STATUS_NEW = db.lookupIntConstant("java_lang_Thread::NEW").intValue(); /* Other enum constants are not needed as of now. Uncomment these as and when needed. THREAD_STATUS_RUNNABLE = db.lookupIntConstant("java_lang_Thread::RUNNABLE").intValue(); THREAD_STATUS_SLEEPING = db.lookupIntConstant("java_lang_Thread::SLEEPING").intValue(); THREAD_STATUS_IN_OBJECT_WAIT = db.lookupIntConstant("java_lang_Thread::IN_OBJECT_WAIT").intValue(); THREAD_STATUS_IN_OBJECT_WAIT_TIMED = db.lookupIntConstant("java_lang_Thread::IN_OBJECT_WAIT_TIMED").intValue(); THREAD_STATUS_PARKED = db.lookupIntConstant("java_lang_Thread::PARKED").intValue(); THREAD_STATUS_PARKED_TIMED = db.lookupIntConstant("java_lang_Thread::PARKED_TIMED").intValue(); THREAD_STATUS_BLOCKED_ON_MONITOR_ENTER = db.lookupIntConstant("java_lang_Thread::BLOCKED_ON_MONITOR_ENTER").intValue(); THREAD_STATUS_TERMINATED = db.lookupIntConstant("java_lang_Thread::TERMINATED").intValue(); */ if (Assert.ASSERTS_ENABLED) { // it is okay to miss threadStatusField, because this was // introduced only in 1.5 JDK. Assert.that(threadNameField != null && threadGroupField != null && threadEETopField != null, "must find all java.lang.Thread fields"); } } }
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: G1CollectedHeap.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1CollectedHeap"); hrmFieldOffset = type.getField("_hrm").getOffset(); g1Allocator = type.getAddressField("_allocator"); g1mmField = type.getAddressField("_g1mm"); oldSetFieldOffset = type.getField("_old_set").getOffset(); humongousSetFieldOffset = type.getField("_humongous_set").getOffset(); }
Example #11
Source File: G1MonitoringSupport.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1MonitoringSupport"); edenCommittedField = type.getCIntegerField("_eden_committed"); edenUsedField = type.getCIntegerField("_eden_used"); survivorCommittedField = type.getCIntegerField("_survivor_committed"); survivorUsedField = type.getCIntegerField("_survivor_used"); oldCommittedField = type.getCIntegerField("_old_committed"); oldUsedField = type.getCIntegerField("_old_used"); }
Example #12
Source File: G1CollectedHeap.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1CollectedHeap"); hrmFieldOffset = type.getField("_hrm").getOffset(); summaryBytesUsedField = type.getCIntegerField("_summary_bytes_used"); g1mmField = type.getAddressField("_g1mm"); oldSetFieldOffset = type.getField("_old_set").getOffset(); humongousSetFieldOffset = type.getField("_humongous_set").getOffset(); }
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 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 #15
Source File: G1CollectedHeap.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1CollectedHeap"); hrmFieldOffset = type.getField("_hrm").getOffset(); g1Allocator = type.getAddressField("_allocator"); g1mmField = type.getAddressField("_g1mm"); oldSetFieldOffset = type.getField("_old_set").getOffset(); humongousSetFieldOffset = type.getField("_humongous_set").getOffset(); }
Example #16
Source File: java_lang_Class.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) { // klass and oop_size are HotSpot magic fields and hence we can't // find them from InstanceKlass for java.lang.Class. Type jlc = db.lookupType("java_lang_Class"); klassOffset = (int) jlc.getCIntegerField("_klass_offset").getValue(); int oopSizeOffset = (int) jlc.getCIntegerField("_oop_size_offset").getValue(); oopSizeField = new IntField(new NamedFieldIdentifier("oop_size"), oopSizeOffset, true); }
Example #17
Source File: CompactibleFreeListSpace.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) { long sizeofFreeChunk = db.lookupType("FreeChunk").getSize(); VM vm = VM.getVM(); MinChunkSizeInBytes = numQuanta(sizeofFreeChunk, vm.getMinObjAlignmentInBytes()) * vm.getMinObjAlignmentInBytes(); Type type = db.lookupType("CompactibleFreeListSpace"); collectorField = type.getAddressField("_collector"); collectorField = type.getAddressField("_collector"); dictionaryField = type.getAddressField("_dictionary"); indexedFreeListField = type.getAddressField("_indexedFreeList[0]"); smallLinearAllocBlockFieldOffset = type.getField("_smallLinearAllocBlock").getOffset(); }
Example #18
Source File: CompactibleFreeListSpace.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) { long sizeofFreeChunk = db.lookupType("FreeChunk").getSize(); VM vm = VM.getVM(); MinChunkSizeInBytes = numQuanta(sizeofFreeChunk, vm.getMinObjAlignmentInBytes()) * vm.getMinObjAlignmentInBytes(); Type type = db.lookupType("CompactibleFreeListSpace"); collectorField = type.getAddressField("_collector"); collectorField = type.getAddressField("_collector"); dictionaryField = type.getAddressField("_dictionary"); indexedFreeListField = type.getAddressField("_indexedFreeList[0]"); smallLinearAllocBlockFieldOffset = type.getField("_smallLinearAllocBlock").getOffset(); }
Example #19
Source File: OopUtilities.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private static void initThreadFields() { if (threadNameField == null) { SystemDictionary sysDict = VM.getVM().getSystemDictionary(); InstanceKlass k = sysDict.getThreadKlass(); threadNameField = (OopField) k.findField("name", "Ljava/lang/String;"); threadGroupField = (OopField) k.findField("group", "Ljava/lang/ThreadGroup;"); threadEETopField = (LongField) k.findField("eetop", "J"); threadTIDField = (LongField) k.findField("tid", "J"); threadStatusField = (IntField) k.findField("threadStatus", "I"); threadParkBlockerField = (OopField) k.findField("parkBlocker", "Ljava/lang/Object;"); TypeDataBase db = VM.getVM().getTypeDataBase(); THREAD_STATUS_NEW = db.lookupIntConstant("java_lang_Thread::NEW").intValue(); /* Other enum constants are not needed as of now. Uncomment these as and when needed. THREAD_STATUS_RUNNABLE = db.lookupIntConstant("java_lang_Thread::RUNNABLE").intValue(); THREAD_STATUS_SLEEPING = db.lookupIntConstant("java_lang_Thread::SLEEPING").intValue(); THREAD_STATUS_IN_OBJECT_WAIT = db.lookupIntConstant("java_lang_Thread::IN_OBJECT_WAIT").intValue(); THREAD_STATUS_IN_OBJECT_WAIT_TIMED = db.lookupIntConstant("java_lang_Thread::IN_OBJECT_WAIT_TIMED").intValue(); THREAD_STATUS_PARKED = db.lookupIntConstant("java_lang_Thread::PARKED").intValue(); THREAD_STATUS_PARKED_TIMED = db.lookupIntConstant("java_lang_Thread::PARKED_TIMED").intValue(); THREAD_STATUS_BLOCKED_ON_MONITOR_ENTER = db.lookupIntConstant("java_lang_Thread::BLOCKED_ON_MONITOR_ENTER").intValue(); THREAD_STATUS_TERMINATED = db.lookupIntConstant("java_lang_Thread::TERMINATED").intValue(); */ if (Assert.ASSERTS_ENABLED) { // it is okay to miss threadStatusField, because this was // introduced only in 1.5 JDK. Assert.that(threadNameField != null && threadGroupField != null && threadEETopField != null, "must find all java.lang.Thread fields"); } } }
Example #20
Source File: java_lang_Class.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) { // klass and oop_size are HotSpot magic fields and hence we can't // find them from InstanceKlass for java.lang.Class. Type jlc = db.lookupType("java_lang_Class"); klassOffset = (int) jlc.getCIntegerField("_klass_offset").getValue(); int oopSizeOffset = (int) jlc.getCIntegerField("_oop_size_offset").getValue(); oopSizeField = new IntField(new NamedFieldIdentifier("oop_size"), oopSizeOffset, true); }
Example #21
Source File: G1CollectedHeap.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1CollectedHeap"); hrmFieldOffset = type.getField("_hrm").getOffset(); g1Allocator = type.getAddressField("_allocator"); g1mmField = type.getAddressField("_g1mm"); oldSetFieldOffset = type.getField("_old_set").getOffset(); humongousSetFieldOffset = type.getField("_humongous_set").getOffset(); }
Example #22
Source File: G1HeapRegionTable.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1HeapRegionTable"); baseField = type.getAddressField("_base"); lengthField = type.getCIntegerField("_length"); biasedBaseField = type.getAddressField("_biased_base"); biasField = type.getCIntegerField("_bias"); shiftByField = type.getCIntegerField("_shift_by"); }
Example #23
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 #24
Source File: G1MonitoringSupport.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1MonitoringSupport"); edenCommittedField = type.getCIntegerField("_eden_committed"); edenUsedField = type.getCIntegerField("_eden_used"); survivorCommittedField = type.getCIntegerField("_survivor_committed"); survivorUsedField = type.getCIntegerField("_survivor_used"); oldCommittedField = type.getCIntegerField("_old_committed"); oldUsedField = type.getCIntegerField("_old_used"); }
Example #25
Source File: OopUtilities.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private static void initThreadFields() { if (threadNameField == null) { SystemDictionary sysDict = VM.getVM().getSystemDictionary(); InstanceKlass k = sysDict.getThreadKlass(); threadNameField = (OopField) k.findField("name", "Ljava/lang/String;"); threadGroupField = (OopField) k.findField("group", "Ljava/lang/ThreadGroup;"); threadEETopField = (LongField) k.findField("eetop", "J"); threadTIDField = (LongField) k.findField("tid", "J"); threadStatusField = (IntField) k.findField("threadStatus", "I"); threadParkBlockerField = (OopField) k.findField("parkBlocker", "Ljava/lang/Object;"); TypeDataBase db = VM.getVM().getTypeDataBase(); THREAD_STATUS_NEW = db.lookupIntConstant("java_lang_Thread::NEW").intValue(); /* Other enum constants are not needed as of now. Uncomment these as and when needed. THREAD_STATUS_RUNNABLE = db.lookupIntConstant("java_lang_Thread::RUNNABLE").intValue(); THREAD_STATUS_SLEEPING = db.lookupIntConstant("java_lang_Thread::SLEEPING").intValue(); THREAD_STATUS_IN_OBJECT_WAIT = db.lookupIntConstant("java_lang_Thread::IN_OBJECT_WAIT").intValue(); THREAD_STATUS_IN_OBJECT_WAIT_TIMED = db.lookupIntConstant("java_lang_Thread::IN_OBJECT_WAIT_TIMED").intValue(); THREAD_STATUS_PARKED = db.lookupIntConstant("java_lang_Thread::PARKED").intValue(); THREAD_STATUS_PARKED_TIMED = db.lookupIntConstant("java_lang_Thread::PARKED_TIMED").intValue(); THREAD_STATUS_BLOCKED_ON_MONITOR_ENTER = db.lookupIntConstant("java_lang_Thread::BLOCKED_ON_MONITOR_ENTER").intValue(); THREAD_STATUS_TERMINATED = db.lookupIntConstant("java_lang_Thread::TERMINATED").intValue(); */ if (Assert.ASSERTS_ENABLED) { // it is okay to miss threadStatusField, because this was // introduced only in 1.5 JDK. Assert.that(threadNameField != null && threadGroupField != null && threadEETopField != null, "must find all java.lang.Thread fields"); } } }
Example #26
Source File: java_lang_Class.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) { // klass and oop_size are HotSpot magic fields and hence we can't // find them from InstanceKlass for java.lang.Class. Type jlc = db.lookupType("java_lang_Class"); klassOffset = (int) jlc.getCIntegerField("_klass_offset").getValue(); int oopSizeOffset = (int) jlc.getCIntegerField("_oop_size_offset").getValue(); oopSizeField = new IntField(new NamedFieldIdentifier("oop_size"), oopSizeOffset, true); }
Example #27
Source File: CompactibleFreeListSpace.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private static synchronized void initialize(TypeDataBase db) { long sizeofFreeChunk = db.lookupType("FreeChunk").getSize(); VM vm = VM.getVM(); MinChunkSizeInBytes = numQuanta(sizeofFreeChunk, vm.getMinObjAlignmentInBytes()) * vm.getMinObjAlignmentInBytes(); Type type = db.lookupType("CompactibleFreeListSpace"); collectorField = type.getAddressField("_collector"); collectorField = type.getAddressField("_collector"); dictionaryField = type.getAddressField("_dictionary"); indexedFreeListField = type.getAddressField("_indexedFreeList[0]"); smallLinearAllocBlockFieldOffset = type.getField("_smallLinearAllocBlock").getOffset(); }
Example #28
Source File: G1CollectedHeap.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1CollectedHeap"); hrmFieldOffset = type.getField("_hrm").getOffset(); g1Allocator = type.getAddressField("_allocator"); g1mmField = type.getAddressField("_g1mm"); oldSetFieldOffset = type.getField("_old_set").getOffset(); humongousSetFieldOffset = type.getField("_humongous_set").getOffset(); }
Example #29
Source File: ImmutableOopMapPair.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private static void initialize(TypeDataBase db) { Type type = db.lookupType("ImmutableOopMapPair"); pcField = type.getCIntegerField("_pc_offset"); offsetField = type.getCIntegerField("_oopmap_offset"); classSize = type.getSize(); }
Example #30
Source File: G1HeapRegionTable.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
static private synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("G1HeapRegionTable"); baseField = type.getAddressField("_base"); lengthField = type.getCIntegerField("_length"); biasedBaseField = type.getAddressField("_biased_base"); biasField = type.getCIntegerField("_bias"); shiftByField = type.getCIntegerField("_shift_by"); }