annotate src/share/vm/runtime/vmStructs.cpp @ 9216:90d7b3c8e368

Added tag jdk8u232-ga-aarch32-191016 for changeset 0d7b61c79fee
author snazarki
date Wed, 16 Oct 2019 16:46:54 +0300
parents 59be99637c59 432f92e99174
children
rev   line source
duke@0 1 /*
dbuck@8395 2 * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
duke@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 *
duke@0 5 * This code is free software; you can redistribute it and/or modify it
duke@0 6 * under the terms of the GNU General Public License version 2 only, as
duke@0 7 * published by the Free Software Foundation.
duke@0 8 *
duke@0 9 * This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 12 * version 2 for more details (a copy is included in the LICENSE file that
duke@0 13 * accompanied this code).
duke@0 14 *
duke@0 15 * You should have received a copy of the GNU General Public License version
duke@0 16 * 2 along with this work; if not, write to the Free Software Foundation,
duke@0 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 18 *
trims@1472 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
trims@1472 20 * or visit www.oracle.com if you need additional information or have any
trims@1472 21 * questions.
duke@0 22 *
duke@0 23 */
duke@0 24
stefank@1879 25 #include "precompiled.hpp"
stefank@1879 26 #include "classfile/dictionary.hpp"
stefank@1879 27 #include "classfile/javaClasses.hpp"
stefank@1879 28 #include "classfile/loaderConstraints.hpp"
stefank@1879 29 #include "classfile/placeholders.hpp"
stefank@1879 30 #include "classfile/systemDictionary.hpp"
never@2703 31 #include "ci/ciField.hpp"
never@2703 32 #include "ci/ciInstance.hpp"
never@2703 33 #include "ci/ciObjArrayKlass.hpp"
never@2703 34 #include "ci/ciMethodData.hpp"
never@2703 35 #include "ci/ciSymbol.hpp"
stefank@1879 36 #include "code/codeBlob.hpp"
stefank@1879 37 #include "code/codeCache.hpp"
stefank@1879 38 #include "code/compressedStream.hpp"
stefank@1879 39 #include "code/location.hpp"
stefank@1879 40 #include "code/nmethod.hpp"
stefank@1879 41 #include "code/pcDesc.hpp"
stefank@1879 42 #include "code/stubs.hpp"
stefank@1879 43 #include "code/vmreg.hpp"
stefank@1879 44 #include "compiler/oopMap.hpp"
never@2703 45 #include "compiler/compileBroker.hpp"
stefank@1879 46 #include "gc_implementation/shared/immutableSpace.hpp"
stefank@1879 47 #include "gc_implementation/shared/markSweep.hpp"
stefank@1879 48 #include "gc_implementation/shared/mutableSpace.hpp"
stefank@1879 49 #include "gc_interface/collectedHeap.hpp"
stefank@1879 50 #include "interpreter/bytecodeInterpreter.hpp"
stefank@1879 51 #include "interpreter/bytecodes.hpp"
stefank@1879 52 #include "interpreter/interpreter.hpp"
coleenp@3602 53 #include "memory/allocation.hpp"
stefank@1879 54 #include "memory/cardTableRS.hpp"
stefank@1879 55 #include "memory/defNewGeneration.hpp"
jmasa@3295 56 #include "memory/freeBlockDictionary.hpp"
stefank@1879 57 #include "memory/genCollectedHeap.hpp"
stefank@1879 58 #include "memory/generation.hpp"
stefank@1879 59 #include "memory/generationSpec.hpp"
stefank@1879 60 #include "memory/heap.hpp"
stefank@5506 61 #include "memory/metachunk.hpp"
sla@4802 62 #include "memory/referenceType.hpp"
stefank@1879 63 #include "memory/space.hpp"
stefank@1879 64 #include "memory/tenuredGeneration.hpp"
stefank@1879 65 #include "memory/universe.hpp"
stefank@1879 66 #include "memory/watermark.hpp"
stefank@1879 67 #include "oops/arrayKlass.hpp"
stefank@1879 68 #include "oops/arrayOop.hpp"
coleenp@3602 69 #include "oops/compiledICHolder.hpp"
coleenp@3602 70 #include "oops/constMethod.hpp"
coleenp@3602 71 #include "oops/constantPool.hpp"
coleenp@3602 72 #include "oops/cpCache.hpp"
coleenp@3602 73 #include "oops/instanceClassLoaderKlass.hpp"
stefank@1879 74 #include "oops/instanceKlass.hpp"
never@2258 75 #include "oops/instanceMirrorKlass.hpp"
stefank@1879 76 #include "oops/instanceOop.hpp"
stefank@1879 77 #include "oops/klass.hpp"
stefank@1879 78 #include "oops/markOop.hpp"
coleenp@3602 79 #include "oops/methodData.hpp"
jiangli@4501 80 #include "oops/methodCounters.hpp"
coleenp@3602 81 #include "oops/method.hpp"
stefank@1879 82 #include "oops/objArrayKlass.hpp"
stefank@1879 83 #include "oops/objArrayOop.hpp"
stefank@1879 84 #include "oops/oop.inline.hpp"
coleenp@2062 85 #include "oops/symbol.hpp"
stefank@1879 86 #include "oops/typeArrayKlass.hpp"
stefank@1879 87 #include "oops/typeArrayOop.hpp"
stefank@1879 88 #include "prims/jvmtiAgentThread.hpp"
stefank@1879 89 #include "runtime/arguments.hpp"
never@2703 90 #include "runtime/deoptimization.hpp"
never@2703 91 #include "runtime/vframeArray.hpp"
stefank@1879 92 #include "runtime/globals.hpp"
stefank@1879 93 #include "runtime/java.hpp"
stefank@1879 94 #include "runtime/javaCalls.hpp"
stefank@1879 95 #include "runtime/perfMemory.hpp"
kamg@2076 96 #include "runtime/serviceThread.hpp"
stefank@1879 97 #include "runtime/sharedRuntime.hpp"
stefank@1879 98 #include "runtime/stubRoutines.hpp"
stefank@3864 99 #include "runtime/thread.inline.hpp"
stefank@1879 100 #include "runtime/virtualspace.hpp"
stefank@1879 101 #include "runtime/vmStructs.hpp"
coleenp@3602 102 #include "utilities/array.hpp"
stefank@1879 103 #include "utilities/globalDefinitions.hpp"
stefank@1879 104 #include "utilities/hashtable.hpp"
jprovino@4107 105 #include "utilities/macros.hpp"
poonam@7107 106
stefank@1879 107 #ifdef TARGET_ARCH_x86
stefank@1879 108 # include "vmStructs_x86.hpp"
stefank@1879 109 #endif
stefank@1879 110 #ifdef TARGET_ARCH_sparc
stefank@1879 111 # include "vmStructs_sparc.hpp"
stefank@1879 112 #endif
stefank@1879 113 #ifdef TARGET_ARCH_zero
stefank@1879 114 # include "vmStructs_zero.hpp"
stefank@1879 115 #endif
bobv@2073 116 #ifdef TARGET_ARCH_arm
bobv@2073 117 # include "vmStructs_arm.hpp"
bobv@2073 118 #endif
bobv@2073 119 #ifdef TARGET_ARCH_ppc
bobv@2073 120 # include "vmStructs_ppc.hpp"
bobv@2073 121 #endif
enevill@7673 122 #ifdef TARGET_ARCH_aarch32
enevill@7673 123 # include "vmStructs_aarch32.hpp"
enevill@7673 124 #endif
stefank@1879 125 #ifdef TARGET_OS_ARCH_linux_x86
stefank@1879 126 # include "vmStructs_linux_x86.hpp"
stefank@1879 127 #endif
stefank@1879 128 #ifdef TARGET_OS_ARCH_linux_sparc
stefank@1879 129 # include "vmStructs_linux_sparc.hpp"
stefank@1879 130 #endif
stefank@1879 131 #ifdef TARGET_OS_ARCH_linux_zero
stefank@1879 132 # include "vmStructs_linux_zero.hpp"
stefank@1879 133 #endif
enevill@7673 134 #ifdef TARGET_OS_ARCH_linux_arm
enevill@7673 135 # include "vmStructs_linux_arm.hpp"
enevill@7673 136 #endif
enevill@7673 137 #ifdef TARGET_OS_ARCH_linux_ppc
enevill@7673 138 # include "vmStructs_linux_ppc.hpp"
enevill@7673 139 #endif
enevill@7673 140 #ifdef TARGET_OS_ARCH_linux_aarch32
enevill@7673 141 # include "vmStructs_linux_aarch32.hpp"
enevill@7673 142 #endif
stefank@1879 143 #ifdef TARGET_OS_ARCH_solaris_x86
stefank@1879 144 # include "vmStructs_solaris_x86.hpp"
stefank@1879 145 #endif
stefank@1879 146 #ifdef TARGET_OS_ARCH_solaris_sparc
stefank@1879 147 # include "vmStructs_solaris_sparc.hpp"
stefank@1879 148 #endif
stefank@1879 149 #ifdef TARGET_OS_ARCH_windows_x86
stefank@1879 150 # include "vmStructs_windows_x86.hpp"
stefank@1879 151 #endif
goetz@6026 152 #ifdef TARGET_OS_ARCH_aix_ppc
goetz@6026 153 # include "vmStructs_aix_ppc.hpp"
goetz@6026 154 #endif
never@2721 155 #ifdef TARGET_OS_ARCH_bsd_x86
never@2721 156 # include "vmStructs_bsd_x86.hpp"
never@2721 157 #endif
never@2721 158 #ifdef TARGET_OS_ARCH_bsd_zero
never@2721 159 # include "vmStructs_bsd_zero.hpp"
never@2721 160 #endif
jprovino@4107 161 #if INCLUDE_ALL_GCS
stefank@1879 162 #include "gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.hpp"
stefank@1879 163 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.hpp"
stefank@1879 164 #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp"
stefank@1879 165 #include "gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp"
stefank@1879 166 #include "gc_implementation/parNew/parNewGeneration.hpp"
stefank@1879 167 #include "gc_implementation/parNew/vmStructs_parNew.hpp"
stefank@1879 168 #include "gc_implementation/parallelScavenge/asPSOldGen.hpp"
stefank@1879 169 #include "gc_implementation/parallelScavenge/asPSYoungGen.hpp"
stefank@1879 170 #include "gc_implementation/parallelScavenge/parallelScavengeHeap.hpp"
stefank@1879 171 #include "gc_implementation/parallelScavenge/psOldGen.hpp"
stefank@1879 172 #include "gc_implementation/parallelScavenge/psVirtualspace.hpp"
stefank@1879 173 #include "gc_implementation/parallelScavenge/psYoungGen.hpp"
stefank@1879 174 #include "gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp"
tonyp@2733 175 #include "gc_implementation/g1/vmStructs_g1.hpp"
jprovino@4107 176 #endif // INCLUDE_ALL_GCS
poonam@7107 177
poonam@7107 178 #if INCLUDE_TRACE
poonam@7107 179 #include "runtime/vmStructs_trace.hpp"
poonam@7107 180 #endif
poonam@7107 181
stefank@1879 182 #ifdef COMPILER2
never@2703 183 #include "opto/addnode.hpp"
never@2703 184 #include "opto/block.hpp"
never@2703 185 #include "opto/callnode.hpp"
never@2703 186 #include "opto/cfgnode.hpp"
never@2703 187 #include "opto/chaitin.hpp"
never@2703 188 #include "opto/divnode.hpp"
never@2703 189 #include "opto/locknode.hpp"
never@2703 190 #include "opto/loopnode.hpp"
never@2703 191 #include "opto/machnode.hpp"
stefank@1879 192 #include "opto/matcher.hpp"
rbackman@5356 193 #include "opto/mathexactnode.hpp"
never@2703 194 #include "opto/mulnode.hpp"
never@2703 195 #include "opto/phaseX.hpp"
never@2703 196 #include "opto/parse.hpp"
never@2703 197 #include "opto/regalloc.hpp"
never@2703 198 #include "opto/rootnode.hpp"
never@2703 199 #include "opto/subnode.hpp"
never@2703 200 #include "opto/vectornode.hpp"
dlong@7116 201 #if defined ADGLOBALS_MD_HPP
dlong@7116 202 # include ADGLOBALS_MD_HPP
dlong@7116 203 #elif defined TARGET_ARCH_MODEL_x86_32
stefank@1879 204 # include "adfiles/adGlobals_x86_32.hpp"
dlong@7116 205 #elif defined TARGET_ARCH_MODEL_x86_64
stefank@1879 206 # include "adfiles/adGlobals_x86_64.hpp"
dlong@7116 207 #elif defined TARGET_ARCH_MODEL_sparc
stefank@1879 208 # include "adfiles/adGlobals_sparc.hpp"
dlong@7116 209 #elif defined TARGET_ARCH_MODEL_zero
stefank@1879 210 # include "adfiles/adGlobals_zero.hpp"
dlong@7116 211 #elif defined TARGET_ARCH_MODEL_ppc_64
goetz@6006 212 # include "adfiles/adGlobals_ppc_64.hpp"
enevill@7673 213 #elif defined TARGET_ARCH_MODEL_aarch32
enevill@7673 214 # include "adfiles/adGlobals_aarch32.hpp"
stefank@1879 215 #endif
goetz@6006 216 #endif // COMPILER2
duke@0 217
duke@0 218 // Note: the cross-product of (c1, c2, product, nonproduct, ...),
duke@0 219 // (nonstatic, static), and (unchecked, checked) has not been taken.
duke@0 220 // Only the macros currently needed have been defined.
duke@0 221
duke@0 222 // A field whose type is not checked is given a null string as the
duke@0 223 // type name, indicating an "opaque" type to the serviceability agent.
duke@0 224
duke@0 225 // NOTE: there is an interdependency between this file and
duke@0 226 // HotSpotTypeDataBase.java, which parses the type strings.
duke@0 227
duke@0 228 #ifndef REG_COUNT
duke@0 229 #define REG_COUNT 0
duke@0 230 #endif
duke@0 231 // whole purpose of this function is to work around bug c++/27724 in gcc 4.1.1
duke@0 232 // with optimization turned on it doesn't affect produced code
duke@0 233 static inline uint64_t cast_uint64_t(size_t x)
duke@0 234 {
duke@0 235 return x;
duke@0 236 }
duke@0 237
jprovino@3730 238 #if INCLUDE_JVMTI
jprovino@3730 239 #define JVMTI_STRUCTS(static_field) \
jprovino@3730 240 static_field(JvmtiExport, _can_access_local_variables, bool) \
jprovino@3730 241 static_field(JvmtiExport, _can_hotswap_or_post_breakpoint, bool) \
jprovino@3730 242 static_field(JvmtiExport, _can_post_on_exceptions, bool) \
jprovino@3730 243 static_field(JvmtiExport, _can_walk_any_space, bool)
jprovino@3730 244 #else
jprovino@3730 245 #define JVMTI_STRUCTS(static_field)
jprovino@3730 246 #endif // INCLUDE_JVMTI
duke@0 247
zgu@3465 248 typedef HashtableEntry<intptr_t, mtInternal> IntptrHashtableEntry;
zgu@3465 249 typedef Hashtable<intptr_t, mtInternal> IntptrHashtable;
zgu@3465 250 typedef Hashtable<Symbol*, mtSymbol> SymbolHashtable;
zgu@3465 251 typedef HashtableEntry<Symbol*, mtClass> SymbolHashtableEntry;
zgu@3465 252 typedef Hashtable<oop, mtSymbol> StringHashtable;
coleenp@3602 253 typedef TwoOopHashtable<Klass*, mtClass> KlassTwoOopHashtable;
coleenp@3602 254 typedef Hashtable<Klass*, mtClass> KlassHashtable;
coleenp@3602 255 typedef HashtableEntry<Klass*, mtClass> KlassHashtableEntry;
zgu@3465 256 typedef TwoOopHashtable<Symbol*, mtClass> SymbolTwoOopHashtable;
zgu@3465 257
duke@0 258 //--------------------------------------------------------------------------------
duke@0 259 // VM_STRUCTS
duke@0 260 //
duke@0 261 // This list enumerates all of the fields the serviceability agent
duke@0 262 // needs to know about. Be sure to see also the type table below this one.
duke@0 263 // NOTE that there are platform-specific additions to this table in
duke@0 264 // vmStructs_<os>_<cpu>.hpp.
duke@0 265
duke@0 266 #define VM_STRUCTS(nonstatic_field, \
duke@0 267 static_field, \
duke@0 268 unchecked_nonstatic_field, \
duke@0 269 volatile_nonstatic_field, \
duke@0 270 nonproduct_nonstatic_field, \
duke@0 271 c1_nonstatic_field, \
duke@0 272 c2_nonstatic_field, \
duke@0 273 unchecked_c1_static_field, \
mikael@3991 274 unchecked_c2_static_field) \
duke@0 275 \
duke@0 276 /******************************************************************/ \
jiangli@4934 277 /* OopDesc and Klass hierarchies (NOTE: MethodData* incomplete) */ \
duke@0 278 /******************************************************************/ \
duke@0 279 \
duke@0 280 volatile_nonstatic_field(oopDesc, _mark, markOop) \
coleenp@3602 281 volatile_nonstatic_field(oopDesc, _metadata._klass, Klass*) \
coleenp@113 282 volatile_nonstatic_field(oopDesc, _metadata._compressed_klass, narrowOop) \
duke@0 283 static_field(oopDesc, _bs, BarrierSet*) \
coleenp@3707 284 nonstatic_field(ArrayKlass, _dimension, int) \
coleenp@3707 285 volatile_nonstatic_field(ArrayKlass, _higher_dimension, Klass*) \
coleenp@3707 286 volatile_nonstatic_field(ArrayKlass, _lower_dimension, Klass*) \
coleenp@3707 287 nonstatic_field(ArrayKlass, _vtable_len, int) \
coleenp@3707 288 nonstatic_field(ArrayKlass, _component_mirror, oop) \
dbuck@8536 289 nonstatic_field(CompiledICHolder, _holder_metadata, Metadata*) \
coleenp@3602 290 nonstatic_field(CompiledICHolder, _holder_klass, Klass*) \
coleenp@3602 291 nonstatic_field(ConstantPool, _tags, Array<u1>*) \
jiangli@4934 292 nonstatic_field(ConstantPool, _cache, ConstantPoolCache*) \
coleenp@3816 293 nonstatic_field(ConstantPool, _pool_holder, InstanceKlass*) \
coleenp@3602 294 nonstatic_field(ConstantPool, _operands, Array<u2>*) \
coleenp@3602 295 nonstatic_field(ConstantPool, _length, int) \
coleenp@3602 296 nonstatic_field(ConstantPool, _resolved_references, jobject) \
coleenp@3602 297 nonstatic_field(ConstantPool, _reference_map, Array<u2>*) \
coleenp@3602 298 nonstatic_field(ConstantPoolCache, _length, int) \
jiangli@4934 299 nonstatic_field(ConstantPoolCache, _constant_pool, ConstantPool*) \
coleenp@3602 300 nonstatic_field(InstanceKlass, _array_klasses, Klass*) \
jiangli@4934 301 nonstatic_field(InstanceKlass, _methods, Array<Method*>*) \
acorn@5413 302 nonstatic_field(InstanceKlass, _default_methods, Array<Method*>*) \
coleenp@3602 303 nonstatic_field(InstanceKlass, _local_interfaces, Array<Klass*>*) \
coleenp@3602 304 nonstatic_field(InstanceKlass, _transitive_interfaces, Array<Klass*>*) \
coleenp@3602 305 nonstatic_field(InstanceKlass, _fields, Array<u2>*) \
coleenp@3602 306 nonstatic_field(InstanceKlass, _java_fields_count, u2) \
coleenp@4741 307 nonstatic_field(InstanceKlass, _constants, ConstantPool*) \
coleenp@3602 308 nonstatic_field(InstanceKlass, _class_loader_data, ClassLoaderData*) \
jiangli@5100 309 nonstatic_field(InstanceKlass, _source_file_name_index, u2) \
coleenp@3602 310 nonstatic_field(InstanceKlass, _source_debug_extension, char*) \
coleenp@3602 311 nonstatic_field(InstanceKlass, _inner_classes, Array<jushort>*) \
coleenp@3602 312 nonstatic_field(InstanceKlass, _nonstatic_field_size, int) \
coleenp@3602 313 nonstatic_field(InstanceKlass, _static_field_size, int) \
coleenp@3602 314 nonstatic_field(InstanceKlass, _static_oop_field_count, u2) \
coleenp@3602 315 nonstatic_field(InstanceKlass, _nonstatic_oop_map_size, int) \
coleenp@3602 316 nonstatic_field(InstanceKlass, _is_marked_dependent, bool) \
coleenp@3602 317 nonstatic_field(InstanceKlass, _minor_version, u2) \
coleenp@3602 318 nonstatic_field(InstanceKlass, _major_version, u2) \
coleenp@3602 319 nonstatic_field(InstanceKlass, _init_state, u1) \
coleenp@3602 320 nonstatic_field(InstanceKlass, _init_thread, Thread*) \
coleenp@3602 321 nonstatic_field(InstanceKlass, _vtable_len, int) \
coleenp@3602 322 nonstatic_field(InstanceKlass, _itable_len, int) \
coleenp@3602 323 nonstatic_field(InstanceKlass, _reference_type, u1) \
coleenp@3602 324 volatile_nonstatic_field(InstanceKlass, _oop_map_cache, OopMapCache*) \
coleenp@3602 325 nonstatic_field(InstanceKlass, _jni_ids, JNIid*) \
coleenp@3602 326 nonstatic_field(InstanceKlass, _osr_nmethods_head, nmethod*) \
coleenp@3602 327 nonstatic_field(InstanceKlass, _breakpoints, BreakpointInfo*) \
iklam@6573 328 nonstatic_field(InstanceKlass, _generic_signature_index, u2) \
coleenp@3602 329 nonstatic_field(InstanceKlass, _methods_jmethod_ids, jmethodID*) \
coleenp@3602 330 volatile_nonstatic_field(InstanceKlass, _idnum_allocated_count, u2) \
coleenp@3602 331 nonstatic_field(InstanceKlass, _annotations, Annotations*) \
coleenp@3602 332 nonstatic_field(InstanceKlass, _dependencies, nmethodBucket*) \
never@2703 333 nonstatic_field(nmethodBucket, _nmethod, nmethod*) \
never@2703 334 nonstatic_field(nmethodBucket, _count, int) \
never@2703 335 nonstatic_field(nmethodBucket, _next, nmethodBucket*) \
coleenp@3602 336 nonstatic_field(InstanceKlass, _method_ordering, Array<int>*) \
acorn@5413 337 nonstatic_field(InstanceKlass, _default_vtable_indices, Array<int>*) \
duke@0 338 nonstatic_field(Klass, _super_check_offset, juint) \
coleenp@3602 339 nonstatic_field(Klass, _secondary_super_cache, Klass*) \
coleenp@3602 340 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \
coleenp@3602 341 nonstatic_field(Klass, _primary_supers[0], Klass*) \
duke@0 342 nonstatic_field(Klass, _java_mirror, oop) \
duke@0 343 nonstatic_field(Klass, _modifier_flags, jint) \
coleenp@3602 344 nonstatic_field(Klass, _super, Klass*) \
twisti@5291 345 nonstatic_field(Klass, _subklass, Klass*) \
duke@0 346 nonstatic_field(Klass, _layout_helper, jint) \
coleenp@2062 347 nonstatic_field(Klass, _name, Symbol*) \
duke@0 348 nonstatic_field(Klass, _access_flags, AccessFlags) \
twisti@5291 349 nonstatic_field(Klass, _prototype_header, markOop) \
coleenp@3602 350 nonstatic_field(Klass, _next_sibling, Klass*) \
twisti@5291 351 nonstatic_field(vtableEntry, _method, Method*) \
coleenp@3602 352 nonstatic_field(MethodData, _size, int) \
jiangli@4934 353 nonstatic_field(MethodData, _method, Method*) \
coleenp@3602 354 nonstatic_field(MethodData, _data_size, int) \
coleenp@3602 355 nonstatic_field(MethodData, _data[0], intptr_t) \
coleenp@3602 356 nonstatic_field(MethodData, _nof_decompiles, uint) \
coleenp@3602 357 nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \
coleenp@3602 358 nonstatic_field(MethodData, _nof_overflow_traps, uint) \
twisti@5291 359 nonstatic_field(MethodData, _trap_hist._array[0], u1) \
coleenp@3602 360 nonstatic_field(MethodData, _eflags, intx) \
coleenp@3602 361 nonstatic_field(MethodData, _arg_local, intx) \
coleenp@3602 362 nonstatic_field(MethodData, _arg_stack, intx) \
coleenp@3602 363 nonstatic_field(MethodData, _arg_returned, intx) \
twisti@5291 364 nonstatic_field(DataLayout, _header._struct._tag, u1) \
twisti@5291 365 nonstatic_field(DataLayout, _header._struct._flags, u1) \
twisti@5291 366 nonstatic_field(DataLayout, _header._struct._bci, u2) \
twisti@5291 367 nonstatic_field(DataLayout, _cells[0], intptr_t) \
jiangli@4501 368 nonstatic_field(MethodCounters, _interpreter_invocation_count, int) \
jiangli@4501 369 nonstatic_field(MethodCounters, _interpreter_throwout_count, u2) \
jiangli@4501 370 nonstatic_field(MethodCounters, _number_of_breakpoints, u2) \
jiangli@4501 371 nonstatic_field(MethodCounters, _invocation_counter, InvocationCounter) \
jiangli@4501 372 nonstatic_field(MethodCounters, _backedge_counter, InvocationCounter) \
jiangli@4501 373 nonstatic_field(Method, _constMethod, ConstMethod*) \
jiangli@4501 374 nonstatic_field(Method, _method_data, MethodData*) \
jiangli@4501 375 nonstatic_field(Method, _method_counters, MethodCounters*) \
coleenp@3602 376 nonstatic_field(Method, _access_flags, AccessFlags) \
coleenp@3602 377 nonstatic_field(Method, _vtable_index, int) \
coleenp@3602 378 nonstatic_field(Method, _method_size, u2) \
twisti@5291 379 nonstatic_field(Method, _intrinsic_id, u1) \
coleenp@3602 380 nonproduct_nonstatic_field(Method, _compiled_invocation_count, int) \
coleenp@3602 381 volatile_nonstatic_field(Method, _code, nmethod*) \
coleenp@3602 382 nonstatic_field(Method, _i2i_entry, address) \
coleenp@3602 383 nonstatic_field(Method, _adapter, AdapterHandlerEntry*) \
coleenp@3602 384 volatile_nonstatic_field(Method, _from_compiled_entry, address) \
coleenp@3602 385 volatile_nonstatic_field(Method, _from_interpreted_entry, address) \
coleenp@3602 386 volatile_nonstatic_field(ConstMethod, _fingerprint, uint64_t) \
coleenp@4137 387 nonstatic_field(ConstMethod, _constants, ConstantPool*) \
coleenp@3602 388 nonstatic_field(ConstMethod, _stackmap_data, Array<u1>*) \
coleenp@3602 389 nonstatic_field(ConstMethod, _constMethod_size, int) \
coleenp@4137 390 nonstatic_field(ConstMethod, _flags, u2) \
coleenp@3602 391 nonstatic_field(ConstMethod, _code_size, u2) \
coleenp@3602 392 nonstatic_field(ConstMethod, _name_index, u2) \
coleenp@3602 393 nonstatic_field(ConstMethod, _signature_index, u2) \
coleenp@3602 394 nonstatic_field(ConstMethod, _method_idnum, u2) \
jiangli@3867 395 nonstatic_field(ConstMethod, _max_stack, u2) \
jiangli@3903 396 nonstatic_field(ConstMethod, _max_locals, u2) \
jiangli@3903 397 nonstatic_field(ConstMethod, _size_of_parameters, u2) \
coleenp@3707 398 nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \
coleenp@3707 399 nonstatic_field(ObjArrayKlass, _bottom_klass, Klass*) \
iklam@4871 400 volatile_nonstatic_field(Symbol, _refcount, short) \
coleenp@2062 401 nonstatic_field(Symbol, _identity_hash, int) \
coleenp@2062 402 nonstatic_field(Symbol, _length, unsigned short) \
coleenp@2062 403 unchecked_nonstatic_field(Symbol, _body, sizeof(jbyte)) /* NOTE: no type */ \
coleenp@3707 404 nonstatic_field(TypeArrayKlass, _max_length, int) \
duke@0 405 \
duke@0 406 /***********************/ \
duke@0 407 /* Constant Pool Cache */ \
duke@0 408 /***********************/ \
duke@0 409 \
duke@0 410 volatile_nonstatic_field(ConstantPoolCacheEntry, _indices, intx) \
coleenp@3602 411 nonstatic_field(ConstantPoolCacheEntry, _f1, volatile Metadata*) \
duke@0 412 volatile_nonstatic_field(ConstantPoolCacheEntry, _f2, intx) \
duke@0 413 volatile_nonstatic_field(ConstantPoolCacheEntry, _flags, intx) \
duke@0 414 \
duke@0 415 /********************************/ \
duke@0 416 /* MethodOop-related structures */ \
duke@0 417 /********************************/ \
duke@0 418 \
duke@0 419 nonstatic_field(CheckedExceptionElement, class_cp_index, u2) \
duke@0 420 nonstatic_field(LocalVariableTableElement, start_bci, u2) \
duke@0 421 nonstatic_field(LocalVariableTableElement, length, u2) \
duke@0 422 nonstatic_field(LocalVariableTableElement, name_cp_index, u2) \
duke@0 423 nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \
duke@0 424 nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \
duke@0 425 nonstatic_field(LocalVariableTableElement, slot, u2) \
jiangli@3482 426 nonstatic_field(ExceptionTableElement, start_pc, u2) \
jiangli@3482 427 nonstatic_field(ExceptionTableElement, end_pc, u2) \
jiangli@3482 428 nonstatic_field(ExceptionTableElement, handler_pc, u2) \
jiangli@3482 429 nonstatic_field(ExceptionTableElement, catch_type_index, u2) \
duke@0 430 nonstatic_field(BreakpointInfo, _orig_bytecode, Bytecodes::Code) \
duke@0 431 nonstatic_field(BreakpointInfo, _bci, int) \
duke@0 432 nonstatic_field(BreakpointInfo, _name_index, u2) \
duke@0 433 nonstatic_field(BreakpointInfo, _signature_index, u2) \
duke@0 434 nonstatic_field(BreakpointInfo, _next, BreakpointInfo*) \
duke@0 435 /***********/ \
duke@0 436 /* JNI IDs */ \
duke@0 437 /***********/ \
duke@0 438 \
coleenp@3602 439 nonstatic_field(JNIid, _holder, Klass*) \
duke@0 440 nonstatic_field(JNIid, _next, JNIid*) \
duke@0 441 nonstatic_field(JNIid, _offset, int) \
duke@0 442 /************/ \
duke@0 443 /* Universe */ \
duke@0 444 /************/ \
duke@0 445 \
coleenp@3602 446 static_field(Universe, _boolArrayKlassObj, Klass*) \
coleenp@3602 447 static_field(Universe, _byteArrayKlassObj, Klass*) \
coleenp@3602 448 static_field(Universe, _charArrayKlassObj, Klass*) \
coleenp@3602 449 static_field(Universe, _intArrayKlassObj, Klass*) \
coleenp@3602 450 static_field(Universe, _shortArrayKlassObj, Klass*) \
coleenp@3602 451 static_field(Universe, _longArrayKlassObj, Klass*) \
coleenp@3602 452 static_field(Universe, _singleArrayKlassObj, Klass*) \
coleenp@3602 453 static_field(Universe, _doubleArrayKlassObj, Klass*) \
never@2703 454 static_field(Universe, _mirrors[0], oop) \
duke@0 455 static_field(Universe, _main_thread_group, oop) \
duke@0 456 static_field(Universe, _system_thread_group, oop) \
duke@0 457 static_field(Universe, _the_empty_class_klass_array, objArrayOop) \
duke@0 458 static_field(Universe, _null_ptr_exception_instance, oop) \
duke@0 459 static_field(Universe, _arithmetic_exception_instance, oop) \
duke@0 460 static_field(Universe, _vm_exception, oop) \
duke@0 461 static_field(Universe, _collectedHeap, CollectedHeap*) \
duke@0 462 static_field(Universe, _base_vtable_size, int) \
duke@0 463 static_field(Universe, _bootstrapping, bool) \
duke@0 464 static_field(Universe, _fully_initialized, bool) \
duke@0 465 static_field(Universe, _verify_count, int) \
twisti@5291 466 static_field(Universe, _non_oop_bits, intptr_t) \
kvn@642 467 static_field(Universe, _narrow_oop._base, address) \
kvn@642 468 static_field(Universe, _narrow_oop._shift, int) \
kvn@642 469 static_field(Universe, _narrow_oop._use_implicit_null_checks, bool) \
roland@3724 470 static_field(Universe, _narrow_klass._base, address) \
roland@3724 471 static_field(Universe, _narrow_klass._shift, int) \
duke@0 472 \
twisti@5291 473 /******/ \
twisti@5291 474 /* os */ \
twisti@5291 475 /******/ \
twisti@5291 476 \
twisti@5291 477 static_field(os, _polling_page, address) \
twisti@5291 478 \
duke@0 479 /**********************************************************************************/ \
duke@0 480 /* Generation and Space hierarchies */ \
duke@0 481 /**********************************************************************************/ \
duke@0 482 \
duke@0 483 unchecked_nonstatic_field(ageTable, sizes, sizeof(ageTable::sizes)) \
duke@0 484 \
duke@0 485 nonstatic_field(BarrierSet, _max_covered_regions, int) \
twisti@5291 486 nonstatic_field(BarrierSet, _kind, BarrierSet::Name) \
duke@0 487 nonstatic_field(BlockOffsetTable, _bottom, HeapWord*) \
duke@0 488 nonstatic_field(BlockOffsetTable, _end, HeapWord*) \
duke@0 489 \
duke@0 490 nonstatic_field(BlockOffsetSharedArray, _reserved, MemRegion) \
duke@0 491 nonstatic_field(BlockOffsetSharedArray, _end, HeapWord*) \
duke@0 492 nonstatic_field(BlockOffsetSharedArray, _vs, VirtualSpace) \
duke@0 493 nonstatic_field(BlockOffsetSharedArray, _offset_array, u_char*) \
duke@0 494 \
duke@0 495 nonstatic_field(BlockOffsetArray, _array, BlockOffsetSharedArray*) \
duke@0 496 nonstatic_field(BlockOffsetArray, _sp, Space*) \
duke@0 497 nonstatic_field(BlockOffsetArrayContigSpace, _next_offset_threshold, HeapWord*) \
duke@0 498 nonstatic_field(BlockOffsetArrayContigSpace, _next_offset_index, size_t) \
duke@0 499 \
duke@0 500 nonstatic_field(BlockOffsetArrayNonContigSpace, _unallocated_block, HeapWord*) \
duke@0 501 \
duke@0 502 nonstatic_field(CardGeneration, _rs, GenRemSet*) \
duke@0 503 nonstatic_field(CardGeneration, _bts, BlockOffsetSharedArray*) \
jmasa@4465 504 nonstatic_field(CardGeneration, _shrink_factor, size_t) \
jmasa@4465 505 nonstatic_field(CardGeneration, _capacity_at_prologue, size_t) \
jmasa@4465 506 nonstatic_field(CardGeneration, _used_at_prologue, size_t) \
duke@0 507 \
duke@0 508 nonstatic_field(CardTableModRefBS, _whole_heap, const MemRegion) \
duke@0 509 nonstatic_field(CardTableModRefBS, _guard_index, const size_t) \
duke@0 510 nonstatic_field(CardTableModRefBS, _last_valid_index, const size_t) \
duke@0 511 nonstatic_field(CardTableModRefBS, _page_size, const size_t) \
duke@0 512 nonstatic_field(CardTableModRefBS, _byte_map_size, const size_t) \
duke@0 513 nonstatic_field(CardTableModRefBS, _byte_map, jbyte*) \
duke@0 514 nonstatic_field(CardTableModRefBS, _cur_covered_regions, int) \
duke@0 515 nonstatic_field(CardTableModRefBS, _covered, MemRegion*) \
duke@0 516 nonstatic_field(CardTableModRefBS, _committed, MemRegion*) \
duke@0 517 nonstatic_field(CardTableModRefBS, _guard_region, MemRegion) \
duke@0 518 nonstatic_field(CardTableModRefBS, byte_map_base, jbyte*) \
duke@0 519 \
ysr@342 520 nonstatic_field(CardTableRS, _ct_bs, CardTableModRefBSForCTRS*) \
duke@0 521 \
duke@0 522 nonstatic_field(CollectedHeap, _reserved, MemRegion) \
duke@0 523 nonstatic_field(CollectedHeap, _barrier_set, BarrierSet*) \
ysr@1166 524 nonstatic_field(CollectedHeap, _defer_initial_card_mark, bool) \
duke@0 525 nonstatic_field(CollectedHeap, _is_gc_active, bool) \
twisti@5291 526 nonstatic_field(CollectedHeap, _total_collections, unsigned int) \
duke@0 527 nonstatic_field(CompactibleSpace, _compaction_top, HeapWord*) \
duke@0 528 nonstatic_field(CompactibleSpace, _first_dead, HeapWord*) \
duke@0 529 nonstatic_field(CompactibleSpace, _end_of_live, HeapWord*) \
duke@0 530 \
duke@0 531 \
duke@0 532 nonstatic_field(ContiguousSpace, _top, HeapWord*) \
duke@0 533 nonstatic_field(ContiguousSpace, _concurrent_iteration_safe_limit, HeapWord*) \
duke@0 534 nonstatic_field(ContiguousSpace, _saved_mark_word, HeapWord*) \
duke@0 535 \
duke@0 536 nonstatic_field(DefNewGeneration, _next_gen, Generation*) \
twisti@5291 537 nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \
duke@0 538 nonstatic_field(DefNewGeneration, _age_table, ageTable) \
duke@0 539 nonstatic_field(DefNewGeneration, _eden_space, EdenSpace*) \
duke@0 540 nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \
duke@0 541 nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) \
duke@0 542 \
duke@0 543 nonstatic_field(EdenSpace, _gen, DefNewGeneration*) \
duke@0 544 \
duke@0 545 nonstatic_field(Generation, _reserved, MemRegion) \
duke@0 546 nonstatic_field(Generation, _virtual_space, VirtualSpace) \
duke@0 547 nonstatic_field(Generation, _level, int) \
duke@0 548 nonstatic_field(Generation, _stat_record, Generation::StatRecord) \
duke@0 549 \
duke@0 550 nonstatic_field(Generation::StatRecord, invocations, int) \
duke@0 551 nonstatic_field(Generation::StatRecord, accumulated_time, elapsedTimer) \
duke@0 552 \
duke@0 553 nonstatic_field(GenerationSpec, _name, Generation::Name) \
duke@0 554 nonstatic_field(GenerationSpec, _init_size, size_t) \
duke@0 555 nonstatic_field(GenerationSpec, _max_size, size_t) \
duke@0 556 \
duke@0 557 static_field(GenCollectedHeap, _gch, GenCollectedHeap*) \
duke@0 558 nonstatic_field(GenCollectedHeap, _n_gens, int) \
duke@0 559 unchecked_nonstatic_field(GenCollectedHeap, _gens, sizeof(GenCollectedHeap::_gens)) /* NOTE: no type */ \
duke@0 560 nonstatic_field(GenCollectedHeap, _gen_specs, GenerationSpec**) \
duke@0 561 \
duke@0 562 nonstatic_field(HeapWord, i, char*) \
duke@0 563 \
duke@0 564 nonstatic_field(MemRegion, _start, HeapWord*) \
duke@0 565 nonstatic_field(MemRegion, _word_size, size_t) \
duke@0 566 \
duke@0 567 nonstatic_field(OffsetTableContigSpace, _offsets, BlockOffsetArray) \
duke@0 568 \
duke@0 569 nonstatic_field(OneContigSpaceCardGeneration, _min_heap_delta_bytes, size_t) \
duke@0 570 nonstatic_field(OneContigSpaceCardGeneration, _the_space, ContiguousSpace*) \
duke@0 571 nonstatic_field(OneContigSpaceCardGeneration, _last_gc, WaterMark) \
duke@0 572 \
duke@0 573 \
duke@0 574 \
duke@0 575 nonstatic_field(Space, _bottom, HeapWord*) \
duke@0 576 nonstatic_field(Space, _end, HeapWord*) \
duke@0 577 \
duke@0 578 nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \
duke@0 579 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \
duke@0 580 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \
duke@0 581 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \
duke@0 582 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \
duke@0 583 static_field(ThreadLocalAllocBuffer, _target_refills, unsigned) \
twisti@5291 584 nonstatic_field(ThreadLocalAllocBuffer, _number_of_refills, unsigned) \
twisti@5291 585 nonstatic_field(ThreadLocalAllocBuffer, _fast_refill_waste, unsigned) \
twisti@5291 586 nonstatic_field(ThreadLocalAllocBuffer, _slow_refill_waste, unsigned) \
twisti@5291 587 nonstatic_field(ThreadLocalAllocBuffer, _gc_waste, unsigned) \
twisti@5291 588 nonstatic_field(ThreadLocalAllocBuffer, _slow_allocations, unsigned) \
duke@0 589 nonstatic_field(VirtualSpace, _low_boundary, char*) \
duke@0 590 nonstatic_field(VirtualSpace, _high_boundary, char*) \
duke@0 591 nonstatic_field(VirtualSpace, _low, char*) \
duke@0 592 nonstatic_field(VirtualSpace, _high, char*) \
duke@0 593 nonstatic_field(VirtualSpace, _lower_high, char*) \
duke@0 594 nonstatic_field(VirtualSpace, _middle_high, char*) \
duke@0 595 nonstatic_field(VirtualSpace, _upper_high, char*) \
duke@0 596 nonstatic_field(WaterMark, _point, HeapWord*) \
duke@0 597 nonstatic_field(WaterMark, _space, Space*) \
duke@0 598 \
duke@0 599 /************************/ \
duke@0 600 /* PerfMemory - jvmstat */ \
duke@0 601 /************************/ \
duke@0 602 \
duke@0 603 nonstatic_field(PerfDataPrologue, magic, jint) \
duke@0 604 nonstatic_field(PerfDataPrologue, byte_order, jbyte) \
duke@0 605 nonstatic_field(PerfDataPrologue, major_version, jbyte) \
duke@0 606 nonstatic_field(PerfDataPrologue, minor_version, jbyte) \
duke@0 607 nonstatic_field(PerfDataPrologue, accessible, jbyte) \
duke@0 608 nonstatic_field(PerfDataPrologue, used, jint) \
duke@0 609 nonstatic_field(PerfDataPrologue, overflow, jint) \
duke@0 610 nonstatic_field(PerfDataPrologue, mod_time_stamp, jlong) \
duke@0 611 nonstatic_field(PerfDataPrologue, entry_offset, jint) \
duke@0 612 nonstatic_field(PerfDataPrologue, num_entries, jint) \
duke@0 613 \
duke@0 614 nonstatic_field(PerfDataEntry, entry_length, jint) \
duke@0 615 nonstatic_field(PerfDataEntry, name_offset, jint) \
duke@0 616 nonstatic_field(PerfDataEntry, vector_length, jint) \
duke@0 617 nonstatic_field(PerfDataEntry, data_type, jbyte) \
duke@0 618 nonstatic_field(PerfDataEntry, flags, jbyte) \
duke@0 619 nonstatic_field(PerfDataEntry, data_units, jbyte) \
duke@0 620 nonstatic_field(PerfDataEntry, data_variability, jbyte) \
duke@0 621 nonstatic_field(PerfDataEntry, data_offset, jint) \
duke@0 622 \
duke@0 623 static_field(PerfMemory, _start, char*) \
duke@0 624 static_field(PerfMemory, _end, char*) \
duke@0 625 static_field(PerfMemory, _top, char*) \
duke@0 626 static_field(PerfMemory, _capacity, size_t) \
duke@0 627 static_field(PerfMemory, _prologue, PerfDataPrologue*) \
duke@0 628 static_field(PerfMemory, _initialized, jint) \
duke@0 629 \
duke@0 630 /***************/ \
duke@0 631 /* SymbolTable */ \
duke@0 632 /***************/ \
duke@0 633 \
duke@0 634 static_field(SymbolTable, _the_table, SymbolTable*) \
duke@0 635 \
duke@0 636 /***************/ \
duke@0 637 /* StringTable */ \
duke@0 638 /***************/ \
duke@0 639 \
duke@0 640 static_field(StringTable, _the_table, StringTable*) \
duke@0 641 \
duke@0 642 /********************/ \
duke@0 643 /* SystemDictionary */ \
duke@0 644 /********************/ \
duke@0 645 \
duke@0 646 static_field(SystemDictionary, _dictionary, Dictionary*) \
duke@0 647 static_field(SystemDictionary, _placeholders, PlaceholderTable*) \
duke@0 648 static_field(SystemDictionary, _shared_dictionary, Dictionary*) \
duke@0 649 static_field(SystemDictionary, _system_loader_lock_obj, oop) \
duke@0 650 static_field(SystemDictionary, _loader_constraints, LoaderConstraintTable*) \
coleenp@3602 651 static_field(SystemDictionary, WK_KLASS(Object_klass), Klass*) \
coleenp@3602 652 static_field(SystemDictionary, WK_KLASS(String_klass), Klass*) \
coleenp@3602 653 static_field(SystemDictionary, WK_KLASS(Class_klass), Klass*) \
coleenp@3602 654 static_field(SystemDictionary, WK_KLASS(Cloneable_klass), Klass*) \
coleenp@3602 655 static_field(SystemDictionary, WK_KLASS(ClassLoader_klass), Klass*) \
coleenp@3602 656 static_field(SystemDictionary, WK_KLASS(Serializable_klass), Klass*) \
coleenp@3602 657 static_field(SystemDictionary, WK_KLASS(System_klass), Klass*) \
coleenp@3602 658 static_field(SystemDictionary, WK_KLASS(Throwable_klass), Klass*) \
coleenp@3602 659 static_field(SystemDictionary, WK_KLASS(ThreadDeath_klass), Klass*) \
coleenp@3602 660 static_field(SystemDictionary, WK_KLASS(Error_klass), Klass*) \
coleenp@3602 661 static_field(SystemDictionary, WK_KLASS(Exception_klass), Klass*) \
coleenp@3602 662 static_field(SystemDictionary, WK_KLASS(RuntimeException_klass), Klass*) \
coleenp@3602 663 static_field(SystemDictionary, WK_KLASS(ClassNotFoundException_klass), Klass*) \
coleenp@3602 664 static_field(SystemDictionary, WK_KLASS(NoClassDefFoundError_klass), Klass*) \
coleenp@3602 665 static_field(SystemDictionary, WK_KLASS(LinkageError_klass), Klass*) \
coleenp@3602 666 static_field(SystemDictionary, WK_KLASS(ClassCastException_klass), Klass*) \
coleenp@3602 667 static_field(SystemDictionary, WK_KLASS(ArrayStoreException_klass), Klass*) \
coleenp@3602 668 static_field(SystemDictionary, WK_KLASS(VirtualMachineError_klass), Klass*) \
coleenp@3602 669 static_field(SystemDictionary, WK_KLASS(OutOfMemoryError_klass), Klass*) \
coleenp@3602 670 static_field(SystemDictionary, WK_KLASS(StackOverflowError_klass), Klass*) \
coleenp@3602 671 static_field(SystemDictionary, WK_KLASS(ProtectionDomain_klass), Klass*) \
coleenp@3602 672 static_field(SystemDictionary, WK_KLASS(AccessControlContext_klass), Klass*) \
iklam@6573 673 static_field(SystemDictionary, WK_KLASS(SecureClassLoader_klass), Klass*) \
coleenp@3602 674 static_field(SystemDictionary, WK_KLASS(Reference_klass), Klass*) \
coleenp@3602 675 static_field(SystemDictionary, WK_KLASS(SoftReference_klass), Klass*) \
coleenp@3602 676 static_field(SystemDictionary, WK_KLASS(WeakReference_klass), Klass*) \
coleenp@3602 677 static_field(SystemDictionary, WK_KLASS(FinalReference_klass), Klass*) \
coleenp@3602 678 static_field(SystemDictionary, WK_KLASS(PhantomReference_klass), Klass*) \
jmasa@7031 679 static_field(SystemDictionary, WK_KLASS(Cleaner_klass), Klass*) \
coleenp@3602 680 static_field(SystemDictionary, WK_KLASS(Finalizer_klass), Klass*) \
coleenp@3602 681 static_field(SystemDictionary, WK_KLASS(Thread_klass), Klass*) \
coleenp@3602 682 static_field(SystemDictionary, WK_KLASS(ThreadGroup_klass), Klass*) \
coleenp@3602 683 static_field(SystemDictionary, WK_KLASS(Properties_klass), Klass*) \
coleenp@3602 684 static_field(SystemDictionary, WK_KLASS(StringBuffer_klass), Klass*) \
coleenp@3602 685 static_field(SystemDictionary, WK_KLASS(MethodHandle_klass), Klass*) \
coleenp@3602 686 static_field(SystemDictionary, _box_klasses[0], Klass*) \
duke@0 687 static_field(SystemDictionary, _java_system_loader, oop) \
duke@0 688 \
never@2723 689 /*************/ \
never@2723 690 /* vmSymbols */ \
never@2723 691 /*************/ \
never@2723 692 \
never@2723 693 static_field(vmSymbols, _symbols[0], Symbol*) \
never@2723 694 \
duke@0 695 /*******************/ \
duke@0 696 /* HashtableBucket */ \
duke@0 697 /*******************/ \
duke@0 698 \
zgu@3465 699 nonstatic_field(HashtableBucket<mtInternal>, _entry, BasicHashtableEntry<mtInternal>*) \
duke@0 700 \
duke@0 701 /******************/ \
duke@0 702 /* HashtableEntry */ \
duke@0 703 /******************/ \
duke@0 704 \
zgu@3465 705 nonstatic_field(BasicHashtableEntry<mtInternal>, _next, BasicHashtableEntry<mtInternal>*) \
zgu@3465 706 nonstatic_field(BasicHashtableEntry<mtInternal>, _hash, unsigned int) \
zgu@3465 707 nonstatic_field(IntptrHashtableEntry, _literal, intptr_t) \
duke@0 708 \
duke@0 709 /*************/ \
duke@0 710 /* Hashtable */ \
duke@0 711 /*************/ \
duke@0 712 \
zgu@3465 713 nonstatic_field(BasicHashtable<mtInternal>, _table_size, int) \
zgu@3465 714 nonstatic_field(BasicHashtable<mtInternal>, _buckets, HashtableBucket<mtInternal>*) \
tschatzl@8541 715 volatile_nonstatic_field(BasicHashtable<mtInternal>, _free_list, BasicHashtableEntry<mtInternal>*) \
zgu@3465 716 nonstatic_field(BasicHashtable<mtInternal>, _first_free_entry, char*) \
zgu@3465 717 nonstatic_field(BasicHashtable<mtInternal>, _end_block, char*) \
zgu@3465 718 nonstatic_field(BasicHashtable<mtInternal>, _entry_size, int) \
duke@0 719 \
duke@0 720 /*******************/ \
duke@0 721 /* DictionaryEntry */ \
duke@0 722 /*******************/ \
duke@0 723 \
coleenp@3602 724 nonstatic_field(DictionaryEntry, _loader_data, ClassLoaderData*) \
duke@0 725 nonstatic_field(DictionaryEntry, _pd_set, ProtectionDomainEntry*) \
duke@0 726 \
duke@0 727 /********************/ \
duke@0 728 \
coleenp@3602 729 nonstatic_field(PlaceholderEntry, _loader_data, ClassLoaderData*) \
duke@0 730 \
duke@0 731 /**************************/ \
tschatzl@5427 732 /* ProtectionDomainEntry */ \
duke@0 733 /**************************/ \
duke@0 734 \
duke@0 735 nonstatic_field(ProtectionDomainEntry, _next, ProtectionDomainEntry*) \
tschatzl@5427 736 nonstatic_field(ProtectionDomainEntry, _pd_cache, ProtectionDomainCacheEntry*) \
tschatzl@5427 737 \
tschatzl@5427 738 /*******************************/ \
tschatzl@5427 739 /* ProtectionDomainCacheEntry */ \
tschatzl@5427 740 /*******************************/ \
tschatzl@5427 741 \
tschatzl@5427 742 nonstatic_field(ProtectionDomainCacheEntry, _literal, oop) \
duke@0 743 \
duke@0 744 /*************************/ \
duke@0 745 /* LoaderConstraintEntry */ \
duke@0 746 /*************************/ \
duke@0 747 \
coleenp@2062 748 nonstatic_field(LoaderConstraintEntry, _name, Symbol*) \
duke@0 749 nonstatic_field(LoaderConstraintEntry, _num_loaders, int) \
duke@0 750 nonstatic_field(LoaderConstraintEntry, _max_loaders, int) \
coleenp@3602 751 nonstatic_field(LoaderConstraintEntry, _loaders, ClassLoaderData**) \
coleenp@3602 752 \
coleenp@3602 753 nonstatic_field(ClassLoaderData, _class_loader, oop) \
coleenp@3602 754 nonstatic_field(ClassLoaderData, _next, ClassLoaderData*) \
coleenp@3602 755 \
coleenp@3602 756 static_field(ClassLoaderDataGraph, _head, ClassLoaderData*) \
duke@0 757 \
twisti@5291 758 /**********/ \
twisti@5291 759 /* Arrays */ \
twisti@5291 760 /**********/ \
twisti@5291 761 \
twisti@5291 762 nonstatic_field(Array<Klass*>, _length, int) \
twisti@5291 763 nonstatic_field(Array<Klass*>, _data[0], Klass*) \
twisti@5291 764 \
never@2703 765 /*******************/ \
never@2703 766 /* GrowableArrays */ \
never@2703 767 /*******************/ \
never@2703 768 \
never@2703 769 nonstatic_field(GenericGrowableArray, _len, int) \
never@2703 770 nonstatic_field(GenericGrowableArray, _max, int) \
never@2703 771 nonstatic_field(GenericGrowableArray, _arena, Arena*) \
twisti@5291 772 nonstatic_field(GrowableArray<int>, _data, int*) \
never@2703 773 \
duke@0 774 /********************************/ \
duke@0 775 /* CodeCache (NOTE: incomplete) */ \
duke@0 776 /********************************/ \
duke@0 777 \
duke@0 778 static_field(CodeCache, _heap, CodeHeap*) \
jrose@989 779 static_field(CodeCache, _scavenge_root_nmethods, nmethod*) \
duke@0 780 \
duke@0 781 /*******************************/ \
duke@0 782 /* CodeHeap (NOTE: incomplete) */ \
duke@0 783 /*******************************/ \
duke@0 784 \
duke@0 785 nonstatic_field(CodeHeap, _memory, VirtualSpace) \
duke@0 786 nonstatic_field(CodeHeap, _segmap, VirtualSpace) \
duke@0 787 nonstatic_field(CodeHeap, _log2_segment_size, int) \
duke@0 788 nonstatic_field(HeapBlock, _header, HeapBlock::Header) \
duke@0 789 nonstatic_field(HeapBlock::Header, _length, size_t) \
duke@0 790 nonstatic_field(HeapBlock::Header, _used, bool) \
duke@0 791 \
duke@0 792 /**********************************/ \
duke@0 793 /* Interpreter (NOTE: incomplete) */ \
duke@0 794 /**********************************/ \
duke@0 795 \
duke@0 796 static_field(AbstractInterpreter, _code, StubQueue*) \
duke@0 797 \
duke@0 798 /****************************/ \
duke@0 799 /* Stubs (NOTE: incomplete) */ \
duke@0 800 /****************************/ \
duke@0 801 \
duke@0 802 nonstatic_field(StubQueue, _stub_buffer, address) \
duke@0 803 nonstatic_field(StubQueue, _buffer_limit, int) \
duke@0 804 nonstatic_field(StubQueue, _queue_begin, int) \
duke@0 805 nonstatic_field(StubQueue, _queue_end, int) \
duke@0 806 nonstatic_field(StubQueue, _number_of_stubs, int) \
duke@0 807 nonstatic_field(InterpreterCodelet, _size, int) \
duke@0 808 nonstatic_field(InterpreterCodelet, _description, const char*) \
duke@0 809 nonstatic_field(InterpreterCodelet, _bytecode, Bytecodes::Code) \
duke@0 810 \
duke@0 811 /***********************************/ \
duke@0 812 /* StubRoutines (NOTE: incomplete) */ \
duke@0 813 /***********************************/ \
duke@0 814 \
twisti@5291 815 static_field(StubRoutines, _verify_oop_count, jint) \
duke@0 816 static_field(StubRoutines, _call_stub_return_address, address) \
twisti@5291 817 static_field(StubRoutines, _aescrypt_encryptBlock, address) \
twisti@5291 818 static_field(StubRoutines, _aescrypt_decryptBlock, address) \
twisti@5291 819 static_field(StubRoutines, _cipherBlockChaining_encryptAESCrypt, address) \
twisti@5291 820 static_field(StubRoutines, _cipherBlockChaining_decryptAESCrypt, address) \
twisti@5291 821 static_field(StubRoutines, _updateBytesCRC32, address) \
twisti@5291 822 static_field(StubRoutines, _crc_table_adr, address) \
kvn@6636 823 static_field(StubRoutines, _multiplyToLen, address) \
igerasim@7924 824 static_field(StubRoutines, _squareToLen, address) \
igerasim@7924 825 static_field(StubRoutines, _mulAdd, address) \
twisti@5291 826 \
twisti@5291 827 /*****************/ \
twisti@5291 828 /* SharedRuntime */ \
twisti@5291 829 /*****************/ \
twisti@5291 830 \
twisti@5291 831 static_field(SharedRuntime, _ic_miss_blob, RuntimeStub*) \
duke@0 832 \
duke@0 833 /***************************************/ \
duke@0 834 /* PcDesc and other compiled code info */ \
duke@0 835 /***************************************/ \
duke@0 836 \
duke@0 837 nonstatic_field(PcDesc, _pc_offset, int) \
duke@0 838 nonstatic_field(PcDesc, _scope_decode_offset, int) \
kvn@1040 839 nonstatic_field(PcDesc, _obj_decode_offset, int) \
never@2673 840 nonstatic_field(PcDesc, _flags, int) \
duke@0 841 \
duke@0 842 /***************************************************/ \
duke@0 843 /* CodeBlobs (NOTE: incomplete, but only a little) */ \
duke@0 844 /***************************************************/ \
duke@0 845 \
duke@0 846 nonstatic_field(CodeBlob, _name, const char*) \
duke@0 847 nonstatic_field(CodeBlob, _size, int) \
duke@0 848 nonstatic_field(CodeBlob, _header_size, int) \
duke@0 849 nonstatic_field(CodeBlob, _relocation_size, int) \
twisti@1668 850 nonstatic_field(CodeBlob, _content_offset, int) \
twisti@1668 851 nonstatic_field(CodeBlob, _code_offset, int) \
duke@0 852 nonstatic_field(CodeBlob, _frame_complete_offset, int) \
duke@0 853 nonstatic_field(CodeBlob, _data_offset, int) \
duke@0 854 nonstatic_field(CodeBlob, _frame_size, int) \
duke@0 855 nonstatic_field(CodeBlob, _oop_maps, OopMapSet*) \
duke@0 856 \
never@2673 857 nonstatic_field(RuntimeStub, _caller_must_gc_arguments, bool) \
never@2673 858 \
duke@0 859 /**************************************************/ \
duke@0 860 /* NMethods (NOTE: incomplete, but only a little) */ \
duke@0 861 /**************************************************/ \
duke@0 862 \
coleenp@3602 863 nonstatic_field(nmethod, _method, Method*) \
duke@0 864 nonstatic_field(nmethod, _entry_bci, int) \
jrose@989 865 nonstatic_field(nmethod, _osr_link, nmethod*) \
jrose@989 866 nonstatic_field(nmethod, _scavenge_root_link, nmethod*) \
jrose@989 867 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \
anoll@5357 868 nonstatic_field(nmethod, _state, volatile unsigned char) \
duke@0 869 nonstatic_field(nmethod, _exception_offset, int) \
duke@0 870 nonstatic_field(nmethod, _deoptimize_offset, int) \
never@2673 871 nonstatic_field(nmethod, _deoptimize_mh_offset, int) \
duke@0 872 nonstatic_field(nmethod, _orig_pc_offset, int) \
duke@0 873 nonstatic_field(nmethod, _stub_offset, int) \
twisti@1483 874 nonstatic_field(nmethod, _consts_offset, int) \
twisti@1483 875 nonstatic_field(nmethod, _oops_offset, int) \
coleenp@3602 876 nonstatic_field(nmethod, _metadata_offset, int) \
duke@0 877 nonstatic_field(nmethod, _scopes_data_offset, int) \
duke@0 878 nonstatic_field(nmethod, _scopes_pcs_offset, int) \
duke@0 879 nonstatic_field(nmethod, _dependencies_offset, int) \
duke@0 880 nonstatic_field(nmethod, _handler_table_offset, int) \
duke@0 881 nonstatic_field(nmethod, _nul_chk_table_offset, int) \
duke@0 882 nonstatic_field(nmethod, _nmethod_end_offset, int) \
duke@0 883 nonstatic_field(nmethod, _entry_point, address) \
duke@0 884 nonstatic_field(nmethod, _verified_entry_point, address) \
duke@0 885 nonstatic_field(nmethod, _osr_entry_point, address) \
duke@0 886 nonstatic_field(nmethod, _lock_count, jint) \
duke@0 887 nonstatic_field(nmethod, _stack_traversal_mark, long) \
never@2485 888 nonstatic_field(nmethod, _compile_id, int) \
iignatyev@4594 889 nonstatic_field(nmethod, _comp_level, int) \
dbuck@8395 890 volatile_nonstatic_field(nmethod, _exception_cache, ExceptionCache*) \
never@2485 891 nonstatic_field(nmethod, _marked_for_deoptimization, bool) \
twisti@3534 892 \
twisti@3534 893 unchecked_c2_static_field(Deoptimization, _trap_reason_name, void*) \
never@2703 894 \
duke@0 895 /********************************/ \
duke@0 896 /* JavaCalls (NOTE: incomplete) */ \
duke@0 897 /********************************/ \
duke@0 898 \
duke@0 899 nonstatic_field(JavaCallWrapper, _anchor, JavaFrameAnchor) \
duke@0 900 /********************************/ \
duke@0 901 /* JavaFrameAnchor (NOTE: incomplete) */ \
duke@0 902 /********************************/ \
duke@0 903 volatile_nonstatic_field(JavaFrameAnchor, _last_Java_sp, intptr_t*) \
duke@0 904 volatile_nonstatic_field(JavaFrameAnchor, _last_Java_pc, address) \
duke@0 905 \
duke@0 906 /******************************/ \
duke@0 907 /* Threads (NOTE: incomplete) */ \
duke@0 908 /******************************/ \
duke@0 909 \
duke@0 910 static_field(Threads, _thread_list, JavaThread*) \
duke@0 911 static_field(Threads, _number_of_threads, int) \
duke@0 912 static_field(Threads, _number_of_non_daemon_threads, int) \
duke@0 913 static_field(Threads, _return_code, int) \
duke@0 914 \
never@2703 915 nonstatic_field(ThreadShadow, _pending_exception, oop) \
never@2703 916 nonstatic_field(ThreadShadow, _exception_file, const char*) \
never@2703 917 nonstatic_field(ThreadShadow, _exception_line, int) \
duke@0 918 volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \
duke@0 919 nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \
duke@0 920 nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \
twisti@5291 921 nonstatic_field(Thread, _allocated_bytes, jlong) \
duke@0 922 nonstatic_field(Thread, _current_pending_monitor, ObjectMonitor*) \
duke@0 923 nonstatic_field(Thread, _current_pending_monitor_is_from_java, bool) \
duke@0 924 nonstatic_field(Thread, _current_waiting_monitor, ObjectMonitor*) \
duke@0 925 nonstatic_field(NamedThread, _name, char*) \
minqi@1119 926 nonstatic_field(NamedThread, _processed_thread, JavaThread*) \
duke@0 927 nonstatic_field(JavaThread, _next, JavaThread*) \
duke@0 928 nonstatic_field(JavaThread, _threadObj, oop) \
duke@0 929 nonstatic_field(JavaThread, _anchor, JavaFrameAnchor) \
never@2703 930 nonstatic_field(JavaThread, _vm_result, oop) \
coleenp@3602 931 nonstatic_field(JavaThread, _vm_result_2, Metadata*) \
never@2703 932 nonstatic_field(JavaThread, _pending_async_exception, oop) \
never@2703 933 volatile_nonstatic_field(JavaThread, _exception_oop, oop) \
never@2703 934 volatile_nonstatic_field(JavaThread, _exception_pc, address) \
twisti@5291 935 volatile_nonstatic_field(JavaThread, _is_method_handle_return, int) \
never@2703 936 nonstatic_field(JavaThread, _special_runtime_exit_condition, JavaThread::AsyncRequests) \
never@2703 937 nonstatic_field(JavaThread, _saved_exception_pc, address) \
duke@0 938 volatile_nonstatic_field(JavaThread, _thread_state, JavaThreadState) \
duke@0 939 nonstatic_field(JavaThread, _osthread, OSThread*) \
duke@0 940 nonstatic_field(JavaThread, _stack_base, address) \
duke@0 941 nonstatic_field(JavaThread, _stack_size, size_t) \
never@2703 942 nonstatic_field(JavaThread, _vframe_array_head, vframeArray*) \
never@2703 943 nonstatic_field(JavaThread, _vframe_array_last, vframeArray*) \
twisti@5291 944 nonstatic_field(JavaThread, _satb_mark_queue, ObjPtrQueue) \
twisti@5291 945 nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \
never@2703 946 nonstatic_field(Thread, _resource_area, ResourceArea*) \
never@2703 947 nonstatic_field(CompilerThread, _env, ciEnv*) \
duke@0 948 \
duke@0 949 /************/ \
duke@0 950 /* OSThread */ \
duke@0 951 /************/ \
duke@0 952 \
dholmes@2233 953 volatile_nonstatic_field(OSThread, _interrupted, jint) \
duke@0 954 \
duke@0 955 /************************/ \
duke@0 956 /* OopMap and OopMapSet */ \
duke@0 957 /************************/ \
duke@0 958 \
duke@0 959 nonstatic_field(OopMap, _pc_offset, int) \
duke@0 960 nonstatic_field(OopMap, _omv_count, int) \
duke@0 961 nonstatic_field(OopMap, _omv_data_size, int) \
duke@0 962 nonstatic_field(OopMap, _omv_data, unsigned char*) \
duke@0 963 nonstatic_field(OopMap, _write_stream, CompressedWriteStream*) \
duke@0 964 nonstatic_field(OopMapSet, _om_count, int) \
duke@0 965 nonstatic_field(OopMapSet, _om_size, int) \
duke@0 966 nonstatic_field(OopMapSet, _om_data, OopMap**) \
duke@0 967 \
duke@0 968 /*********************************/ \
duke@0 969 /* JNIHandles and JNIHandleBlock */ \
duke@0 970 /*********************************/ \
duke@0 971 static_field(JNIHandles, _global_handles, JNIHandleBlock*) \
duke@0 972 static_field(JNIHandles, _weak_global_handles, JNIHandleBlock*) \
duke@0 973 static_field(JNIHandles, _deleted_handle, oop) \
duke@0 974 \
duke@0 975 unchecked_nonstatic_field(JNIHandleBlock, _handles, JNIHandleBlock::block_size_in_oops * sizeof(Oop)) /* Note: no type */ \
duke@0 976 nonstatic_field(JNIHandleBlock, _top, int) \
duke@0 977 nonstatic_field(JNIHandleBlock, _next, JNIHandleBlock*) \
duke@0 978 \
duke@0 979 /********************/ \
duke@0 980 /* CompressedStream */ \
duke@0 981 /********************/ \
duke@0 982 \
duke@0 983 nonstatic_field(CompressedStream, _buffer, u_char*) \
duke@0 984 nonstatic_field(CompressedStream, _position, int) \
duke@0 985 \
duke@0 986 /*********************************/ \
duke@0 987 /* VMRegImpl (NOTE: incomplete) */ \
duke@0 988 /*********************************/ \
duke@0 989 \
duke@0 990 static_field(VMRegImpl, regName[0], const char*) \
duke@0 991 static_field(VMRegImpl, stack0, VMReg) \
duke@0 992 \
duke@0 993 /*******************************/ \
duke@0 994 /* Runtime1 (NOTE: incomplete) */ \
duke@0 995 /*******************************/ \
duke@0 996 \
never@2703 997 unchecked_c1_static_field(Runtime1, _blobs, sizeof(Runtime1::_blobs)) /* NOTE: no type */ \
never@2703 998 \
never@2703 999 /**************/ \
never@2703 1000 /* allocation */ \
never@2703 1001 /**************/ \
never@2703 1002 \
never@2703 1003 nonstatic_field(Chunk, _next, Chunk*) \
never@2703 1004 nonstatic_field(Chunk, _len, const size_t) \
never@2703 1005 \
never@2703 1006 nonstatic_field(Arena, _first, Chunk*) \
never@2703 1007 nonstatic_field(Arena, _chunk, Chunk*) \
never@2703 1008 nonstatic_field(Arena, _hwm, char*) \
never@2703 1009 nonstatic_field(Arena, _max, char*) \
never@2703 1010 \
never@2703 1011 /************/ \
never@2703 1012 /* CI */ \
never@2703 1013 /************/ \
never@2703 1014 \
never@2703 1015 nonstatic_field(ciEnv, _system_dictionary_modification_counter, int) \
never@2703 1016 nonstatic_field(ciEnv, _compiler_data, void*) \
never@2703 1017 nonstatic_field(ciEnv, _failure_reason, const char*) \
never@2703 1018 nonstatic_field(ciEnv, _factory, ciObjectFactory*) \
never@2703 1019 nonstatic_field(ciEnv, _dependencies, Dependencies*) \
never@2703 1020 nonstatic_field(ciEnv, _task, CompileTask*) \
never@2703 1021 nonstatic_field(ciEnv, _arena, Arena*) \
never@2703 1022 \
coleenp@3602 1023 nonstatic_field(ciBaseObject, _ident, uint) \
coleenp@3602 1024 \
never@2703 1025 nonstatic_field(ciObject, _handle, jobject) \
never@2703 1026 nonstatic_field(ciObject, _klass, ciKlass*) \
never@2703 1027 \
coleenp@3602 1028 nonstatic_field(ciMetadata, _metadata, Metadata*) \
coleenp@3602 1029 \
never@2703 1030 nonstatic_field(ciSymbol, _symbol, Symbol*) \
never@2703 1031 \
never@2703 1032 nonstatic_field(ciType, _basic_type, BasicType) \
never@2703 1033 \
never@2703 1034 nonstatic_field(ciKlass, _name, ciSymbol*) \
never@2703 1035 \
never@2703 1036 nonstatic_field(ciArrayKlass, _dimension, jint) \
never@2703 1037 \
never@2703 1038 nonstatic_field(ciObjArrayKlass, _element_klass, ciKlass*) \
never@2703 1039 nonstatic_field(ciObjArrayKlass, _base_element_klass, ciKlass*) \
never@2703 1040 \
coleenp@3602 1041 nonstatic_field(ciInstanceKlass, _init_state, InstanceKlass::ClassState) \
never@2703 1042 nonstatic_field(ciInstanceKlass, _is_shared, bool) \
never@2703 1043 \
never@2703 1044 nonstatic_field(ciMethod, _interpreter_invocation_count, int) \
never@2703 1045 nonstatic_field(ciMethod, _interpreter_throwout_count, int) \
minqi@3832 1046 nonstatic_field(ciMethod, _instructions_size, int) \
never@2703 1047 \
never@2703 1048 nonstatic_field(ciMethodData, _data_size, int) \
never@2703 1049 nonstatic_field(ciMethodData, _state, u_char) \
never@2703 1050 nonstatic_field(ciMethodData, _extra_data_size, int) \
never@2703 1051 nonstatic_field(ciMethodData, _data, intptr_t*) \
never@2703 1052 nonstatic_field(ciMethodData, _hint_di, int) \
never@2703 1053 nonstatic_field(ciMethodData, _eflags, intx) \
never@2703 1054 nonstatic_field(ciMethodData, _arg_local, intx) \
never@2703 1055 nonstatic_field(ciMethodData, _arg_stack, intx) \
never@2703 1056 nonstatic_field(ciMethodData, _arg_returned, intx) \
never@2703 1057 nonstatic_field(ciMethodData, _current_mileage, int) \
coleenp@3602 1058 nonstatic_field(ciMethodData, _orig, MethodData) \
never@2703 1059 \
never@2703 1060 nonstatic_field(ciField, _holder, ciInstanceKlass*) \
never@2703 1061 nonstatic_field(ciField, _name, ciSymbol*) \
never@2703 1062 nonstatic_field(ciField, _signature, ciSymbol*) \
never@2703 1063 nonstatic_field(ciField, _offset, int) \
never@2703 1064 nonstatic_field(ciField, _is_constant, bool) \
never@2703 1065 nonstatic_field(ciField, _constant_value, ciConstant) \
never@2703 1066 \
coleenp@3602 1067 nonstatic_field(ciObjectFactory, _ci_metadata, GrowableArray<ciMetadata*>*) \
never@2703 1068 nonstatic_field(ciObjectFactory, _symbols, GrowableArray<ciSymbol*>*) \
never@2703 1069 nonstatic_field(ciObjectFactory, _unloaded_methods, GrowableArray<ciMethod*>*) \
never@2703 1070 \
never@2703 1071 nonstatic_field(ciConstant, _type, BasicType) \
never@2703 1072 nonstatic_field(ciConstant, _value._int, jint) \
never@2703 1073 nonstatic_field(ciConstant, _value._long, jlong) \
never@2703 1074 nonstatic_field(ciConstant, _value._float, jfloat) \
never@2703 1075 nonstatic_field(ciConstant, _value._double, jdouble) \
never@2703 1076 nonstatic_field(ciConstant, _value._object, ciObject*) \
duke@0 1077 \
duke@0 1078 /************/ \
duke@0 1079 /* Monitors */ \
duke@0 1080 /************/ \
duke@0 1081 \
duke@0 1082 volatile_nonstatic_field(ObjectMonitor, _header, markOop) \
duke@0 1083 unchecked_nonstatic_field(ObjectMonitor, _object, sizeof(void *)) /* NOTE: no type */ \
duke@0 1084 unchecked_nonstatic_field(ObjectMonitor, _owner, sizeof(void *)) /* NOTE: no type */ \
duke@0 1085 volatile_nonstatic_field(ObjectMonitor, _count, intptr_t) \
duke@0 1086 volatile_nonstatic_field(ObjectMonitor, _waiters, intptr_t) \
duke@0 1087 volatile_nonstatic_field(ObjectMonitor, _recursions, intptr_t) \
duke@0 1088 nonstatic_field(ObjectMonitor, FreeNext, ObjectMonitor*) \
duke@0 1089 volatile_nonstatic_field(BasicLock, _displaced_header, markOop) \
duke@0 1090 nonstatic_field(BasicObjectLock, _lock, BasicLock) \
duke@0 1091 nonstatic_field(BasicObjectLock, _obj, oop) \
duke@0 1092 static_field(ObjectSynchronizer, gBlockList, ObjectMonitor*) \
duke@0 1093 \
duke@0 1094 /*********************/ \
duke@0 1095 /* Matcher (C2 only) */ \
duke@0 1096 /*********************/ \
duke@0 1097 \
never@2703 1098 unchecked_c2_static_field(Matcher, _regEncode, sizeof(Matcher::_regEncode)) /* NOTE: no type */ \
never@2703 1099 \
never@2703 1100 c2_nonstatic_field(Node, _in, Node**) \
never@2703 1101 c2_nonstatic_field(Node, _out, Node**) \
never@2703 1102 c2_nonstatic_field(Node, _cnt, node_idx_t) \
never@2703 1103 c2_nonstatic_field(Node, _max, node_idx_t) \
never@2703 1104 c2_nonstatic_field(Node, _outcnt, node_idx_t) \
never@2703 1105 c2_nonstatic_field(Node, _outmax, node_idx_t) \
never@2703 1106 c2_nonstatic_field(Node, _idx, const node_idx_t) \
never@2703 1107 c2_nonstatic_field(Node, _class_id, jushort) \
never@2703 1108 c2_nonstatic_field(Node, _flags, jushort) \
never@2703 1109 \
never@2703 1110 c2_nonstatic_field(Compile, _root, RootNode*) \
never@2703 1111 c2_nonstatic_field(Compile, _unique, uint) \
never@2703 1112 c2_nonstatic_field(Compile, _entry_bci, int) \
never@2703 1113 c2_nonstatic_field(Compile, _top, Node*) \
never@2703 1114 c2_nonstatic_field(Compile, _cfg, PhaseCFG*) \
never@2703 1115 c2_nonstatic_field(Compile, _regalloc, PhaseRegAlloc*) \
never@2703 1116 c2_nonstatic_field(Compile, _method, ciMethod*) \
never@2703 1117 c2_nonstatic_field(Compile, _compile_id, const int) \
never@2703 1118 c2_nonstatic_field(Compile, _save_argument_registers, const bool) \
never@2703 1119 c2_nonstatic_field(Compile, _subsume_loads, const bool) \
never@2703 1120 c2_nonstatic_field(Compile, _do_escape_analysis, const bool) \
kvn@4675 1121 c2_nonstatic_field(Compile, _eliminate_boxing, const bool) \
never@2703 1122 c2_nonstatic_field(Compile, _ilt, InlineTree*) \
never@2703 1123 \
never@2703 1124 c2_nonstatic_field(InlineTree, _caller_jvms, JVMState*) \
never@2703 1125 c2_nonstatic_field(InlineTree, _method, ciMethod*) \
never@2703 1126 c2_nonstatic_field(InlineTree, _caller_tree, InlineTree*) \
never@2703 1127 c2_nonstatic_field(InlineTree, _subtrees, GrowableArray<InlineTree*>) \
never@2703 1128 \
never@2703 1129 c2_nonstatic_field(OptoRegPair, _first, short) \
never@2703 1130 c2_nonstatic_field(OptoRegPair, _second, short) \
never@2703 1131 \
never@2703 1132 c2_nonstatic_field(JVMState, _caller, JVMState*) \
never@2703 1133 c2_nonstatic_field(JVMState, _depth, uint) \
never@2703 1134 c2_nonstatic_field(JVMState, _locoff, uint) \
never@2703 1135 c2_nonstatic_field(JVMState, _stkoff, uint) \
never@2703 1136 c2_nonstatic_field(JVMState, _monoff, uint) \
never@2703 1137 c2_nonstatic_field(JVMState, _scloff, uint) \
never@2703 1138 c2_nonstatic_field(JVMState, _endoff, uint) \
never@2703 1139 c2_nonstatic_field(JVMState, _sp, uint) \
never@2703 1140 c2_nonstatic_field(JVMState, _bci, int) \
never@2703 1141 c2_nonstatic_field(JVMState, _method, ciMethod*) \
never@2703 1142 c2_nonstatic_field(JVMState, _map, SafePointNode*) \
never@2703 1143 \
never@2703 1144 c2_nonstatic_field(SafePointNode, _jvms, JVMState* const) \
never@2703 1145 \
never@2703 1146 c2_nonstatic_field(MachSafePointNode, _jvms, JVMState*) \
never@2703 1147 c2_nonstatic_field(MachSafePointNode, _jvmadj, uint) \
never@2703 1148 \
never@2703 1149 c2_nonstatic_field(MachIfNode, _prob, jfloat) \
never@2703 1150 c2_nonstatic_field(MachIfNode, _fcnt, jfloat) \
never@2703 1151 \
never@2703 1152 c2_nonstatic_field(CallNode, _entry_point, address) \
never@2703 1153 \
never@2703 1154 c2_nonstatic_field(CallJavaNode, _method, ciMethod*) \
never@2703 1155 \
never@2703 1156 c2_nonstatic_field(CallRuntimeNode, _name, const char*) \
never@2703 1157 \
never@2703 1158 c2_nonstatic_field(CallStaticJavaNode, _name, const char*) \
never@2703 1159 \
never@2703 1160 c2_nonstatic_field(MachCallJavaNode, _method, ciMethod*) \
never@2703 1161 c2_nonstatic_field(MachCallJavaNode, _bci, int) \
never@2703 1162 \
never@2703 1163 c2_nonstatic_field(MachCallStaticJavaNode, _name, const char*) \
never@2703 1164 \
never@2703 1165 c2_nonstatic_field(MachCallRuntimeNode, _name, const char*) \
never@2703 1166 \
adlertz@5104 1167 c2_nonstatic_field(PhaseCFG, _number_of_blocks, uint) \
never@2703 1168 c2_nonstatic_field(PhaseCFG, _blocks, Block_List) \
adlertz@5074 1169 c2_nonstatic_field(PhaseCFG, _node_to_block_mapping, Block_Array) \
adlertz@5104 1170 c2_nonstatic_field(PhaseCFG, _root_block, Block*) \
never@2703 1171 \
never@2703 1172 c2_nonstatic_field(PhaseRegAlloc, _node_regs, OptoRegPair*) \
never@2703 1173 c2_nonstatic_field(PhaseRegAlloc, _node_regs_max_index, uint) \
never@2703 1174 c2_nonstatic_field(PhaseRegAlloc, _framesize, uint) \
never@2703 1175 c2_nonstatic_field(PhaseRegAlloc, _max_reg, OptoReg::Name) \
never@2703 1176 \
never@2703 1177 c2_nonstatic_field(PhaseChaitin, _trip_cnt, int) \
never@2703 1178 c2_nonstatic_field(PhaseChaitin, _alternate, int) \
never@2703 1179 c2_nonstatic_field(PhaseChaitin, _lo_degree, uint) \
never@2703 1180 c2_nonstatic_field(PhaseChaitin, _lo_stk_degree, uint) \
never@2703 1181 c2_nonstatic_field(PhaseChaitin, _hi_degree, uint) \
never@2703 1182 c2_nonstatic_field(PhaseChaitin, _simplified, uint) \
never@2703 1183 \
never@2703 1184 c2_nonstatic_field(Block, _nodes, Node_List) \
never@2703 1185 c2_nonstatic_field(Block, _succs, Block_Array) \
never@2703 1186 c2_nonstatic_field(Block, _num_succs, uint) \
never@2703 1187 c2_nonstatic_field(Block, _pre_order, uint) \
never@2703 1188 c2_nonstatic_field(Block, _dom_depth, uint) \
never@2703 1189 c2_nonstatic_field(Block, _idom, Block*) \
never@2703 1190 c2_nonstatic_field(Block, _freq, jfloat) \
never@2703 1191 \
never@2703 1192 c2_nonstatic_field(CFGElement, _freq, jfloat) \
never@2703 1193 \
never@2703 1194 c2_nonstatic_field(Block_List, _cnt, uint) \
never@2703 1195 \
never@2703 1196 c2_nonstatic_field(Block_Array, _size, uint) \
never@2703 1197 c2_nonstatic_field(Block_Array, _blocks, Block**) \
never@2703 1198 c2_nonstatic_field(Block_Array, _arena, Arena*) \
never@2703 1199 \
never@2703 1200 c2_nonstatic_field(Node_List, _cnt, uint) \
never@2703 1201 \
never@2703 1202 c2_nonstatic_field(Node_Array, _max, uint) \
never@2703 1203 c2_nonstatic_field(Node_Array, _nodes, Node**) \
never@2703 1204 c2_nonstatic_field(Node_Array, _a, Arena*) \
never@2703 1205 \
duke@0 1206 \
duke@0 1207 /*********************/ \
duke@0 1208 /* -XX flags */ \
duke@0 1209 /*********************/ \
duke@0 1210 \
twisti@5355 1211 nonstatic_field(Flag, _type, const char*) \
twisti@5355 1212 nonstatic_field(Flag, _name, const char*) \
twisti@5355 1213 unchecked_nonstatic_field(Flag, _addr, sizeof(void*)) /* NOTE: no type */ \
twisti@5355 1214 nonstatic_field(Flag, _flags, Flag::Flags) \
duke@0 1215 static_field(Flag, flags, Flag*) \
duke@0 1216 static_field(Flag, numFlags, size_t) \
duke@0 1217 \
duke@0 1218 /*************************/ \
duke@0 1219 /* JDK / VM version info */ \
duke@0 1220 /*************************/ \
duke@0 1221 \
duke@0 1222 static_field(Abstract_VM_Version, _s_vm_release, const char*) \
duke@0 1223 static_field(Abstract_VM_Version, _s_internal_vm_info_string, const char*) \
duke@0 1224 static_field(Abstract_VM_Version, _vm_major_version, int) \
duke@0 1225 static_field(Abstract_VM_Version, _vm_minor_version, int) \
duke@0 1226 static_field(Abstract_VM_Version, _vm_build_number, int) \
stefank@4111 1227 static_field(Abstract_VM_Version, _reserve_for_allocation_prefetch, int) \
duke@0 1228 \
kamg@242 1229 static_field(JDK_Version, _current, JDK_Version) \
kamg@242 1230 nonstatic_field(JDK_Version, _partially_initialized, bool) \
kamg@242 1231 nonstatic_field(JDK_Version, _major, unsigned char) \
duke@0 1232 \
never@2703 1233 /*************************/ \
never@2703 1234 /* JVMTI */ \
never@2703 1235 /*************************/ \
duke@0 1236 \
jprovino@3730 1237 JVMTI_STRUCTS(static_field) \
duke@0 1238 \
duke@0 1239 /*************/ \
duke@0 1240 /* Arguments */ \
duke@0 1241 /*************/ \
duke@0 1242 \
duke@0 1243 static_field(Arguments, _jvm_flags_array, char**) \
duke@0 1244 static_field(Arguments, _num_jvm_flags, int) \
duke@0 1245 static_field(Arguments, _jvm_args_array, char**) \
duke@0 1246 static_field(Arguments, _num_jvm_args, int) \
duke@0 1247 static_field(Arguments, _java_command, char*) \
duke@0 1248 \
coleenp@3602 1249 /************/ \
coleenp@3602 1250 /* Array<T> */ \
coleenp@3602 1251 /************/ \
coleenp@3602 1252 \
coleenp@3602 1253 nonstatic_field(Array<int>, _length, int) \
coleenp@3602 1254 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \
coleenp@3602 1255 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \
coleenp@3602 1256 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \
twisti@5291 1257 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \
coleenp@3602 1258 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \
coleenp@3602 1259 \
never@2223 1260 /*********************************/ \
never@2223 1261 /* java_lang_Class fields */ \
never@2223 1262 /*********************************/ \
never@2223 1263 \
never@2702 1264 static_field(java_lang_Class, _klass_offset, int) \
never@2702 1265 static_field(java_lang_Class, _array_klass_offset, int) \
never@2702 1266 static_field(java_lang_Class, _oop_size_offset, int) \
never@2702 1267 static_field(java_lang_Class, _static_oop_field_count_offset, int) \
duke@0 1268 \
duke@0 1269 /************************/ \
duke@0 1270 /* Miscellaneous fields */ \
duke@0 1271 /************************/ \
duke@0 1272 \
twisti@5291 1273 nonstatic_field(CompileTask, _method, Method*) \
never@2703 1274 nonstatic_field(CompileTask, _osr_bci, int) \
never@2703 1275 nonstatic_field(CompileTask, _comp_level, int) \
never@2703 1276 nonstatic_field(CompileTask, _compile_id, uint) \
never@2703 1277 nonstatic_field(CompileTask, _next, CompileTask*) \
never@2703 1278 nonstatic_field(CompileTask, _prev, CompileTask*) \
never@2703 1279 \
never@2703 1280 nonstatic_field(vframeArray, _next, vframeArray*) \
never@2703 1281 nonstatic_field(vframeArray, _original, frame) \
never@2703 1282 nonstatic_field(vframeArray, _caller, frame) \
never@2703 1283 nonstatic_field(vframeArray, _frames, int) \
never@2703 1284 \
never@2703 1285 nonstatic_field(vframeArrayElement, _frame, frame) \
never@2703 1286 nonstatic_field(vframeArrayElement, _bci, int) \
twisti@5291 1287 nonstatic_field(vframeArrayElement, _method, Method*) \
twisti@5291 1288 \
twisti@5291 1289 nonstatic_field(PtrQueue, _active, bool) \
twisti@5291 1290 nonstatic_field(PtrQueue, _buf, void**) \
twisti@5291 1291 nonstatic_field(PtrQueue, _index, size_t) \
never@2703 1292 \
never@2703 1293 nonstatic_field(AccessFlags, _flags, jint) \
never@2703 1294 nonstatic_field(elapsedTimer, _counter, jlong) \
never@2703 1295 nonstatic_field(elapsedTimer, _active, bool) \
jmasa@3761 1296 nonstatic_field(InvocationCounter, _counter, unsigned int) \
jmasa@3761 1297 volatile_nonstatic_field(FreeChunk, _size, size_t) \
jmasa@3761 1298 nonstatic_field(FreeChunk, _next, FreeChunk*) \
jmasa@3761 1299 nonstatic_field(FreeChunk, _prev, FreeChunk*) \
sjohanss@7105 1300 nonstatic_field(AdaptiveFreeList<FreeChunk>, _size, size_t) \
sjohanss@7105 1301 nonstatic_field(AdaptiveFreeList<FreeChunk>, _count, ssize_t)
duke@0 1302
duke@0 1303
duke@0 1304 //--------------------------------------------------------------------------------
duke@0 1305 // VM_TYPES
duke@0 1306 //
duke@0 1307 // This list must enumerate at least all of the types in the above
duke@0 1308 // list. For the types in the above list, the entry below must have
duke@0 1309 // exactly the same spacing since string comparisons are done in the
duke@0 1310 // code which verifies the consistency of these tables (in the debug
duke@0 1311 // build).
duke@0 1312 //
duke@0 1313 // In addition to the above types, this list is required to enumerate
duke@0 1314 // the JNI's java types, which are used to indicate the size of Java
duke@0 1315 // fields in this VM to the SA. Further, oop types are currently
duke@0 1316 // distinguished by name (i.e., ends with "oop") over in the SA.
duke@0 1317 //
duke@0 1318 // The declare_toplevel_type macro should be used to declare types
duke@0 1319 // which do not have a superclass.
duke@0 1320 //
duke@0 1321 // The declare_integer_type and declare_unsigned_integer_type macros
duke@0 1322 // are required in order to properly identify C integer types over in
duke@0 1323 // the SA. They should be used for any type which is otherwise opaque
duke@0 1324 // and which it is necessary to coerce into an integer value. This
duke@0 1325 // includes, for example, the type uintptr_t. Note that while they
duke@0 1326 // will properly identify the type's size regardless of the platform,
duke@0 1327 // since it is does not seem possible to deduce or check signedness at
duke@0 1328 // compile time using the pointer comparison tricks, it is currently
duke@0 1329 // required that the given types have the same signedness across all
duke@0 1330 // platforms.
duke@0 1331 //
duke@0 1332 // NOTE that there are platform-specific additions to this table in
duke@0 1333 // vmStructs_<os>_<cpu>.hpp.
duke@0 1334
duke@0 1335 #define VM_TYPES(declare_type, \
duke@0 1336 declare_toplevel_type, \
duke@0 1337 declare_oop_type, \
duke@0 1338 declare_integer_type, \
duke@0 1339 declare_unsigned_integer_type, \
duke@0 1340 declare_c1_toplevel_type, \
duke@0 1341 declare_c2_type, \
mikael@3991 1342 declare_c2_toplevel_type) \
duke@0 1343 \
duke@0 1344 /*************************************************************/ \
duke@0 1345 /* Java primitive types -- required by the SA implementation */ \
duke@0 1346 /* in order to determine the size of Java fields in this VM */ \
duke@0 1347 /* (the implementation looks up these names specifically) */ \
duke@0 1348 /* NOTE: since we fetch these sizes from the remote VM, we */ \
duke@0 1349 /* have a bootstrapping sequence during which it is not */ \
duke@0 1350 /* valid to fetch Java values from the remote process, only */ \
duke@0 1351 /* C integer values (of known size). NOTE also that we do */ \
duke@0 1352 /* NOT include "Java unsigned" types like juint here; since */ \
duke@0 1353 /* Java does not have unsigned primitive types, those can */ \
duke@0 1354 /* not be mapped directly and are considered to be C integer */ \
duke@0 1355 /* types in this system (see the "other types" section, */ \
duke@0 1356 /* below.) */ \
duke@0 1357 /*************************************************************/ \
duke@0 1358 \
duke@0 1359 declare_toplevel_type(jboolean) \
duke@0 1360 declare_toplevel_type(jbyte) \
duke@0 1361 declare_toplevel_type(jchar) \
duke@0 1362 declare_toplevel_type(jdouble) \
duke@0 1363 declare_toplevel_type(jfloat) \
duke@0 1364 declare_toplevel_type(jint) \
duke@0 1365 declare_toplevel_type(jlong) \
duke@0 1366 declare_toplevel_type(jshort) \
duke@0 1367 \
duke@0 1368 /*********************************************************************/ \
duke@0 1369 /* C integer types. User-defined typedefs (like "size_t" or */ \
duke@0 1370 /* "intptr_t") are guaranteed to be present with the same names over */ \
duke@0 1371 /* in the SA's type database. Names like "unsigned short" are not */ \
duke@0 1372 /* guaranteed to be visible through the SA's type database lookup */ \
duke@0 1373 /* mechanism, though they will have a Type object created for them */ \
duke@0 1374 /* and are valid types for Fields. */ \
duke@0 1375 /*********************************************************************/ \
duke@0 1376 declare_integer_type(bool) \
never@2703 1377 declare_integer_type(short) \
duke@0 1378 declare_integer_type(int) \
duke@0 1379 declare_integer_type(long) \
duke@0 1380 declare_integer_type(char) \
duke@0 1381 declare_unsigned_integer_type(unsigned char) \
anoll@5357 1382 declare_unsigned_integer_type(volatile unsigned char) \
never@2703 1383 declare_unsigned_integer_type(u_char) \
duke@0 1384 declare_unsigned_integer_type(unsigned int) \
never@2703 1385 declare_unsigned_integer_type(uint) \
duke@0 1386 declare_unsigned_integer_type(unsigned short) \
never@2704 1387 declare_unsigned_integer_type(jushort) \
duke@0 1388 declare_unsigned_integer_type(unsigned long) \
duke@0 1389 /* The compiler thinks this is a different type than */ \
duke@0 1390 /* unsigned short on Win32 */ \
coleenp@3602 1391 declare_unsigned_integer_type(u1) \
duke@0 1392 declare_unsigned_integer_type(u2) \
poonam@7107 1393 declare_unsigned_integer_type(u4) \
poonam@7107 1394 declare_unsigned_integer_type(u8) \
duke@0 1395 declare_unsigned_integer_type(unsigned) \
duke@0 1396 \
duke@0 1397 /*****************************/ \
duke@0 1398 /* C primitive pointer types */ \
duke@0 1399 /*****************************/ \
duke@0 1400 \
coleenp@3602 1401 declare_toplevel_type(void*) \
duke@0 1402 declare_toplevel_type(int*) \
duke@0 1403 declare_toplevel_type(char*) \
duke@0 1404 declare_toplevel_type(char**) \
duke@0 1405 declare_toplevel_type(u_char*) \
duke@0 1406 declare_toplevel_type(unsigned char*) \
anoll@5357 1407 declare_toplevel_type(volatile unsigned char*) \
duke@0 1408 \
duke@0 1409 /*******************************************************************/ \
duke@0 1410 /* Types which it will be handy to have available over in the SA */ \
duke@0 1411 /* in order to do platform-independent address -> integer coercion */ \
duke@0 1412 /* (note: these will be looked up by name) */ \
duke@0 1413 /*******************************************************************/ \
duke@0 1414 \
duke@0 1415 declare_unsigned_integer_type(size_t) \
dcubed@152 1416 declare_integer_type(ssize_t) \
duke@0 1417 declare_integer_type(intx) \
duke@0 1418 declare_integer_type(intptr_t) \
duke@0 1419 declare_unsigned_integer_type(uintx) \
duke@0 1420 declare_unsigned_integer_type(uintptr_t) \
duke@0 1421 declare_unsigned_integer_type(uint32_t) \
duke@0 1422 declare_unsigned_integer_type(uint64_t) \
duke@0 1423 \
coleenp@3602 1424 /******************************************/ \
coleenp@3602 1425 /* OopDesc hierarchy (NOTE: some missing) */ \
coleenp@3602 1426 /******************************************/ \
duke@0 1427 \
duke@0 1428 declare_toplevel_type(oopDesc) \
coleenp@3602 1429 declare_type(arrayOopDesc, oopDesc) \
coleenp@3602 1430 declare_type(objArrayOopDesc, arrayOopDesc) \
coleenp@3602 1431 declare_type(instanceOopDesc, oopDesc) \
coleenp@3602 1432 declare_type(markOopDesc, oopDesc) \
coleenp@3602 1433 \
coleenp@3602 1434 /**************************************************/ \
coleenp@3602 1435 /* MetadataOopDesc hierarchy (NOTE: some missing) */ \
coleenp@3602 1436 /**************************************************/ \
coleenp@3602 1437 \
twisti@5291 1438 declare_toplevel_type(CompiledICHolder) \
coleenp@3602 1439 declare_toplevel_type(MetaspaceObj) \
coleenp@3602 1440 declare_type(Metadata, MetaspaceObj) \
coleenp@3602 1441 declare_type(Klass, Metadata) \
coleenp@3707 1442 declare_type(ArrayKlass, Klass) \
coleenp@3707 1443 declare_type(ObjArrayKlass, ArrayKlass) \
coleenp@3707 1444 declare_type(TypeArrayKlass, ArrayKlass) \
coleenp@3602 1445 declare_type(InstanceKlass, Klass) \
coleenp@3612 1446 declare_type(InstanceClassLoaderKlass, InstanceKlass) \
coleenp@3612 1447 declare_type(InstanceMirrorKlass, InstanceKlass) \
coleenp@3612 1448 declare_type(InstanceRefKlass, InstanceKlass) \
twisti@5291 1449 declare_type(ConstantPool, Metadata) \
twisti@5291 1450 declare_type(ConstantPoolCache, MetaspaceObj) \
twisti@5291 1451 declare_type(MethodData, Metadata) \
twisti@5291 1452 declare_type(Method, Metadata) \
twisti@5291 1453 declare_type(MethodCounters, MetaspaceObj) \
twisti@5291 1454 declare_type(ConstMethod, MetaspaceObj) \
twisti@5291 1455 \
twisti@5291 1456 declare_toplevel_type(vtableEntry) \
coleenp@3602 1457 \
coleenp@2062 1458 declare_toplevel_type(Symbol) \
coleenp@2062 1459 declare_toplevel_type(Symbol*) \
coleenp@3602 1460 declare_toplevel_type(volatile Metadata*) \
duke@0 1461 \
twisti@5291 1462 declare_toplevel_type(DataLayout) \
never@2703 1463 declare_toplevel_type(nmethodBucket) \
never@2703 1464 \
duke@0 1465 /********/ \
duke@0 1466 /* Oops */ \
duke@0 1467 /********/ \
duke@0 1468 \
duke@0 1469 declare_oop_type(markOop) \
duke@0 1470 declare_oop_type(objArrayOop) \
duke@0 1471 declare_oop_type(oop) \
coleenp@113 1472 declare_oop_type(narrowOop) \
duke@0 1473 declare_oop_type(typeArrayOop) \
duke@0 1474 \
duke@0 1475 /*************************************/ \
duke@0 1476 /* MethodOop-related data structures */ \
duke@0 1477 /*************************************/ \
duke@0 1478 \
duke@0 1479 declare_toplevel_type(CheckedExceptionElement) \
duke@0 1480 declare_toplevel_type(LocalVariableTableElement) \
jiangli@3482 1481 declare_toplevel_type(ExceptionTableElement) \
dsamersoff@5529 1482 declare_toplevel_type(MethodParametersElement) \
duke@0 1483 \
coleenp@3602 1484 declare_toplevel_type(ClassLoaderData) \
coleenp@3602 1485 declare_toplevel_type(ClassLoaderDataGraph) \
coleenp@3602 1486 \
duke@0 1487 /******************************************/ \
duke@0 1488 /* Generation and space hierarchies */ \
duke@0 1489 /* (needed for run-time type information) */ \
duke@0 1490 /******************************************/ \
duke@0 1491 \
duke@0 1492 declare_toplevel_type(CollectedHeap) \
duke@0 1493 declare_type(SharedHeap, CollectedHeap) \
duke@0 1494 declare_type(GenCollectedHeap, SharedHeap) \
duke@0 1495 declare_toplevel_type(Generation) \
duke@0 1496 declare_type(DefNewGeneration, Generation) \
duke@0 1497 declare_type(CardGeneration, Generation) \
duke@0 1498 declare_type(OneContigSpaceCardGeneration, CardGeneration) \
duke@0 1499 declare_type(TenuredGeneration, OneContigSpaceCardGeneration) \
duke@0 1500 declare_toplevel_type(Space) \
duke@0 1501 declare_toplevel_type(BitMap) \
duke@0 1502 declare_type(CompactibleSpace, Space) \
duke@0 1503 declare_type(ContiguousSpace, CompactibleSpace) \
duke@0 1504 declare_type(EdenSpace, ContiguousSpace) \
duke@0 1505 declare_type(OffsetTableContigSpace, ContiguousSpace) \
duke@0 1506 declare_type(TenuredSpace, OffsetTableContigSpace) \
duke@0 1507 declare_toplevel_type(BarrierSet) \
duke@0 1508 declare_type(ModRefBarrierSet, BarrierSet) \
duke@0 1509 declare_type(CardTableModRefBS, ModRefBarrierSet) \
ysr@342 1510 declare_type(CardTableModRefBSForCTRS, CardTableModRefBS) \
twisti@5291 1511 declare_toplevel_type(BarrierSet::Name) \
duke@0 1512 declare_toplevel_type(GenRemSet) \
duke@0 1513 declare_type(CardTableRS, GenRemSet) \
duke@0 1514 declare_toplevel_type(BlockOffsetSharedArray) \
duke@0 1515 declare_toplevel_type(BlockOffsetTable) \
duke@0 1516 declare_type(BlockOffsetArray, BlockOffsetTable) \
duke@0 1517 declare_type(BlockOffsetArrayContigSpace, BlockOffsetArray) \
duke@0 1518 declare_type(BlockOffsetArrayNonContigSpace, BlockOffsetArray) \
duke@0 1519 \
duke@0 1520 /* Miscellaneous other GC types */ \
duke@0 1521 \
duke@0 1522 declare_toplevel_type(ageTable) \
duke@0 1523 declare_toplevel_type(Generation::StatRecord) \
duke@0 1524 declare_toplevel_type(GenerationSpec) \
duke@0 1525 declare_toplevel_type(HeapWord) \
duke@0 1526 declare_toplevel_type(MemRegion) \
duke@0 1527 declare_toplevel_type(ThreadLocalAllocBuffer) \
duke@0 1528 declare_toplevel_type(VirtualSpace) \
duke@0 1529 declare_toplevel_type(WaterMark) \
twisti@5291 1530 declare_toplevel_type(ObjPtrQueue) \
twisti@5291 1531 declare_toplevel_type(DirtyCardQueue) \
duke@0 1532 \
duke@0 1533 /* Pointers to Garbage Collection types */ \
duke@0 1534 \
duke@0 1535 declare_toplevel_type(BarrierSet*) \
duke@0 1536 declare_toplevel_type(BlockOffsetSharedArray*) \
duke@0 1537 declare_toplevel_type(GenRemSet*) \
duke@0 1538 declare_toplevel_type(CardTableRS*) \
ysr@342 1539 declare_toplevel_type(CardTableModRefBS*) \
ysr@342 1540 declare_toplevel_type(CardTableModRefBS**) \
ysr@342 1541 declare_toplevel_type(CardTableModRefBSForCTRS*) \
ysr@342 1542 declare_toplevel_type(CardTableModRefBSForCTRS**) \
duke@0 1543 declare_toplevel_type(CollectedHeap*) \
duke@0 1544 declare_toplevel_type(ContiguousSpace*) \
duke@0 1545 declare_toplevel_type(DefNewGeneration*) \
duke@0 1546 declare_toplevel_type(EdenSpace*) \
duke@0 1547 declare_toplevel_type(GenCollectedHeap*) \
duke@0 1548 declare_toplevel_type(Generation*) \
duke@0 1549 declare_toplevel_type(GenerationSpec**) \
duke@0 1550 declare_toplevel_type(HeapWord*) \
duke@0 1551 declare_toplevel_type(MemRegion*) \
duke@0 1552 declare_toplevel_type(OffsetTableContigSpace*) \
duke@0 1553 declare_toplevel_type(OneContigSpaceCardGeneration*) \
duke@0 1554 declare_toplevel_type(Space*) \
duke@0 1555 declare_toplevel_type(ThreadLocalAllocBuffer*) \
duke@0 1556 \
duke@0 1557 /************************/ \
duke@0 1558 /* PerfMemory - jvmstat */ \
duke@0 1559 /************************/ \
duke@0 1560 \
duke@0 1561 declare_toplevel_type(PerfDataPrologue) \
duke@0 1562 declare_toplevel_type(PerfDataPrologue*) \
duke@0 1563 declare_toplevel_type(PerfDataEntry) \
duke@0 1564 declare_toplevel_type(PerfMemory) \
duke@0 1565 \
duke@0 1566 /*********************************/ \
duke@0 1567 /* SymbolTable, SystemDictionary */ \
duke@0 1568 /*********************************/ \
duke@0 1569 \
zgu@3465 1570 declare_toplevel_type(BasicHashtable<mtInternal>) \
zgu@3465 1571 declare_type(IntptrHashtable, BasicHashtable<mtInternal>) \
zgu@3465 1572 declare_type(SymbolTable, SymbolHashtable) \
zgu@3465 1573 declare_type(StringTable, StringHashtable) \
coleenp@3602 1574 declare_type(LoaderConstraintTable, KlassHashtable) \
coleenp@3602 1575 declare_type(KlassTwoOopHashtable, KlassHashtable) \
coleenp@3602 1576 declare_type(Dictionary, KlassTwoOopHashtable) \
zgu@3465 1577 declare_type(PlaceholderTable, SymbolTwoOopHashtable) \
zgu@3465 1578 declare_toplevel_type(BasicHashtableEntry<mtInternal>) \
zgu@3465 1579 declare_type(IntptrHashtableEntry, BasicHashtableEntry<mtInternal>) \
coleenp@3602 1580 declare_type(DictionaryEntry, KlassHashtableEntry) \
zgu@3465 1581 declare_type(PlaceholderEntry, SymbolHashtableEntry) \
coleenp@3602 1582 declare_type(LoaderConstraintEntry, KlassHashtableEntry) \
zgu@3465 1583 declare_toplevel_type(HashtableBucket<mtInternal>) \
duke@0 1584 declare_toplevel_type(SystemDictionary) \
never@2723 1585 declare_toplevel_type(vmSymbols) \
duke@0 1586 declare_toplevel_type(ProtectionDomainEntry) \
tschatzl@5427 1587 declare_toplevel_type(ProtectionDomainCacheEntry) \
duke@0 1588 \
never@2703 1589 declare_toplevel_type(GenericGrowableArray) \
never@2703 1590 declare_toplevel_type(GrowableArray<int>) \
never@2703 1591 declare_toplevel_type(Arena) \
never@2703 1592 declare_type(ResourceArea, Arena) \
never@2703 1593 declare_toplevel_type(Chunk) \
never@2703 1594 \
duke@0 1595 /***********************************************************/ \
duke@0 1596 /* Thread hierarchy (needed for run-time type information) */ \
duke@0 1597 /***********************************************************/ \
duke@0 1598 \
duke@0 1599 declare_toplevel_type(Threads) \
duke@0 1600 declare_toplevel_type(ThreadShadow) \
duke@0 1601 declare_type(Thread, ThreadShadow) \
duke@0 1602 declare_type(NamedThread, Thread) \
duke@0 1603 declare_type(WatcherThread, Thread) \
duke@0 1604 declare_type(JavaThread, Thread) \
duke@0 1605 declare_type(JvmtiAgentThread, JavaThread) \
kamg@2076 1606 declare_type(ServiceThread, JavaThread) \
never@2703 1607 declare_type(CompilerThread, JavaThread) \
duke@0 1608 declare_toplevel_type(OSThread) \
duke@0 1609 declare_toplevel_type(JavaFrameAnchor) \
duke@0 1610 \
duke@0 1611 /***************/ \
duke@0 1612 /* Interpreter */ \
duke@0 1613 /***************/ \
duke@0 1614 \
duke@0 1615 declare_toplevel_type(AbstractInterpreter) \
duke@0 1616 \
duke@0 1617 /*********/ \
duke@0 1618 /* Stubs */ \
duke@0 1619 /*********/ \
duke@0 1620 \
duke@0 1621 declare_toplevel_type(StubQueue) \
duke@0 1622 declare_toplevel_type(StubRoutines) \
duke@0 1623 declare_toplevel_type(Stub) \
duke@0 1624 declare_type(InterpreterCodelet, Stub) \
duke@0 1625 \
duke@0 1626 /*************/ \
duke@0 1627 /* JavaCalls */ \
duke@0 1628 /*************/ \
duke@0 1629 \
duke@0 1630 declare_toplevel_type(JavaCallWrapper) \
duke@0 1631 \
duke@0 1632 /*************/ \
duke@0 1633 /* CodeCache */ \
duke@0 1634 /*************/ \
duke@0 1635 \
duke@0 1636 declare_toplevel_type(CodeCache) \
duke@0 1637 \
duke@0 1638 /************/ \
duke@0 1639 /* CodeHeap */ \
duke@0 1640 /************/ \
duke@0 1641 \
duke@0 1642 declare_toplevel_type(CodeHeap) \
duke@0 1643 declare_toplevel_type(CodeHeap*) \
duke@0 1644 declare_toplevel_type(HeapBlock) \
duke@0 1645 declare_toplevel_type(HeapBlock::Header) \
duke@0 1646 declare_type(FreeBlock, HeapBlock) \
duke@0 1647 \
duke@0 1648 /*************************************************************/ \
duke@0 1649 /* CodeBlob hierarchy (needed for run-time type information) */ \
duke@0 1650 /*************************************************************/ \
duke@0 1651 \
never@2673 1652 declare_toplevel_type(SharedRuntime) \
never@2673 1653 \
duke@0 1654 declare_toplevel_type(CodeBlob) \
never@2673 1655 declare_type(BufferBlob, CodeBlob) \
never@2673 1656 declare_type(AdapterBlob, BufferBlob) \
never@2673 1657 declare_type(MethodHandlesAdapterBlob, BufferBlob) \
never@2673 1658 declare_type(nmethod, CodeBlob) \
never@2673 1659 declare_type(RuntimeStub, CodeBlob) \
never@2673 1660 declare_type(SingletonBlob, CodeBlob) \
never@2673 1661 declare_type(SafepointBlob, SingletonBlob) \
never@2673 1662 declare_type(DeoptimizationBlob, SingletonBlob) \
never@2673 1663 declare_c2_type(ExceptionBlob, SingletonBlob) \
never@2673 1664 declare_c2_type(UncommonTrapBlob, CodeBlob) \
duke@0 1665 \
duke@0 1666 /***************************************/ \
duke@0 1667 /* PcDesc and other compiled code info */ \
duke@0 1668 /***************************************/ \
duke@0 1669 \
duke@0 1670 declare_toplevel_type(PcDesc) \
never@2703 1671 declare_toplevel_type(ExceptionCache) \
never@2703 1672 declare_toplevel_type(PcDescCache) \
never@2703 1673 declare_toplevel_type(Dependencies) \
never@2703 1674 declare_toplevel_type(CompileTask) \
never@2703 1675 declare_toplevel_type(Deoptimization) \
duke@0 1676 \
duke@0 1677 /************************/ \
duke@0 1678 /* OopMap and OopMapSet */ \
duke@0 1679 /************************/ \
duke@0 1680 \
duke@0 1681 declare_toplevel_type(OopMap) \
duke@0 1682 declare_toplevel_type(OopMapSet) \
duke@0 1683 \
duke@0 1684 /********************/ \
duke@0 1685 /* CompressedStream */ \
duke@0 1686 /********************/ \
duke@0 1687 \
duke@0 1688 declare_toplevel_type(CompressedStream) \
duke@0 1689 \
duke@0 1690 /**************/ \
duke@0 1691 /* VMRegImpl */ \
duke@0 1692 /**************/ \
duke@0 1693 \
duke@0 1694 declare_toplevel_type(VMRegImpl) \
duke@0 1695 \
duke@0 1696 /*********************************/ \
duke@0 1697 /* JNIHandles and JNIHandleBlock */ \
duke@0 1698 /*********************************/ \
duke@0 1699 \
duke@0 1700 declare_toplevel_type(JNIHandles) \
duke@0 1701 declare_toplevel_type(JNIHandleBlock) \
never@2703 1702 declare_toplevel_type(jobject) \
duke@0 1703 \
duke@0 1704 /**********************/ \
duke@0 1705 /* Runtime1 (C1 only) */ \
duke@0 1706 /**********************/ \
duke@0 1707 \
duke@0 1708 declare_c1_toplevel_type(Runtime1) \
duke@0 1709 \
duke@0 1710 /************/ \
duke@0 1711 /* Monitors */ \
duke@0 1712 /************/ \
duke@0 1713 \
duke@0 1714 declare_toplevel_type(ObjectMonitor) \
duke@0 1715 declare_toplevel_type(ObjectSynchronizer) \
duke@0 1716 declare_toplevel_type(BasicLock) \
duke@0 1717 declare_toplevel_type(BasicObjectLock) \
duke@0 1718 \
duke@0 1719 /*********************/ \
duke@0 1720 /* Matcher (C2 only) */ \
duke@0 1721 /*********************/ \
duke@0 1722 \
duke@0 1723 declare_c2_toplevel_type(Matcher) \
never@2703 1724 declare_c2_toplevel_type(Compile) \
never@2703 1725 declare_c2_toplevel_type(InlineTree) \
never@2703 1726 declare_c2_toplevel_type(OptoRegPair) \
never@2703 1727 declare_c2_toplevel_type(JVMState) \
never@2703 1728 declare_c2_toplevel_type(Phase) \
never@2703 1729 declare_c2_type(PhaseCFG, Phase) \
never@2703 1730 declare_c2_type(PhaseRegAlloc, Phase) \
never@2703 1731 declare_c2_type(PhaseChaitin, PhaseRegAlloc) \
never@2703 1732 declare_c2_toplevel_type(CFGElement) \
never@2703 1733 declare_c2_type(Block, CFGElement) \
never@2703 1734 declare_c2_toplevel_type(Block_Array) \
never@2703 1735 declare_c2_type(Block_List, Block_Array) \
never@2703 1736 declare_c2_toplevel_type(Node_Array) \
never@2703 1737 declare_c2_type(Node_List, Node_Array) \
never@2703 1738 declare_c2_type(Unique_Node_List, Node_List) \
never@2703 1739 declare_c2_toplevel_type(Node) \
never@2703 1740 declare_c2_type(AddNode, Node) \
never@2703 1741 declare_c2_type(AddINode, AddNode) \
never@2703 1742 declare_c2_type(AddLNode, AddNode) \
never@2703 1743 declare_c2_type(AddFNode, AddNode) \
never@2703 1744 declare_c2_type(AddDNode, AddNode) \
never@2703 1745 declare_c2_type(AddPNode, Node) \
never@2703 1746 declare_c2_type(OrINode, AddNode) \
never@2703 1747 declare_c2_type(OrLNode, AddNode) \
never@2703 1748 declare_c2_type(XorINode, AddNode) \
never@2703 1749 declare_c2_type(XorLNode, AddNode) \
never@2703 1750 declare_c2_type(MaxNode, AddNode) \
never@2703 1751 declare_c2_type(MaxINode, MaxNode) \
never@2703 1752 declare_c2_type(MinINode, MaxNode) \
never@2703 1753 declare_c2_type(StartNode, MultiNode) \
never@2703 1754 declare_c2_type(StartOSRNode, StartNode) \
never@2703 1755 declare_c2_type(ParmNode, ProjNode) \
never@2703 1756 declare_c2_type(ReturnNode, Node) \
never@2703 1757 declare_c2_type(RethrowNode, Node) \
never@2703 1758 declare_c2_type(TailCallNode, ReturnNode) \
never@2703 1759 declare_c2_type(TailJumpNode, ReturnNode) \
never@2703 1760 declare_c2_type(SafePointNode, MultiNode) \
never@2703 1761 declare_c2_type(CallNode, SafePointNode) \
never@2703 1762 declare_c2_type(CallJavaNode, CallNode) \
never@2703 1763 declare_c2_type(CallStaticJavaNode, CallJavaNode) \
never@2703 1764 declare_c2_type(CallDynamicJavaNode, CallJavaNode) \
never@2703 1765 declare_c2_type(CallRuntimeNode, CallNode) \
never@2703 1766 declare_c2_type(CallLeafNode, CallRuntimeNode) \
never@2703 1767 declare_c2_type(CallLeafNoFPNode, CallLeafNode) \
never@2703 1768 declare_c2_type(AllocateNode, CallNode) \
never@2703 1769 declare_c2_type(AllocateArrayNode, AllocateNode) \
never@2703 1770 declare_c2_type(LockNode, AbstractLockNode) \
never@2703 1771 declare_c2_type(UnlockNode, AbstractLockNode) \
never@2703 1772 declare_c2_type(FastLockNode, CmpNode) \
never@2703 1773 declare_c2_type(FastUnlockNode, CmpNode) \
never@2703 1774 declare_c2_type(RegionNode, Node) \
never@2703 1775 declare_c2_type(JProjNode, ProjNode) \
never@2703 1776 declare_c2_type(PhiNode, TypeNode) \
never@2703 1777 declare_c2_type(GotoNode, Node) \
never@2703 1778 declare_c2_type(CProjNode, ProjNode) \
never@2703 1779 declare_c2_type(MultiBranchNode, MultiNode) \
never@2703 1780 declare_c2_type(IfNode, MultiBranchNode) \
never@2703 1781 declare_c2_type(IfTrueNode, CProjNode) \
never@2703 1782 declare_c2_type(IfFalseNode, CProjNode) \
never@2703 1783 declare_c2_type(PCTableNode, MultiBranchNode) \
never@2703 1784 declare_c2_type(JumpNode, PCTableNode) \
never@2703 1785 declare_c2_type(JumpProjNode, JProjNode) \
never@2703 1786 declare_c2_type(CatchNode, PCTableNode) \
never@2703 1787 declare_c2_type(CatchProjNode, CProjNode) \
never@2703 1788 declare_c2_type(CreateExNode, TypeNode) \
never@2703 1789 declare_c2_type(ClearArrayNode, Node) \
never@2703 1790 declare_c2_type(NeverBranchNode, MultiBranchNode) \
never@2703 1791 declare_c2_type(ConNode, TypeNode) \
never@2703 1792 declare_c2_type(ConINode, ConNode) \
never@2703 1793 declare_c2_type(ConPNode, ConNode) \
never@2703 1794 declare_c2_type(ConNNode, ConNode) \
never@2703 1795 declare_c2_type(ConLNode, ConNode) \
never@2703 1796 declare_c2_type(ConFNode, ConNode) \
never@2703 1797 declare_c2_type(ConDNode, ConNode) \
never@2703 1798 declare_c2_type(BinaryNode, Node) \
never@2703 1799 declare_c2_type(CMoveNode, TypeNode) \
never@2703 1800 declare_c2_type(CMoveDNode, CMoveNode) \
never@2703 1801 declare_c2_type(CMoveFNode, CMoveNode) \
never@2703 1802 declare_c2_type(CMoveINode, CMoveNode) \
never@2703 1803 declare_c2_type(CMoveLNode, CMoveNode) \
never@2703 1804 declare_c2_type(CMovePNode, CMoveNode) \
never@2703 1805 declare_c2_type(CMoveNNode, CMoveNode) \
never@2703 1806 declare_c2_type(EncodePNode, TypeNode) \
never@2703 1807 declare_c2_type(DecodeNNode, TypeNode) \
roland@3724 1808 declare_c2_type(EncodePKlassNode, TypeNode) \
roland@3724 1809 declare_c2_type(DecodeNKlassNode, TypeNode) \
never@2703 1810 declare_c2_type(ConstraintCastNode, TypeNode) \
never@2703 1811 declare_c2_type(CastIINode, ConstraintCastNode) \
never@2703 1812 declare_c2_type(CastPPNode, ConstraintCastNode) \
never@2703 1813 declare_c2_type(CheckCastPPNode, TypeNode) \
never@2703 1814 declare_c2_type(Conv2BNode, Node) \
never@2703 1815 declare_c2_type(ConvD2FNode, Node) \
never@2703 1816 declare_c2_type(ConvD2INode, Node) \
never@2703 1817 declare_c2_type(ConvD2LNode, Node) \
never@2703 1818 declare_c2_type(ConvF2DNode, Node) \
never@2703 1819 declare_c2_type(ConvF2INode, Node) \
never@2703 1820 declare_c2_type(ConvF2LNode, Node) \
never@2703 1821 declare_c2_type(ConvI2DNode, Node) \
never@2703 1822 declare_c2_type(ConvI2FNode, Node) \
never@2703 1823 declare_c2_type(ConvI2LNode, TypeNode) \
never@2703 1824 declare_c2_type(ConvL2DNode, Node) \
never@2703 1825 declare_c2_type(ConvL2FNode, Node) \
never@2703 1826 declare_c2_type(ConvL2INode, Node) \
never@2703 1827 declare_c2_type(CastX2PNode, Node) \
never@2703 1828 declare_c2_type(CastP2XNode, Node) \
never@2703 1829 declare_c2_type(MemBarNode, MultiNode) \
never@2703 1830 declare_c2_type(MemBarAcquireNode, MemBarNode) \
never@2703 1831 declare_c2_type(MemBarReleaseNode, MemBarNode) \
goetz@6054 1832 declare_c2_type(LoadFenceNode, MemBarNode) \
goetz@6054 1833 declare_c2_type(StoreFenceNode, MemBarNode) \
never@2703 1834 declare_c2_type(MemBarVolatileNode, MemBarNode) \
never@2703 1835 declare_c2_type(MemBarCPUOrderNode, MemBarNode) \
never@2703 1836 declare_c2_type(InitializeNode, MemBarNode) \
never@2703 1837 declare_c2_type(ThreadLocalNode, Node) \
never@2703 1838 declare_c2_type(Opaque1Node, Node) \
never@2703 1839 declare_c2_type(Opaque2Node, Node) \
never@2703 1840 declare_c2_type(PartialSubtypeCheckNode, Node) \
never@2703 1841 declare_c2_type(MoveI2FNode, Node) \
never@2703 1842 declare_c2_type(MoveL2DNode, Node) \
never@2703 1843 declare_c2_type(MoveF2INode, Node) \
never@2703 1844 declare_c2_type(MoveD2LNode, Node) \
never@2703 1845 declare_c2_type(DivINode, Node) \
never@2703 1846 declare_c2_type(DivLNode, Node) \
never@2703 1847 declare_c2_type(DivFNode, Node) \
never@2703 1848 declare_c2_type(DivDNode, Node) \
never@2703 1849 declare_c2_type(ModINode, Node) \
never@2703 1850 declare_c2_type(ModLNode, Node) \
never@2703 1851 declare_c2_type(ModFNode, Node) \
never@2703 1852 declare_c2_type(ModDNode, Node) \
never@2703 1853 declare_c2_type(DivModNode, MultiNode) \
never@2703 1854 declare_c2_type(DivModINode, DivModNode) \
never@2703 1855 declare_c2_type(DivModLNode, DivModNode) \
never@2703 1856 declare_c2_type(BoxLockNode, Node) \
never@2703 1857 declare_c2_type(LoopNode, RegionNode) \
never@2703 1858 declare_c2_type(CountedLoopNode, LoopNode) \
never@2703 1859 declare_c2_type(CountedLoopEndNode, IfNode) \
never@2703 1860 declare_c2_type(MachNode, Node) \
never@2703 1861 declare_c2_type(MachIdealNode, MachNode) \
never@2703 1862 declare_c2_type(MachTypeNode, MachNode) \
never@2703 1863 declare_c2_type(MachBreakpointNode, MachIdealNode) \
never@2703 1864 declare_c2_type(MachUEPNode, MachIdealNode) \
never@2703 1865 declare_c2_type(MachPrologNode, MachIdealNode) \
never@2703 1866 declare_c2_type(MachEpilogNode, MachIdealNode) \
never@2703 1867 declare_c2_type(MachNopNode, MachIdealNode) \
never@2703 1868 declare_c2_type(MachSpillCopyNode, MachIdealNode) \
never@2703 1869 declare_c2_type(MachNullCheckNode, MachIdealNode) \
never@2703 1870 declare_c2_type(MachProjNode, ProjNode) \
never@2703 1871 declare_c2_type(MachIfNode, MachNode) \
never@2703 1872 declare_c2_type(MachFastLockNode, MachNode) \
never@2703 1873 declare_c2_type(MachReturnNode, MachNode) \
never@2703 1874 declare_c2_type(MachSafePointNode, MachReturnNode) \
never@2703 1875 declare_c2_type(MachCallNode, MachSafePointNode) \
never@2703 1876 declare_c2_type(MachCallJavaNode, MachCallNode) \
never@2703 1877 declare_c2_type(MachCallStaticJavaNode, MachCallJavaNode) \
never@2703 1878 declare_c2_type(MachCallDynamicJavaNode, MachCallJavaNode) \
never@2703 1879 declare_c2_type(MachCallRuntimeNode, MachCallNode) \
never@2703 1880 declare_c2_type(MachHaltNode, MachReturnNode) \
never@2703 1881 declare_c2_type(MachTempNode, MachNode) \
never@2703 1882 declare_c2_type(MemNode, Node) \
never@2703 1883 declare_c2_type(MergeMemNode, Node) \
never@2703 1884 declare_c2_type(LoadNode, MemNode) \
never@2703 1885 declare_c2_type(LoadBNode, LoadNode) \
never@2703 1886 declare_c2_type(LoadUSNode, LoadNode) \
never@2703 1887 declare_c2_type(LoadINode, LoadNode) \
never@2703 1888 declare_c2_type(LoadRangeNode, LoadINode) \
never@2703 1889 declare_c2_type(LoadLNode, LoadNode) \
never@2703 1890 declare_c2_type(LoadL_unalignedNode, LoadLNode) \
never@2703 1891 declare_c2_type(LoadFNode, LoadNode) \
never@2703 1892 declare_c2_type(LoadDNode, LoadNode) \
never@2703 1893 declare_c2_type(LoadD_unalignedNode, LoadDNode) \
never@2703 1894 declare_c2_type(LoadPNode, LoadNode) \
never@2703 1895 declare_c2_type(LoadNNode, LoadNode) \
never@2703 1896 declare_c2_type(LoadKlassNode, LoadPNode) \
never@2703 1897 declare_c2_type(LoadNKlassNode, LoadNNode) \
never@2703 1898 declare_c2_type(LoadSNode, LoadNode) \
never@2703 1899 declare_c2_type(StoreNode, MemNode) \
never@2703 1900 declare_c2_type(StoreBNode, StoreNode) \
never@2703 1901 declare_c2_type(StoreCNode, StoreNode) \
never@2703 1902 declare_c2_type(StoreINode, StoreNode) \
never@2703 1903 declare_c2_type(StoreLNode, StoreNode) \
never@2703 1904 declare_c2_type(StoreFNode, StoreNode) \
never@2703 1905 declare_c2_type(StoreDNode, StoreNode) \
never@2703 1906 declare_c2_type(StorePNode, StoreNode) \
never@2703 1907 declare_c2_type(StoreNNode, StoreNode) \
roland@3724 1908 declare_c2_type(StoreNKlassNode, StoreNode) \
never@2703 1909 declare_c2_type(StoreCMNode, StoreNode) \
never@2703 1910 declare_c2_type(LoadPLockedNode, LoadPNode) \
never@2703 1911 declare_c2_type(SCMemProjNode, ProjNode) \
never@2703 1912 declare_c2_type(LoadStoreNode, Node) \
never@2703 1913 declare_c2_type(StorePConditionalNode, LoadStoreNode) \
never@2703 1914 declare_c2_type(StoreLConditionalNode, LoadStoreNode) \
never@2703 1915 declare_c2_type(CompareAndSwapLNode, LoadStoreNode) \
never@2703 1916 declare_c2_type(CompareAndSwapINode, LoadStoreNode) \
never@2703 1917 declare_c2_type(CompareAndSwapPNode, LoadStoreNode) \
never@2703 1918 declare_c2_type(CompareAndSwapNNode, LoadStoreNode) \
never@2703 1919 declare_c2_type(PrefetchReadNode, Node) \
never@2703 1920 declare_c2_type(PrefetchWriteNode, Node) \
never@2703 1921 declare_c2_type(MulNode, Node) \
never@2703 1922 declare_c2_type(MulINode, MulNode) \
never@2703 1923 declare_c2_type(MulLNode, MulNode) \
never@2703 1924 declare_c2_type(MulFNode, MulNode) \
never@2703 1925 declare_c2_type(MulDNode, MulNode) \
never@2703 1926 declare_c2_type(MulHiLNode, Node) \
never@2703 1927 declare_c2_type(AndINode, MulINode) \
never@2703 1928 declare_c2_type(AndLNode, MulLNode) \
never@2703 1929 declare_c2_type(LShiftINode, Node) \
never@2703 1930 declare_c2_type(LShiftLNode, Node) \
never@2703 1931 declare_c2_type(RShiftINode, Node) \
never@2703 1932 declare_c2_type(RShiftLNode, Node) \
never@2703 1933 declare_c2_type(URShiftINode, Node) \
never@2703 1934 declare_c2_type(URShiftLNode, Node) \
never@2703 1935 declare_c2_type(MultiNode, Node) \
never@2703 1936 declare_c2_type(ProjNode, Node) \
never@2703 1937 declare_c2_type(TypeNode, Node) \
never@2703 1938 declare_c2_type(NodeHash, StackObj) \
never@2703 1939 declare_c2_type(RootNode, LoopNode) \
never@2703 1940 declare_c2_type(HaltNode, Node) \
never@2703 1941 declare_c2_type(SubNode, Node) \
never@2703 1942 declare_c2_type(SubINode, SubNode) \
never@2703 1943 declare_c2_type(SubLNode, SubNode) \
never@2703 1944 declare_c2_type(SubFPNode, SubNode) \
never@2703 1945 declare_c2_type(SubFNode, SubFPNode) \
never@2703 1946 declare_c2_type(SubDNode, SubFPNode) \
never@2703 1947 declare_c2_type(CmpNode, SubNode) \
never@2703 1948 declare_c2_type(CmpINode, CmpNode) \
never@2703 1949 declare_c2_type(CmpUNode, CmpNode) \
never@2703 1950 declare_c2_type(CmpPNode, CmpNode) \
never@2703 1951 declare_c2_type(CmpNNode, CmpNode) \
never@2703 1952 declare_c2_type(CmpLNode, CmpNode) \
thartmann@8266 1953 declare_c2_type(CmpULNode, CmpNode) \
never@2703 1954 declare_c2_type(CmpL3Node, CmpLNode) \
never@2703 1955 declare_c2_type(CmpFNode, CmpNode) \
never@2703 1956 declare_c2_type(CmpF3Node, CmpFNode) \
never@2703 1957 declare_c2_type(CmpDNode, CmpNode) \
never@2703 1958 declare_c2_type(CmpD3Node, CmpDNode) \
never@2703 1959 declare_c2_type(BoolNode, Node) \
never@2703 1960 declare_c2_type(AbsNode, Node) \
never@2703 1961 declare_c2_type(AbsINode, AbsNode) \
never@2703 1962 declare_c2_type(AbsFNode, AbsNode) \
never@2703 1963 declare_c2_type(AbsDNode, AbsNode) \
never@2703 1964 declare_c2_type(CmpLTMaskNode, Node) \
never@2703 1965 declare_c2_type(NegNode, Node) \
never@2703 1966 declare_c2_type(NegFNode, NegNode) \
never@2703 1967 declare_c2_type(NegDNode, NegNode) \
never@2703 1968 declare_c2_type(CosDNode, Node) \
never@2703 1969 declare_c2_type(SinDNode, Node) \
never@2703 1970 declare_c2_type(TanDNode, Node) \
never@2703 1971 declare_c2_type(AtanDNode, Node) \
never@2703 1972 declare_c2_type(SqrtDNode, Node) \
never@2703 1973 declare_c2_type(ExpDNode, Node) \
never@2703 1974 declare_c2_type(LogDNode, Node) \
never@2703 1975 declare_c2_type(Log10DNode, Node) \
never@2703 1976 declare_c2_type(PowDNode, Node) \
never@2703 1977 declare_c2_type(ReverseBytesINode, Node) \
never@2703 1978 declare_c2_type(ReverseBytesLNode, Node) \
never@2703 1979 declare_c2_type(VectorNode, Node) \
never@2703 1980 declare_c2_type(AddVBNode, VectorNode) \
never@2703 1981 declare_c2_type(AddVSNode, VectorNode) \
never@2703 1982 declare_c2_type(AddVINode, VectorNode) \
never@2703 1983 declare_c2_type(AddVLNode, VectorNode) \
never@2703 1984 declare_c2_type(AddVFNode, VectorNode) \
never@2703 1985 declare_c2_type(AddVDNode, VectorNode) \
never@2703 1986 declare_c2_type(SubVBNode, VectorNode) \
never@2703 1987 declare_c2_type(SubVSNode, VectorNode) \
never@2703 1988 declare_c2_type(SubVINode, VectorNode) \
never@2703 1989 declare_c2_type(SubVLNode, VectorNode) \
never@2703 1990 declare_c2_type(SubVFNode, VectorNode) \
never@2703 1991 declare_c2_type(SubVDNode, VectorNode) \
kvn@3678 1992 declare_c2_type(MulVSNode, VectorNode) \
kvn@3678 1993 declare_c2_type(MulVINode, VectorNode) \
never@2703 1994 declare_c2_type(MulVFNode, VectorNode) \
never@2703 1995 declare_c2_type(MulVDNode, VectorNode) \
never@2703 1996 declare_c2_type(DivVFNode, VectorNode) \
never@2703 1997 declare_c2_type(DivVDNode, VectorNode) \
never@2703 1998 declare_c2_type(LShiftVBNode, VectorNode) \
never@2703 1999 declare_c2_type(LShiftVSNode, VectorNode) \
never@2703 2000 declare_c2_type(LShiftVINode, VectorNode) \
kvn@3678 2001 declare_c2_type(LShiftVLNode, VectorNode) \
kvn@3447 2002 declare_c2_type(RShiftVBNode, VectorNode) \
kvn@3447 2003 declare_c2_type(RShiftVSNode, VectorNode) \
kvn@3447 2004 declare_c2_type(RShiftVINode, VectorNode) \
kvn@3678 2005 declare_c2_type(RShiftVLNode, VectorNode) \
kvn@3678 2006 declare_c2_type(URShiftVBNode, VectorNode) \
kvn@3678 2007 declare_c2_type(URShiftVSNode, VectorNode) \
kvn@3678 2008 declare_c2_type(URShiftVINode, VectorNode) \
kvn@3678 2009 declare_c2_type(URShiftVLNode, VectorNode) \
never@2703 2010 declare_c2_type(AndVNode, VectorNode) \
never@2703 2011 declare_c2_type(OrVNode, VectorNode) \
never@2703 2012 declare_c2_type(XorVNode, VectorNode) \
kvn@3447 2013 declare_c2_type(LoadVectorNode, LoadNode) \
kvn@3447 2014 declare_c2_type(StoreVectorNode, StoreNode) \
kvn@3447 2015 declare_c2_type(ReplicateBNode, VectorNode) \
kvn@3447 2016 declare_c2_type(ReplicateSNode, VectorNode) \
kvn@3447 2017 declare_c2_type(ReplicateINode, VectorNode) \
kvn@3447 2018 declare_c2_type(ReplicateLNode, VectorNode) \
kvn@3447 2019 declare_c2_type(ReplicateFNode, VectorNode) \
kvn@3447 2020 declare_c2_type(ReplicateDNode, VectorNode) \
never@2703 2021 declare_c2_type(PackNode, VectorNode) \
never@2703 2022 declare_c2_type(PackBNode, PackNode) \
never@2703 2023 declare_c2_type(PackSNode, PackNode) \
never@2703 2024 declare_c2_type(PackINode, PackNode) \
never@2703 2025 declare_c2_type(PackLNode, PackNode) \
never@2703 2026 declare_c2_type(PackFNode, PackNode) \
never@2703 2027 declare_c2_type(PackDNode, PackNode) \
kvn@3447 2028 declare_c2_type(Pack2LNode, PackNode) \
kvn@3447 2029 declare_c2_type(Pack2DNode, PackNode) \
never@2703 2030 declare_c2_type(ExtractNode, Node) \
never@2703 2031 declare_c2_type(ExtractBNode, ExtractNode) \
kvn@3678 2032 declare_c2_type(ExtractUBNode, ExtractNode) \
kvn@3678 2033 declare_c2_type(ExtractCNode, ExtractNode) \
never@2703 2034 declare_c2_type(ExtractSNode, ExtractNode) \
never@2703 2035 declare_c2_type(ExtractINode, ExtractNode) \
never@2703 2036 declare_c2_type(ExtractLNode, ExtractNode) \
never@2703 2037 declare_c2_type(ExtractFNode, ExtractNode) \
never@2703 2038 declare_c2_type(ExtractDNode, ExtractNode) \
rbackman@5940 2039 declare_c2_type(OverflowNode, CmpNode) \
rbackman@5940 2040 declare_c2_type(OverflowINode, OverflowNode) \
rbackman@5940 2041 declare_c2_type(OverflowAddINode, OverflowINode) \
rbackman@5940 2042 declare_c2_type(OverflowSubINode, OverflowINode) \
rbackman@5940 2043 declare_c2_type(OverflowMulINode, OverflowINode) \
rbackman@5940 2044 declare_c2_type(OverflowLNode, OverflowNode) \
rbackman@5940 2045 declare_c2_type(OverflowAddLNode, OverflowLNode) \
rbackman@5940 2046 declare_c2_type(OverflowSubLNode, OverflowLNode) \
rbackman@5940 2047 declare_c2_type(OverflowMulLNode, OverflowLNode) \
duke@0 2048 \
duke@0 2049 /*********************/ \
duke@0 2050 /* Adapter Blob Entries */ \
duke@0 2051 /*********************/ \
duke@0 2052 declare_toplevel_type(AdapterHandlerEntry) \
duke@0 2053 declare_toplevel_type(AdapterHandlerEntry*) \
duke@0 2054 \
never@2703 2055 /*********************/ \
never@2703 2056 /* CI */ \
never@2703 2057 /*********************/ \
never@2703 2058 declare_toplevel_type(ciEnv) \
never@2703 2059 declare_toplevel_type(ciObjectFactory) \
never@2703 2060 declare_toplevel_type(ciConstant) \
never@2703 2061 declare_toplevel_type(ciField) \
coleenp@3602 2062 declare_toplevel_type(ciSymbol) \
coleenp@3602 2063 declare_toplevel_type(ciBaseObject) \
coleenp@3602 2064 declare_type(ciObject, ciBaseObject) \
never@2703 2065 declare_type(ciInstance, ciObject) \
coleenp@3602 2066 declare_type(ciMetadata, ciBaseObject) \
coleenp@3602 2067 declare_type(ciMethod, ciMetadata) \
coleenp@3602 2068 declare_type(ciMethodData, ciMetadata) \
coleenp@3602 2069 declare_type(ciType, ciMetadata) \
never@2703 2070 declare_type(ciKlass, ciType) \
never@2703 2071 declare_type(ciInstanceKlass, ciKlass) \
never@2703 2072 declare_type(ciArrayKlass, ciKlass) \
never@2703 2073 declare_type(ciTypeArrayKlass, ciArrayKlass) \
never@2703 2074 declare_type(ciObjArrayKlass, ciArrayKlass) \
never@2703 2075 \
duke@0 2076 /********************/ \
duke@0 2077 /* -XX flags */ \
duke@0 2078 /********************/ \
duke@0 2079 \
duke@0 2080 declare_toplevel_type(Flag) \
duke@0 2081 declare_toplevel_type(Flag*) \
duke@0 2082 \
duke@0 2083 /********************/ \
never@2703 2084 /* JVMTI */ \
never@2703 2085 /********************/ \
never@2703 2086 \
never@2703 2087 declare_toplevel_type(JvmtiExport) \
never@2703 2088 \
never@2703 2089 /********************/ \
duke@0 2090 /* JDK/VM version */ \
duke@0 2091 /********************/ \
duke@0 2092 \
duke@0 2093 declare_toplevel_type(Abstract_VM_Version) \
duke@0 2094 declare_toplevel_type(JDK_Version) \
duke@0 2095 \
duke@0 2096 /*************/ \
duke@0 2097 /* Arguments */ \
duke@0 2098 /*************/ \
duke@0 2099 \
duke@0 2100 declare_toplevel_type(Arguments) \
duke@0 2101 \
duke@0 2102 /***************/ \
duke@0 2103 /* Other types */ \
duke@0 2104 /***************/ \
duke@0 2105 \
duke@0 2106 /* all enum types */ \
duke@0 2107 \
duke@0 2108 declare_integer_type(Bytecodes::Code) \
duke@0 2109 declare_integer_type(Generation::Name) \
coleenp@3602 2110 declare_integer_type(InstanceKlass::ClassState) \
duke@0 2111 declare_integer_type(JavaThreadState) \
duke@0 2112 declare_integer_type(Location::Type) \
duke@0 2113 declare_integer_type(Location::Where) \
twisti@5355 2114 declare_integer_type(Flag::Flags) \
never@2703 2115 COMPILER2_PRESENT(declare_integer_type(OptoReg::Name)) \
duke@0 2116 \
coleenp@3602 2117 declare_toplevel_type(CHeapObj<mtInternal>) \
coleenp@3602 2118 declare_type(Array<int>, MetaspaceObj) \
coleenp@3602 2119 declare_type(Array<u1>, MetaspaceObj) \
coleenp@3602 2120 declare_type(Array<u2>, MetaspaceObj) \
coleenp@3602 2121 declare_type(Array<Klass*>, MetaspaceObj) \
twisti@5355 2122 declare_type(Array<Method*>, MetaspaceObj) \
coleenp@3602 2123 \
duke@0 2124 declare_integer_type(AccessFlags) /* FIXME: wrong type (not integer) */\
duke@0 2125 declare_toplevel_type(address) /* FIXME: should this be an integer type? */\
never@2703 2126 declare_integer_type(BasicType) /* FIXME: wrong type (not integer) */\
duke@0 2127 declare_toplevel_type(BreakpointInfo) \
duke@0 2128 declare_toplevel_type(BreakpointInfo*) \
duke@0 2129 declare_toplevel_type(CodeBlob*) \
duke@0 2130 declare_toplevel_type(CompressedWriteStream*) \
duke@0 2131 declare_toplevel_type(ConstantPoolCacheEntry) \
duke@0 2132 declare_toplevel_type(elapsedTimer) \
never@2703 2133 declare_toplevel_type(frame) \
duke@0 2134 declare_toplevel_type(intptr_t*) \
duke@0 2135 declare_unsigned_integer_type(InvocationCounter) /* FIXME: wrong type (not integer) */ \
duke@0 2136 declare_toplevel_type(JavaThread*) \
never@2223 2137 declare_toplevel_type(java_lang_Class) \
never@2703 2138 declare_integer_type(JavaThread::AsyncRequests) \
duke@0 2139 declare_toplevel_type(jbyte*) \
duke@0 2140 declare_toplevel_type(jbyte**) \
duke@0 2141 declare_toplevel_type(jint*) \
duke@0 2142 declare_toplevel_type(jniIdMapBase*) \
duke@0 2143 declare_unsigned_integer_type(juint) \
duke@0 2144 declare_unsigned_integer_type(julong) \
duke@0 2145 declare_toplevel_type(JNIHandleBlock*) \
duke@0 2146 declare_toplevel_type(JNIid) \
duke@0 2147 declare_toplevel_type(JNIid*) \
duke@0 2148 declare_toplevel_type(jmethodID*) \
duke@0 2149 declare_toplevel_type(Mutex*) \
duke@0 2150 declare_toplevel_type(nmethod*) \
never@2703 2151 COMPILER2_PRESENT(declare_unsigned_integer_type(node_idx_t)) \
duke@0 2152 declare_toplevel_type(ObjectMonitor*) \
duke@0 2153 declare_toplevel_type(oop*) \
duke@0 2154 declare_toplevel_type(OopMap**) \
duke@0 2155 declare_toplevel_type(OopMapCache*) \
duke@0 2156 declare_toplevel_type(OopMapSet*) \
duke@0 2157 declare_toplevel_type(VMReg) \
duke@0 2158 declare_toplevel_type(OSThread*) \
duke@0 2159 declare_integer_type(ReferenceType) \
duke@0 2160 declare_toplevel_type(StubQueue*) \
duke@0 2161 declare_toplevel_type(Thread*) \
never@2703 2162 declare_toplevel_type(Universe) \
twisti@5291 2163 declare_toplevel_type(os) \
never@2703 2164 declare_toplevel_type(vframeArray) \
coleenp@3602 2165 declare_toplevel_type(vframeArrayElement) \
jmasa@3761 2166 declare_toplevel_type(Annotations*) \
jmasa@3761 2167 \
jmasa@3761 2168 /***************/ \
jmasa@3761 2169 /* Miscellaneous types */ \
jmasa@3761 2170 /***************/ \
jmasa@3761 2171 \
twisti@5291 2172 declare_toplevel_type(PtrQueue) \
twisti@5291 2173 \
jmasa@3761 2174 /* freelist */ \
jmasa@3761 2175 declare_toplevel_type(FreeChunk*) \
sjohanss@7105 2176 declare_toplevel_type(AdaptiveFreeList<FreeChunk>*) \
sjohanss@7105 2177 declare_toplevel_type(AdaptiveFreeList<FreeChunk>)
never@2703 2178
duke@0 2179
duke@0 2180 //--------------------------------------------------------------------------------
duke@0 2181 // VM_INT_CONSTANTS
duke@0 2182 //
duke@0 2183 // This table contains integer constants required over in the
duke@0 2184 // serviceability agent. The "declare_constant" macro is used for all
duke@0 2185 // enums, etc., while "declare_preprocessor_constant" must be used for
duke@0 2186 // all #defined constants.
duke@0 2187
duke@0 2188 #define VM_INT_CONSTANTS(declare_constant, \
duke@0 2189 declare_preprocessor_constant, \
duke@0 2190 declare_c1_constant, \
duke@0 2191 declare_c2_constant, \
mikael@3991 2192 declare_c2_preprocessor_constant) \
duke@0 2193 \
duke@0 2194 /******************/ \
duke@0 2195 /* Useful globals */ \
duke@0 2196 /******************/ \
duke@0 2197 \
twisti@5291 2198 declare_preprocessor_constant("ASSERT", DEBUG_ONLY(1) NOT_DEBUG(0)) \
duke@0 2199 \
duke@0 2200 /**************/ \
duke@0 2201 /* Stack bias */ \
duke@0 2202 /**************/ \
duke@0 2203 \
duke@0 2204 declare_preprocessor_constant("STACK_BIAS", STACK_BIAS) \
duke@0 2205 \
duke@0 2206 /****************/ \
duke@0 2207 /* Object sizes */ \
duke@0 2208 /****************/ \
duke@0 2209 \
coleenp@113 2210 declare_constant(oopSize) \
duke@0 2211 declare_constant(LogBytesPerWord) \
coleenp@3602 2212 declare_constant(BytesPerWord) \
duke@0 2213 declare_constant(BytesPerLong) \
duke@0 2214 \
twisti@5291 2215 declare_constant(LogKlassAlignmentInBytes) \
twisti@5291 2216 \
duke@0 2217 /********************************************/ \
duke@0 2218 /* Generation and Space Hierarchy Constants */ \
duke@0 2219 /********************************************/ \
duke@0 2220 \
duke@0 2221 declare_constant(ageTable::table_size) \
duke@0 2222 \
duke@0 2223 declare_constant(BarrierSet::ModRef) \
duke@0 2224 declare_constant(BarrierSet::CardTableModRef) \
twisti@5291 2225 declare_constant(BarrierSet::CardTableExtension) \
twisti@5291 2226 declare_constant(BarrierSet::G1SATBCT) \
twisti@5291 2227 declare_constant(BarrierSet::G1SATBCTLogging) \
duke@0 2228 declare_constant(BarrierSet::Other) \
duke@0 2229 \
duke@0 2230 declare_constant(BlockOffsetSharedArray::LogN) \
duke@0 2231 declare_constant(BlockOffsetSharedArray::LogN_words) \
duke@0 2232 declare_constant(BlockOffsetSharedArray::N_bytes) \
duke@0 2233 declare_constant(BlockOffsetSharedArray::N_words) \
duke@0 2234 \
duke@0 2235 declare_constant(BlockOffsetArray::N_words) \
duke@0 2236 \
duke@0 2237 declare_constant(CardTableModRefBS::clean_card) \
duke@0 2238 declare_constant(CardTableModRefBS::last_card) \
duke@0 2239 declare_constant(CardTableModRefBS::dirty_card) \
duke@0 2240 declare_constant(CardTableModRefBS::Precise) \
duke@0 2241 declare_constant(CardTableModRefBS::ObjHeadPreciseArray) \
duke@0 2242 declare_constant(CardTableModRefBS::card_shift) \
duke@0 2243 declare_constant(CardTableModRefBS::card_size) \
duke@0 2244 declare_constant(CardTableModRefBS::card_size_in_words) \
duke@0 2245 \
duke@0 2246 declare_constant(CardTableRS::youngergen_card) \
duke@0 2247 \
duke@0 2248 declare_constant(CollectedHeap::Abstract) \
duke@0 2249 declare_constant(CollectedHeap::SharedHeap) \
duke@0 2250 declare_constant(CollectedHeap::GenCollectedHeap) \
duke@0 2251 \
duke@0 2252 declare_constant(GenCollectedHeap::max_gens) \
duke@0 2253 \
duke@0 2254 /* constants from Generation::Name enum */ \
duke@0 2255 \
duke@0 2256 declare_constant(Generation::DefNew) \
duke@0 2257 declare_constant(Generation::MarkSweepCompact) \
duke@0 2258 declare_constant(Generation::Other) \
duke@0 2259 \
duke@0 2260 declare_constant(Generation::LogOfGenGrain) \
duke@0 2261 declare_constant(Generation::GenGrain) \
duke@0 2262 \
duke@0 2263 declare_constant(HeapWordSize) \
duke@0 2264 declare_constant(LogHeapWordSize) \
duke@0 2265 \
duke@0 2266 \
duke@0 2267 /************************/ \
duke@0 2268 /* PerfMemory - jvmstat */ \
duke@0 2269 /************************/ \
duke@0 2270 \
duke@0 2271 declare_preprocessor_constant("PERFDATA_MAJOR_VERSION", PERFDATA_MAJOR_VERSION) \
duke@0 2272 declare_preprocessor_constant("PERFDATA_MINOR_VERSION", PERFDATA_MINOR_VERSION) \
duke@0 2273 declare_preprocessor_constant("PERFDATA_BIG_ENDIAN", PERFDATA_BIG_ENDIAN) \
duke@0 2274 declare_preprocessor_constant("PERFDATA_LITTLE_ENDIAN", PERFDATA_LITTLE_ENDIAN) \
duke@0 2275 \
duke@0 2276 /***********************************/ \
duke@0 2277 /* LoaderConstraintTable constants */ \
duke@0 2278 /***********************************/ \
duke@0 2279 \
duke@0 2280 declare_constant(LoaderConstraintTable::_loader_constraint_size) \
duke@0 2281 declare_constant(LoaderConstraintTable::_nof_buckets) \
duke@0 2282 \
duke@0 2283 /************************************************************/ \
duke@0 2284 /* HotSpot specific JVM_ACC constants from global anon enum */ \
duke@0 2285 /************************************************************/ \
duke@0 2286 \
duke@0 2287 declare_constant(JVM_ACC_WRITTEN_FLAGS) \
duke@0 2288 declare_constant(JVM_ACC_MONITOR_MATCH) \
duke@0 2289 declare_constant(JVM_ACC_HAS_MONITOR_BYTECODES) \
duke@0 2290 declare_constant(JVM_ACC_HAS_LOOPS) \
duke@0 2291 declare_constant(JVM_ACC_LOOPS_FLAG_INIT) \
duke@0 2292 declare_constant(JVM_ACC_QUEUED) \
twisti@3676 2293 declare_constant(JVM_ACC_NOT_C2_OSR_COMPILABLE) \
duke@0 2294 declare_constant(JVM_ACC_HAS_LINE_NUMBER_TABLE) \
duke@0 2295 declare_constant(JVM_ACC_HAS_CHECKED_EXCEPTIONS) \
duke@0 2296 declare_constant(JVM_ACC_HAS_JSRS) \
duke@0 2297 declare_constant(JVM_ACC_IS_OLD) \
duke@0 2298 declare_constant(JVM_ACC_IS_OBSOLETE) \
duke@0 2299 declare_constant(JVM_ACC_IS_PREFIXED_NATIVE) \
duke@0 2300 declare_constant(JVM_ACC_HAS_MIRANDA_METHODS) \
duke@0 2301 declare_constant(JVM_ACC_HAS_VANILLA_CONSTRUCTOR) \
duke@0 2302 declare_constant(JVM_ACC_HAS_FINALIZER) \
duke@0 2303 declare_constant(JVM_ACC_IS_CLONEABLE) \
duke@0 2304 declare_constant(JVM_ACC_HAS_LOCAL_VARIABLE_TABLE) \
duke@0 2305 declare_constant(JVM_ACC_PROMOTED_FLAGS) \
duke@0 2306 declare_constant(JVM_ACC_FIELD_ACCESS_WATCHED) \
duke@0 2307 declare_constant(JVM_ACC_FIELD_MODIFICATION_WATCHED) \
duke@0 2308 \
duke@0 2309 /*****************************/ \
duke@0 2310 /* Thread::SuspendFlags enum */ \
duke@0 2311 /*****************************/ \
duke@0 2312 \
duke@0 2313 declare_constant(Thread::_external_suspend) \
duke@0 2314 declare_constant(Thread::_ext_suspended) \
duke@0 2315 declare_constant(Thread::_has_async_exception) \
duke@0 2316 \
duke@0 2317 /*******************/ \
duke@0 2318 /* JavaThreadState */ \
duke@0 2319 /*******************/ \
duke@0 2320 \
duke@0 2321 declare_constant(_thread_uninitialized) \
duke@0 2322 declare_constant(_thread_new) \
duke@0 2323 declare_constant(_thread_new_trans) \
duke@0 2324 declare_constant(_thread_in_native) \
duke@0 2325 declare_constant(_thread_in_native_trans) \
duke@0 2326 declare_constant(_thread_in_vm) \
duke@0 2327 declare_constant(_thread_in_vm_trans) \
duke@0 2328 declare_constant(_thread_in_Java) \
duke@0 2329 declare_constant(_thread_in_Java_trans) \
duke@0 2330 declare_constant(_thread_blocked) \
duke@0 2331 declare_constant(_thread_blocked_trans) \
duke@0 2332 \
duke@0 2333 /******************************/ \
duke@0 2334 /* Klass misc. enum constants */ \
duke@0 2335 /******************************/ \
duke@0 2336 \
duke@0 2337 declare_constant(Klass::_primary_super_limit) \
duke@0 2338 declare_constant(Klass::_lh_instance_slow_path_bit) \
duke@0 2339 declare_constant(Klass::_lh_log2_element_size_shift) \
twisti@5291 2340 declare_constant(Klass::_lh_log2_element_size_mask) \
duke@0 2341 declare_constant(Klass::_lh_element_type_shift) \
twisti@5291 2342 declare_constant(Klass::_lh_element_type_mask) \
duke@0 2343 declare_constant(Klass::_lh_header_size_shift) \
twisti@5291 2344 declare_constant(Klass::_lh_header_size_mask) \
duke@0 2345 declare_constant(Klass::_lh_array_tag_shift) \
duke@0 2346 declare_constant(Klass::_lh_array_tag_type_value) \
duke@0 2347 declare_constant(Klass::_lh_array_tag_obj_value) \
duke@0 2348 \
duke@0 2349 /********************************/ \
coleenp@4137 2350 /* ConstMethod anon-enum */ \
duke@0 2351 /********************************/ \
duke@0 2352 \
coleenp@4137 2353 declare_constant(ConstMethod::_has_linenumber_table) \
coleenp@4137 2354 declare_constant(ConstMethod::_has_checked_exceptions) \
coleenp@4137 2355 declare_constant(ConstMethod::_has_localvariable_table) \
coleenp@4137 2356 declare_constant(ConstMethod::_has_exception_table) \
coleenp@4137 2357 declare_constant(ConstMethod::_has_generic_signature) \
dsamersoff@5529 2358 declare_constant(ConstMethod::_has_method_parameters) \
coleenp@4137 2359 declare_constant(ConstMethod::_has_method_annotations) \
coleenp@4137 2360 declare_constant(ConstMethod::_has_parameter_annotations) \
coleenp@4137 2361 declare_constant(ConstMethod::_has_default_annotations) \
coleenp@4137 2362 declare_constant(ConstMethod::_has_type_annotations) \
duke@0 2363 \
twisti@5291 2364 /**************/ \
twisti@5291 2365 /* DataLayout */ \
twisti@5291 2366 /**************/ \
twisti@5291 2367 \
twisti@5291 2368 declare_constant(DataLayout::cell_size) \
twisti@5291 2369 \
duke@0 2370 /*************************************/ \
coleenp@3602 2371 /* InstanceKlass enum */ \
duke@0 2372 /*************************************/ \
duke@0 2373 \
duke@0 2374 \
never@2702 2375 /*************************************/ \
never@2702 2376 /* FieldInfo FieldOffset enum */ \
never@2702 2377 /*************************************/ \
never@2702 2378 \
never@2702 2379 declare_constant(FieldInfo::access_flags_offset) \
never@2702 2380 declare_constant(FieldInfo::name_index_offset) \
never@2702 2381 declare_constant(FieldInfo::signature_index_offset) \
never@2702 2382 declare_constant(FieldInfo::initval_index_offset) \
jwilhelm@3995 2383 declare_constant(FieldInfo::low_packed_offset) \
jwilhelm@3995 2384 declare_constant(FieldInfo::high_packed_offset) \
never@2702 2385 declare_constant(FieldInfo::field_slots) \
never@2702 2386 \
jwilhelm@3995 2387 /*************************************/ \
jwilhelm@3995 2388 /* FieldInfo tag constants */ \
jwilhelm@3995 2389 /*************************************/ \
jwilhelm@3995 2390 \
jwilhelm@3995 2391 declare_preprocessor_constant("FIELDINFO_TAG_SIZE", FIELDINFO_TAG_SIZE) \
sla@4027 2392 declare_preprocessor_constant("FIELDINFO_TAG_MASK", FIELDINFO_TAG_MASK) \
jwilhelm@3995 2393 declare_preprocessor_constant("FIELDINFO_TAG_OFFSET", FIELDINFO_TAG_OFFSET) \
jwilhelm@3995 2394 \
duke@0 2395 /************************************************/ \
coleenp@3602 2396 /* InstanceKlass InnerClassAttributeOffset enum */ \
duke@0 2397 /************************************************/ \
duke@0 2398 \
coleenp@3602 2399 declare_constant(InstanceKlass::inner_class_inner_class_info_offset) \
coleenp@3602 2400 declare_constant(InstanceKlass::inner_class_outer_class_info_offset) \
coleenp@3602 2401 declare_constant(InstanceKlass::inner_class_inner_name_offset) \
coleenp@3602 2402 declare_constant(InstanceKlass::inner_class_access_flags_offset) \
coleenp@3602 2403 declare_constant(InstanceKlass::inner_class_next_offset) \
duke@0 2404 \
duke@0 2405 /*********************************/ \
coleenp@3602 2406 /* InstanceKlass ClassState enum */ \
duke@0 2407 /*********************************/ \
duke@0 2408 \
coleenp@3602 2409 declare_constant(InstanceKlass::allocated) \
coleenp@3602 2410 declare_constant(InstanceKlass::loaded) \
coleenp@3602 2411 declare_constant(InstanceKlass::linked) \
coleenp@3602 2412 declare_constant(InstanceKlass::being_initialized) \
coleenp@3602 2413 declare_constant(InstanceKlass::fully_initialized) \
coleenp@3602 2414 declare_constant(InstanceKlass::initialization_error) \
duke@0 2415 \
duke@0 2416 /*********************************/ \
twisti@3534 2417 /* Symbol* - symbol max length */ \
duke@0 2418 /*********************************/ \
duke@0 2419 \
coleenp@2062 2420 declare_constant(Symbol::max_symbol_length) \
duke@0 2421 \
jrose@1833 2422 /*************************************************/ \
coleenp@3602 2423 /* ConstantPool* layout enum for InvokeDynamic */ \
jrose@1833 2424 /*************************************************/ \
jrose@1833 2425 \
coleenp@3602 2426 declare_constant(ConstantPool::_indy_bsm_offset) \
coleenp@3602 2427 declare_constant(ConstantPool::_indy_argc_offset) \
coleenp@3602 2428 declare_constant(ConstantPool::_indy_argv_offset) \
jrose@1833 2429 \
twisti@3534 2430 /********************************/ \
twisti@3534 2431 /* ConstantPoolCacheEntry enums */ \
twisti@3534 2432 /********************************/ \
duke@0 2433 \
twisti@3534 2434 declare_constant(ConstantPoolCacheEntry::is_volatile_shift) \
twisti@3534 2435 declare_constant(ConstantPoolCacheEntry::is_final_shift) \
twisti@3534 2436 declare_constant(ConstantPoolCacheEntry::is_forced_virtual_shift) \
twisti@3534 2437 declare_constant(ConstantPoolCacheEntry::is_vfinal_shift) \
twisti@3534 2438 declare_constant(ConstantPoolCacheEntry::is_field_entry_shift) \
twisti@3534 2439 declare_constant(ConstantPoolCacheEntry::tos_state_shift) \
duke@0 2440 \
duke@0 2441 /***************************************/ \
duke@0 2442 /* java_lang_Thread::ThreadStatus enum */ \
duke@0 2443 /***************************************/ \
duke@0 2444 \
duke@0 2445 declare_constant(java_lang_Thread::NEW) \
duke@0 2446 declare_constant(java_lang_Thread::RUNNABLE) \
duke@0 2447 declare_constant(java_lang_Thread::SLEEPING) \
duke@0 2448 declare_constant(java_lang_Thread::IN_OBJECT_WAIT) \
duke@0 2449 declare_constant(java_lang_Thread::IN_OBJECT_WAIT_TIMED) \
duke@0 2450 declare_constant(java_lang_Thread::PARKED) \
duke@0 2451 declare_constant(java_lang_Thread::PARKED_TIMED) \
duke@0 2452 declare_constant(java_lang_Thread::BLOCKED_ON_MONITOR_ENTER) \
duke@0 2453 declare_constant(java_lang_Thread::TERMINATED) \
duke@0 2454 \
duke@0 2455 /******************************/ \
duke@0 2456 /* Debug info */ \
duke@0 2457 /******************************/ \
duke@0 2458 \
duke@0 2459 declare_constant(Location::OFFSET_MASK) \
duke@0 2460 declare_constant(Location::OFFSET_SHIFT) \
duke@0 2461 declare_constant(Location::TYPE_MASK) \
duke@0 2462 declare_constant(Location::TYPE_SHIFT) \
duke@0 2463 declare_constant(Location::WHERE_MASK) \
duke@0 2464 declare_constant(Location::WHERE_SHIFT) \
duke@0 2465 \
duke@0 2466 /* constants from Location::Type enum */ \
duke@0 2467 \
duke@0 2468 declare_constant(Location::normal) \
duke@0 2469 declare_constant(Location::oop) \
kvn@331 2470 declare_constant(Location::narrowoop) \
duke@0 2471 declare_constant(Location::int_in_long) \
duke@0 2472 declare_constant(Location::lng) \
duke@0 2473 declare_constant(Location::float_in_dbl) \
duke@0 2474 declare_constant(Location::dbl) \
duke@0 2475 declare_constant(Location::addr) \
duke@0 2476 declare_constant(Location::invalid) \
duke@0 2477 \
duke@0 2478 /* constants from Location::Where enum */ \
duke@0 2479 \
duke@0 2480 declare_constant(Location::on_stack) \
duke@0 2481 declare_constant(Location::in_register) \
duke@0 2482 \
never@2703 2483 declare_constant(Deoptimization::Reason_many) \
never@2703 2484 declare_constant(Deoptimization::Reason_none) \
never@2703 2485 declare_constant(Deoptimization::Reason_null_check) \
never@2703 2486 declare_constant(Deoptimization::Reason_null_assert) \
never@2703 2487 declare_constant(Deoptimization::Reason_range_check) \
never@2703 2488 declare_constant(Deoptimization::Reason_class_check) \
never@2703 2489 declare_constant(Deoptimization::Reason_array_check) \
never@2703 2490 declare_constant(Deoptimization::Reason_intrinsic) \
never@2703 2491 declare_constant(Deoptimization::Reason_bimorphic) \
never@2703 2492 declare_constant(Deoptimization::Reason_unloaded) \
never@2703 2493 declare_constant(Deoptimization::Reason_uninitialized) \
never@2703 2494 declare_constant(Deoptimization::Reason_unreached) \
never@2703 2495 declare_constant(Deoptimization::Reason_unhandled) \
never@2703 2496 declare_constant(Deoptimization::Reason_constraint) \
never@2703 2497 declare_constant(Deoptimization::Reason_div0_check) \
never@2703 2498 declare_constant(Deoptimization::Reason_age) \
never@2703 2499 declare_constant(Deoptimization::Reason_predicate) \
never@2703 2500 declare_constant(Deoptimization::Reason_loop_limit_check) \
rbackman@6637 2501 declare_constant(Deoptimization::Reason_unstable_if) \
never@2703 2502 declare_constant(Deoptimization::Reason_LIMIT) \
never@2703 2503 declare_constant(Deoptimization::Reason_RECORDED_LIMIT) \
never@2703 2504 \
twisti@5291 2505 declare_constant(Deoptimization::Action_none) \
twisti@5291 2506 declare_constant(Deoptimization::Action_maybe_recompile) \
twisti@5291 2507 declare_constant(Deoptimization::Action_reinterpret) \
twisti@5291 2508 declare_constant(Deoptimization::Action_make_not_entrant) \
twisti@5291 2509 declare_constant(Deoptimization::Action_make_not_compilable) \
twisti@5291 2510 declare_constant(Deoptimization::Action_LIMIT) \
twisti@5291 2511 \
duke@0 2512 /*********************/ \
duke@0 2513 /* Matcher (C2 only) */ \
duke@0 2514 /*********************/ \
duke@0 2515 \
duke@0 2516 declare_c2_preprocessor_constant("Matcher::interpreter_frame_pointer_reg", Matcher::interpreter_frame_pointer_reg()) \
duke@0 2517 \
duke@0 2518 /*********************************************/ \
duke@0 2519 /* MethodCompilation (globalDefinitions.hpp) */ \
duke@0 2520 /*********************************************/ \
duke@0 2521 \
duke@0 2522 declare_constant(InvocationEntryBci) \
duke@0 2523 declare_constant(InvalidOSREntryBci) \
duke@0 2524 \
duke@0 2525 /***************/ \
duke@0 2526 /* OopMapValue */ \
duke@0 2527 /***************/ \
duke@0 2528 \
duke@0 2529 declare_constant(OopMapValue::type_bits) \
duke@0 2530 declare_constant(OopMapValue::register_bits) \
duke@0 2531 declare_constant(OopMapValue::type_shift) \
duke@0 2532 declare_constant(OopMapValue::register_shift) \
duke@0 2533 declare_constant(OopMapValue::type_mask) \
duke@0 2534 declare_constant(OopMapValue::type_mask_in_place) \
duke@0 2535 declare_constant(OopMapValue::register_mask) \
duke@0 2536 declare_constant(OopMapValue::register_mask_in_place) \
duke@0 2537 declare_constant(OopMapValue::unused_value) \
duke@0 2538 declare_constant(OopMapValue::oop_value) \
duke@0 2539 declare_constant(OopMapValue::value_value) \
coleenp@113 2540 declare_constant(OopMapValue::narrowoop_value) \
duke@0 2541 declare_constant(OopMapValue::callee_saved_value) \
duke@0 2542 declare_constant(OopMapValue::derived_oop_value) \
duke@0 2543 \
duke@0 2544 /******************/ \
duke@0 2545 /* JNIHandleBlock */ \
duke@0 2546 /******************/ \
duke@0 2547 \
duke@0 2548 declare_constant(JNIHandleBlock::block_size_in_oops) \
duke@0 2549 \
duke@0 2550 /**********************/ \
duke@0 2551 /* ObjectSynchronizer */ \
duke@0 2552 /**********************/ \
duke@0 2553 \
duke@0 2554 declare_constant(ObjectSynchronizer::_BLOCKSIZE) \
duke@0 2555 \
never@2673 2556 /**********************/ \
never@2673 2557 /* PcDesc */ \
never@2673 2558 /**********************/ \
never@2673 2559 \
never@2673 2560 declare_constant(PcDesc::PCDESC_reexecute) \
never@2673 2561 declare_constant(PcDesc::PCDESC_is_method_handle_invoke) \
never@2673 2562 declare_constant(PcDesc::PCDESC_return_oop) \
never@2673 2563 \
never@2673 2564 /**********************/ \
never@2673 2565 /* frame */ \
never@2673 2566 /**********************/ \
never@2673 2567 \
twisti@3802 2568 NOT_ZERO(X86_ONLY(declare_constant(frame::entry_frame_call_wrapper_offset))) \
never@2673 2569 declare_constant(frame::pc_return_offset) \
never@2673 2570 \
never@2723 2571 /*************/ \
never@2723 2572 /* vmSymbols */ \
never@2723 2573 /*************/ \
never@2723 2574 \
never@2723 2575 declare_constant(vmSymbols::FIRST_SID) \
never@2723 2576 declare_constant(vmSymbols::SID_LIMIT) \
never@2723 2577 \
twisti@5291 2578 /****************/ \
twisti@5291 2579 /* vmIntrinsics */ \
twisti@5291 2580 /****************/ \
twisti@5291 2581 \
twisti@5291 2582 declare_constant(vmIntrinsics::_invokeBasic) \
twisti@5291 2583 declare_constant(vmIntrinsics::_linkToVirtual) \
twisti@5291 2584 declare_constant(vmIntrinsics::_linkToStatic) \
twisti@5291 2585 declare_constant(vmIntrinsics::_linkToSpecial) \
twisti@5291 2586 declare_constant(vmIntrinsics::_linkToInterface) \
twisti@5291 2587 \
duke@0 2588 /********************************/ \
duke@0 2589 /* Calling convention constants */ \
duke@0 2590 /********************************/ \
duke@0 2591 \
duke@0 2592 declare_constant(RegisterImpl::number_of_registers) \
duke@0 2593 declare_constant(ConcreteRegisterImpl::number_of_registers) \
duke@0 2594 declare_preprocessor_constant("REG_COUNT", REG_COUNT) \
duke@0 2595 declare_c2_preprocessor_constant("SAVED_ON_ENTRY_REG_COUNT", SAVED_ON_ENTRY_REG_COUNT) \
duke@0 2596 declare_c2_preprocessor_constant("C_SAVED_ON_ENTRY_REG_COUNT", C_SAVED_ON_ENTRY_REG_COUNT)
duke@0 2597
duke@0 2598
duke@0 2599 //--------------------------------------------------------------------------------
duke@0 2600 // VM_LONG_CONSTANTS
duke@0 2601 //
duke@0 2602 // This table contains long constants required over in the
duke@0 2603 // serviceability agent. The "declare_constant" macro is used for all
duke@0 2604 // enums, etc., while "declare_preprocessor_constant" must be used for
duke@0 2605 // all #defined constants.
duke@0 2606
mikael@3991 2607 #define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \
duke@0 2608 \
duke@0 2609 /*********************/ \
duke@0 2610 /* MarkOop constants */ \
duke@0 2611 /*********************/ \
duke@0 2612 \
duke@0 2613 /* Note: some of these are declared as long constants just for */ \
duke@0 2614 /* consistency. The mask constants are the only ones requiring */ \
duke@0 2615 /* 64 bits (on 64-bit platforms). */ \
duke@0 2616 \
duke@0 2617 declare_constant(markOopDesc::age_bits) \
duke@0 2618 declare_constant(markOopDesc::lock_bits) \
duke@0 2619 declare_constant(markOopDesc::biased_lock_bits) \
duke@0 2620 declare_constant(markOopDesc::max_hash_bits) \
duke@0 2621 declare_constant(markOopDesc::hash_bits) \
duke@0 2622 \
duke@0 2623 declare_constant(markOopDesc::lock_shift) \
duke@0 2624 declare_constant(markOopDesc::biased_lock_shift) \
duke@0 2625 declare_constant(markOopDesc::age_shift) \
duke@0 2626 declare_constant(markOopDesc::hash_shift) \
duke@0 2627 \
duke@0 2628 declare_constant(markOopDesc::lock_mask) \
duke@0 2629 declare_constant(markOopDesc::lock_mask_in_place) \
duke@0 2630 declare_constant(markOopDesc::biased_lock_mask) \
duke@0 2631 declare_constant(markOopDesc::biased_lock_mask_in_place) \
duke@0 2632 declare_constant(markOopDesc::biased_lock_bit_in_place) \
duke@0 2633 declare_constant(markOopDesc::age_mask) \
duke@0 2634 declare_constant(markOopDesc::age_mask_in_place) \
twisti@5291 2635 declare_constant(markOopDesc::epoch_mask) \
twisti@5291 2636 declare_constant(markOopDesc::epoch_mask_in_place) \
duke@0 2637 declare_constant(markOopDesc::hash_mask) \
duke@0 2638 declare_constant(markOopDesc::hash_mask_in_place) \
duke@0 2639 declare_constant(markOopDesc::biased_lock_alignment) \
duke@0 2640 \
duke@0 2641 declare_constant(markOopDesc::locked_value) \
duke@0 2642 declare_constant(markOopDesc::unlocked_value) \
duke@0 2643 declare_constant(markOopDesc::monitor_value) \
duke@0 2644 declare_constant(markOopDesc::marked_value) \
duke@0 2645 declare_constant(markOopDesc::biased_lock_pattern) \
duke@0 2646 \
duke@0 2647 declare_constant(markOopDesc::no_hash) \
duke@0 2648 declare_constant(markOopDesc::no_hash_in_place) \
duke@0 2649 declare_constant(markOopDesc::no_lock_in_place) \
coleenp@187 2650 declare_constant(markOopDesc::max_age) \
coleenp@187 2651 \
coleenp@187 2652 /* Constants in markOop used by CMS. */ \
coleenp@187 2653 declare_constant(markOopDesc::cms_shift) \
coleenp@187 2654 declare_constant(markOopDesc::cms_mask) \
mikael@3991 2655 declare_constant(markOopDesc::size_shift)
duke@0 2656
duke@0 2657
duke@0 2658 //--------------------------------------------------------------------------------
duke@0 2659 // Macros operating on the above lists
duke@0 2660 //--------------------------------------------------------------------------------
duke@0 2661
duke@0 2662 // This utility macro quotes the passed string
duke@0 2663 #define QUOTE(x) #x
duke@0 2664
duke@0 2665 //--------------------------------------------------------------------------------
duke@0 2666 // VMStructEntry macros
duke@0 2667 //
duke@0 2668
duke@0 2669 // This macro generates a VMStructEntry line for a nonstatic field
duke@0 2670 #define GENERATE_NONSTATIC_VM_STRUCT_ENTRY(typeName, fieldName, type) \
duke@0 2671 { QUOTE(typeName), QUOTE(fieldName), QUOTE(type), 0, cast_uint64_t(offset_of(typeName, fieldName)), NULL },
duke@0 2672
duke@0 2673 // This macro generates a VMStructEntry line for a static field
duke@0 2674 #define GENERATE_STATIC_VM_STRUCT_ENTRY(typeName, fieldName, type) \
duke@0 2675 { QUOTE(typeName), QUOTE(fieldName), QUOTE(type), 1, 0, &typeName::fieldName },
duke@0 2676
duke@0 2677 // This macro generates a VMStructEntry line for an unchecked
duke@0 2678 // nonstatic field, in which the size of the type is also specified.
duke@0 2679 // The type string is given as NULL, indicating an "opaque" type.
duke@0 2680 #define GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY(typeName, fieldName, size) \
duke@0 2681 { QUOTE(typeName), QUOTE(fieldName), NULL, 0, cast_uint64_t(offset_of(typeName, fieldName)), NULL },
duke@0 2682
duke@0 2683 // This macro generates a VMStructEntry line for an unchecked
duke@0 2684 // static field, in which the size of the type is also specified.
duke@0 2685 // The type string is given as NULL, indicating an "opaque" type.
duke@0 2686 #define GENERATE_UNCHECKED_STATIC_VM_STRUCT_ENTRY(typeName, fieldName, size) \
duke@0 2687 { QUOTE(typeName), QUOTE(fieldName), NULL, 1, 0, (void*) &typeName::fieldName },
duke@0 2688
duke@0 2689 // This macro generates the sentinel value indicating the end of the list
duke@0 2690 #define GENERATE_VM_STRUCT_LAST_ENTRY() \
duke@0 2691 { NULL, NULL, NULL, 0, 0, NULL }
duke@0 2692
duke@0 2693 // This macro checks the type of a VMStructEntry by comparing pointer types
duke@0 2694 #define CHECK_NONSTATIC_VM_STRUCT_ENTRY(typeName, fieldName, type) \
mikael@3998 2695 {typeName *dummyObj = NULL; type* dummy = &dummyObj->fieldName; \
mikael@3998 2696 assert(offset_of(typeName, fieldName) < sizeof(typeName), "Illegal nonstatic struct entry, field offset too large"); }
duke@0 2697
duke@0 2698 // This macro checks the type of a volatile VMStructEntry by comparing pointer types
duke@0 2699 #define CHECK_VOLATILE_NONSTATIC_VM_STRUCT_ENTRY(typeName, fieldName, type) \
duke@0 2700 {typedef type dummyvtype; typeName *dummyObj = NULL; volatile dummyvtype* dummy = &dummyObj->fieldName; }
duke@0 2701
duke@0 2702 // This macro checks the type of a VMStructEntry by comparing pointer types
duke@0 2703 #define CHECK_STATIC_VM_STRUCT_ENTRY(typeName, fieldName, type) \
duke@0 2704 {type* dummy = &typeName::fieldName; }
duke@0 2705
duke@0 2706 // This macro ensures the type of a field and its containing type are
duke@0 2707 // present in the type table. The assertion string is shorter than
duke@0 2708 // preferable because (incredibly) of a bug in Solstice NFS client
duke@0 2709 // which seems to prevent very long lines from compiling. This assertion
duke@0 2710 // means that an entry in VMStructs::localHotSpotVMStructs[] was not
duke@0 2711 // found in VMStructs::localHotSpotVMTypes[].
duke@0 2712 #define ENSURE_FIELD_TYPE_PRESENT(typeName, fieldName, type) \
duke@0 2713 { assert(findType(QUOTE(typeName)) != 0, "type \"" QUOTE(typeName) "\" not found in type table"); \
duke@0 2714 assert(findType(QUOTE(type)) != 0, "type \"" QUOTE(type) "\" not found in type table"); }
duke@0 2715
duke@0 2716 // This is a no-op macro for unchecked fields
duke@0 2717 #define CHECK_NO_OP(a, b, c)
duke@0 2718
duke@0 2719 //
duke@0 2720 // Build-specific macros:
duke@0 2721 //
duke@0 2722
duke@0 2723 // Generate and check a nonstatic field in non-product builds
duke@0 2724 #ifndef PRODUCT
duke@0 2725 # define GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) GENERATE_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2726 # define CHECK_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) CHECK_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2727 # define ENSURE_NONPRODUCT_FIELD_TYPE_PRESENT(a, b, c) ENSURE_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2728 # define GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) GENERATE_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2729 # define CHECK_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) CHECK_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2730 # define ENSURE_NONPRODUCT_FIELD_TYPE_PRESENT(a, b, c) ENSURE_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2731 #else
duke@0 2732 # define GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2733 # define CHECK_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2734 # define ENSURE_NONPRODUCT_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2735 # define GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2736 # define CHECK_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2737 # define ENSURE_NONPRODUCT_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2738 #endif /* PRODUCT */
duke@0 2739
duke@0 2740 // Generate and check a nonstatic field in C1 builds
duke@0 2741 #ifdef COMPILER1
duke@0 2742 # define GENERATE_C1_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) GENERATE_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2743 # define CHECK_C1_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) CHECK_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2744 # define ENSURE_C1_FIELD_TYPE_PRESENT(a, b, c) ENSURE_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2745 #else
duke@0 2746 # define GENERATE_C1_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2747 # define CHECK_C1_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2748 # define ENSURE_C1_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2749 #endif /* COMPILER1 */
duke@0 2750 // Generate and check a nonstatic field in C2 builds
duke@0 2751 #ifdef COMPILER2
duke@0 2752 # define GENERATE_C2_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) GENERATE_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2753 # define CHECK_C2_NONSTATIC_VM_STRUCT_ENTRY(a, b, c) CHECK_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2754 # define ENSURE_C2_FIELD_TYPE_PRESENT(a, b, c) ENSURE_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2755 #else
duke@0 2756 # define GENERATE_C2_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2757 # define CHECK_C2_NONSTATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2758 # define ENSURE_C2_FIELD_TYPE_PRESENT(a, b, c)
duke@0 2759 #endif /* COMPILER2 */
duke@0 2760
duke@0 2761 // Generate but do not check a static field in C1 builds
duke@0 2762 #ifdef COMPILER1
duke@0 2763 # define GENERATE_C1_UNCHECKED_STATIC_VM_STRUCT_ENTRY(a, b, c) GENERATE_UNCHECKED_STATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2764 #else
duke@0 2765 # define GENERATE_C1_UNCHECKED_STATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2766 #endif /* COMPILER1 */
duke@0 2767
duke@0 2768 // Generate but do not check a static field in C2 builds
duke@0 2769 #ifdef COMPILER2
duke@0 2770 # define GENERATE_C2_UNCHECKED_STATIC_VM_STRUCT_ENTRY(a, b, c) GENERATE_UNCHECKED_STATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2771 #else
duke@0 2772 # define GENERATE_C2_UNCHECKED_STATIC_VM_STRUCT_ENTRY(a, b, c)
duke@0 2773 #endif /* COMPILER2 */
duke@0 2774
duke@0 2775 //--------------------------------------------------------------------------------
duke@0 2776 // VMTypeEntry macros
duke@0 2777 //
duke@0 2778
duke@0 2779 #define GENERATE_VM_TYPE_ENTRY(type, superclass) \
duke@0 2780 { QUOTE(type), QUOTE(superclass), 0, 0, 0, sizeof(type) },
duke@0 2781
duke@0 2782 #define GENERATE_TOPLEVEL_VM_TYPE_ENTRY(type) \
duke@0 2783 { QUOTE(type), NULL, 0, 0, 0, sizeof(type) },
duke@0 2784
duke@0 2785 #define GENERATE_OOP_VM_TYPE_ENTRY(type) \
duke@0 2786 { QUOTE(type), NULL, 1, 0, 0, sizeof(type) },
duke@0 2787
duke@0 2788 #define GENERATE_INTEGER_VM_TYPE_ENTRY(type) \
duke@0 2789 { QUOTE(type), NULL, 0, 1, 0, sizeof(type) },
duke@0 2790
duke@0 2791 #define GENERATE_UNSIGNED_INTEGER_VM_TYPE_ENTRY(type) \
duke@0 2792 { QUOTE(type), NULL, 0, 1, 1, sizeof(type) },
duke@0 2793
duke@0 2794 #define GENERATE_VM_TYPE_LAST_ENTRY() \
duke@0 2795 { NULL, NULL, 0, 0, 0, 0 }
duke@0 2796
duke@0 2797 #define CHECK_VM_TYPE_ENTRY(type, superclass) \
duke@0 2798 { type* dummyObj = NULL; superclass* dummySuperObj = dummyObj; }
duke@0 2799
duke@0 2800 #define CHECK_VM_TYPE_NO_OP(a)
duke@0 2801 #define CHECK_SINGLE_ARG_VM_TYPE_NO_OP(a)
duke@0 2802
duke@0 2803 //
duke@0 2804 // Build-specific macros:
duke@0 2805 //
duke@0 2806
duke@0 2807 #ifdef COMPILER1
duke@0 2808 # define GENERATE_C1_TOPLEVEL_VM_TYPE_ENTRY(a) GENERATE_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2809 # define CHECK_C1_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2810 #else
duke@0 2811 # define GENERATE_C1_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2812 # define CHECK_C1_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2813 #endif /* COMPILER1 */
duke@0 2814
duke@0 2815 #ifdef COMPILER2
duke@0 2816 # define GENERATE_C2_VM_TYPE_ENTRY(a, b) GENERATE_VM_TYPE_ENTRY(a, b)
duke@0 2817 # define CHECK_C2_VM_TYPE_ENTRY(a, b) CHECK_VM_TYPE_ENTRY(a, b)
duke@0 2818 # define GENERATE_C2_TOPLEVEL_VM_TYPE_ENTRY(a) GENERATE_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2819 # define CHECK_C2_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2820 #else
duke@0 2821 # define GENERATE_C2_VM_TYPE_ENTRY(a, b)
duke@0 2822 # define CHECK_C2_VM_TYPE_ENTRY(a, b)
duke@0 2823 # define GENERATE_C2_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2824 # define CHECK_C2_TOPLEVEL_VM_TYPE_ENTRY(a)
duke@0 2825 #endif /* COMPILER2 */
duke@0 2826
duke@0 2827
duke@0 2828 //--------------------------------------------------------------------------------
duke@0 2829 // VMIntConstantEntry macros
duke@0 2830 //
duke@0 2831
duke@0 2832 #define GENERATE_VM_INT_CONSTANT_ENTRY(name) \
duke@0 2833 { QUOTE(name), (int32_t) name },
duke@0 2834
duke@0 2835 #define GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY(name, value) \
duke@0 2836 { name, (int32_t) value },
duke@0 2837
duke@0 2838 // This macro generates the sentinel value indicating the end of the list
duke@0 2839 #define GENERATE_VM_INT_CONSTANT_LAST_ENTRY() \
duke@0 2840 { NULL, 0 }
duke@0 2841
duke@0 2842
duke@0 2843 // Generate an int constant for a C1 build
duke@0 2844 #ifdef COMPILER1
duke@0 2845 # define GENERATE_C1_VM_INT_CONSTANT_ENTRY(name) GENERATE_VM_INT_CONSTANT_ENTRY(name)
duke@0 2846 #else
duke@0 2847 # define GENERATE_C1_VM_INT_CONSTANT_ENTRY(name)
duke@0 2848 #endif /* COMPILER1 */
duke@0 2849
duke@0 2850 // Generate an int constant for a C2 build
duke@0 2851 #ifdef COMPILER2
duke@0 2852 # define GENERATE_C2_VM_INT_CONSTANT_ENTRY(name) GENERATE_VM_INT_CONSTANT_ENTRY(name)
duke@0 2853 # define GENERATE_C2_PREPROCESSOR_VM_INT_CONSTANT_ENTRY(name, value) GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY(name, value)
duke@0 2854 #else
duke@0 2855 # define GENERATE_C2_VM_INT_CONSTANT_ENTRY(name)
duke@0 2856 # define GENERATE_C2_PREPROCESSOR_VM_INT_CONSTANT_ENTRY(name, value)
duke@0 2857 #endif /* COMPILER1 */
duke@0 2858
duke@0 2859 //--------------------------------------------------------------------------------
duke@0 2860 // VMLongConstantEntry macros
duke@0 2861 //
duke@0 2862
duke@0 2863 #define GENERATE_VM_LONG_CONSTANT_ENTRY(name) \
duke@0 2864 { QUOTE(name), cast_uint64_t(name) },
duke@0 2865
duke@0 2866 #define GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY(name, value) \
duke@0 2867 { name, cast_uint64_t(value) },
duke@0 2868
duke@0 2869 // This macro generates the sentinel value indicating the end of the list
duke@0 2870 #define GENERATE_VM_LONG_CONSTANT_LAST_ENTRY() \
duke@0 2871 { NULL, 0 }
duke@0 2872
duke@0 2873 // Generate a long constant for a C1 build
duke@0 2874 #ifdef COMPILER1
duke@0 2875 # define GENERATE_C1_VM_LONG_CONSTANT_ENTRY(name) GENERATE_VM_LONG_CONSTANT_ENTRY(name)
duke@0 2876 #else
duke@0 2877 # define GENERATE_C1_VM_LONG_CONSTANT_ENTRY(name)
duke@0 2878 #endif /* COMPILER1 */
duke@0 2879
duke@0 2880 // Generate a long constant for a C2 build
duke@0 2881 #ifdef COMPILER2
duke@0 2882 # define GENERATE_C2_VM_LONG_CONSTANT_ENTRY(name) GENERATE_VM_LONG_CONSTANT_ENTRY(name)
duke@0 2883 # define GENERATE_C2_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY(name, value) GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY(name, value)
duke@0 2884 #else
duke@0 2885 # define GENERATE_C2_VM_LONG_CONSTANT_ENTRY(name)
duke@0 2886 # define GENERATE_C2_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY(name, value)
duke@0 2887 #endif /* COMPILER1 */
duke@0 2888
duke@0 2889 //
duke@0 2890 // Instantiation of VMStructEntries, VMTypeEntries and VMIntConstantEntries
duke@0 2891 //
duke@0 2892
duke@0 2893 // These initializers are allowed to access private fields in classes
duke@0 2894 // as long as class VMStructs is a friend
duke@0 2895 VMStructEntry VMStructs::localHotSpotVMStructs[] = {
duke@0 2896
mikael@3991 2897 VM_STRUCTS(GENERATE_NONSTATIC_VM_STRUCT_ENTRY,
mikael@3991 2898 GENERATE_STATIC_VM_STRUCT_ENTRY,
mikael@3991 2899 GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY,
mikael@3991 2900 GENERATE_NONSTATIC_VM_STRUCT_ENTRY,
mikael@3991 2901 GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY,
mikael@3991 2902 GENERATE_C1_NONSTATIC_VM_STRUCT_ENTRY,
mikael@3991 2903 GENERATE_C2_NONSTATIC_VM_STRUCT_ENTRY,
mikael@3991 2904 GENERATE_C1_UNCHECKED_STATIC_VM_STRUCT_ENTRY,
mikael@3991 2905 GENERATE_C2_UNCHECKED_STATIC_VM_STRUCT_ENTRY)