Mercurial > hg > truffle
comparison src/share/vm/runtime/vmStructs.cpp @ 14422:2b8e28fdf503
Merge
author | kvn |
---|---|
date | Tue, 05 Nov 2013 17:38:04 -0800 |
parents | e2722a66aba7 6b32b911d723 |
children | 50fdb38839eb |
comparison
equal
deleted
inserted
replaced
14421:3068270ba476 | 14422:2b8e28fdf503 |
---|---|
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "classfile/dictionary.hpp" | 26 #include "classfile/dictionary.hpp" |
27 #include "classfile/javaClasses.hpp" | 27 #include "classfile/javaClasses.hpp" |
28 #include "classfile/loaderConstraints.hpp" | 28 #include "classfile/loaderConstraints.hpp" |
29 #include "classfile/placeholders.hpp" | 29 #include "classfile/placeholders.hpp" |
30 #include "classfile/symbolTable.hpp" | |
31 #include "classfile/systemDictionary.hpp" | 30 #include "classfile/systemDictionary.hpp" |
32 #include "ci/ciField.hpp" | 31 #include "ci/ciField.hpp" |
33 #include "ci/ciInstance.hpp" | 32 #include "ci/ciInstance.hpp" |
34 #include "ci/ciObjArrayKlass.hpp" | 33 #include "ci/ciObjArrayKlass.hpp" |
35 #include "ci/ciMethodData.hpp" | 34 #include "ci/ciMethodData.hpp" |
57 #include "memory/freeBlockDictionary.hpp" | 56 #include "memory/freeBlockDictionary.hpp" |
58 #include "memory/genCollectedHeap.hpp" | 57 #include "memory/genCollectedHeap.hpp" |
59 #include "memory/generation.hpp" | 58 #include "memory/generation.hpp" |
60 #include "memory/generationSpec.hpp" | 59 #include "memory/generationSpec.hpp" |
61 #include "memory/heap.hpp" | 60 #include "memory/heap.hpp" |
62 #include "memory/metablock.hpp" | 61 #include "memory/metachunk.hpp" |
63 #include "memory/referenceType.hpp" | 62 #include "memory/referenceType.hpp" |
64 #include "memory/space.hpp" | 63 #include "memory/space.hpp" |
65 #include "memory/tenuredGeneration.hpp" | 64 #include "memory/tenuredGeneration.hpp" |
66 #include "memory/universe.hpp" | 65 #include "memory/universe.hpp" |
67 #include "memory/watermark.hpp" | 66 #include "memory/watermark.hpp" |
177 #include "opto/divnode.hpp" | 176 #include "opto/divnode.hpp" |
178 #include "opto/locknode.hpp" | 177 #include "opto/locknode.hpp" |
179 #include "opto/loopnode.hpp" | 178 #include "opto/loopnode.hpp" |
180 #include "opto/machnode.hpp" | 179 #include "opto/machnode.hpp" |
181 #include "opto/matcher.hpp" | 180 #include "opto/matcher.hpp" |
181 #include "opto/mathexactnode.hpp" | |
182 #include "opto/mulnode.hpp" | 182 #include "opto/mulnode.hpp" |
183 #include "opto/phaseX.hpp" | 183 #include "opto/phaseX.hpp" |
184 #include "opto/parse.hpp" | 184 #include "opto/parse.hpp" |
185 #include "opto/regalloc.hpp" | 185 #include "opto/regalloc.hpp" |
186 #include "opto/rootnode.hpp" | 186 #include "opto/rootnode.hpp" |
292 nonstatic_field(ConstantPool, _reference_map, Array<u2>*) \ | 292 nonstatic_field(ConstantPool, _reference_map, Array<u2>*) \ |
293 nonstatic_field(ConstantPoolCache, _length, int) \ | 293 nonstatic_field(ConstantPoolCache, _length, int) \ |
294 nonstatic_field(ConstantPoolCache, _constant_pool, ConstantPool*) \ | 294 nonstatic_field(ConstantPoolCache, _constant_pool, ConstantPool*) \ |
295 nonstatic_field(InstanceKlass, _array_klasses, Klass*) \ | 295 nonstatic_field(InstanceKlass, _array_klasses, Klass*) \ |
296 nonstatic_field(InstanceKlass, _methods, Array<Method*>*) \ | 296 nonstatic_field(InstanceKlass, _methods, Array<Method*>*) \ |
297 nonstatic_field(InstanceKlass, _default_methods, Array<Method*>*) \ | |
297 nonstatic_field(InstanceKlass, _local_interfaces, Array<Klass*>*) \ | 298 nonstatic_field(InstanceKlass, _local_interfaces, Array<Klass*>*) \ |
298 nonstatic_field(InstanceKlass, _transitive_interfaces, Array<Klass*>*) \ | 299 nonstatic_field(InstanceKlass, _transitive_interfaces, Array<Klass*>*) \ |
299 nonstatic_field(InstanceKlass, _fields, Array<u2>*) \ | 300 nonstatic_field(InstanceKlass, _fields, Array<u2>*) \ |
300 nonstatic_field(InstanceKlass, _java_fields_count, u2) \ | 301 nonstatic_field(InstanceKlass, _java_fields_count, u2) \ |
301 nonstatic_field(InstanceKlass, _constants, ConstantPool*) \ | 302 nonstatic_field(InstanceKlass, _constants, ConstantPool*) \ |
319 nonstatic_field(InstanceKlass, _jni_ids, JNIid*) \ | 320 nonstatic_field(InstanceKlass, _jni_ids, JNIid*) \ |
320 nonstatic_field(InstanceKlass, _osr_nmethods_head, nmethod*) \ | 321 nonstatic_field(InstanceKlass, _osr_nmethods_head, nmethod*) \ |
321 nonstatic_field(InstanceKlass, _breakpoints, BreakpointInfo*) \ | 322 nonstatic_field(InstanceKlass, _breakpoints, BreakpointInfo*) \ |
322 nonstatic_field(InstanceKlass, _generic_signature_index, u2) \ | 323 nonstatic_field(InstanceKlass, _generic_signature_index, u2) \ |
323 nonstatic_field(InstanceKlass, _methods_jmethod_ids, jmethodID*) \ | 324 nonstatic_field(InstanceKlass, _methods_jmethod_ids, jmethodID*) \ |
324 nonstatic_field(InstanceKlass, _methods_cached_itable_indices, int*) \ | |
325 volatile_nonstatic_field(InstanceKlass, _idnum_allocated_count, u2) \ | 325 volatile_nonstatic_field(InstanceKlass, _idnum_allocated_count, u2) \ |
326 nonstatic_field(InstanceKlass, _annotations, Annotations*) \ | 326 nonstatic_field(InstanceKlass, _annotations, Annotations*) \ |
327 nonstatic_field(InstanceKlass, _dependencies, nmethodBucket*) \ | 327 nonstatic_field(InstanceKlass, _dependencies, nmethodBucket*) \ |
328 nonstatic_field(nmethodBucket, _nmethod, nmethod*) \ | 328 nonstatic_field(nmethodBucket, _nmethod, nmethod*) \ |
329 nonstatic_field(nmethodBucket, _count, int) \ | 329 nonstatic_field(nmethodBucket, _count, int) \ |
330 nonstatic_field(nmethodBucket, _next, nmethodBucket*) \ | 330 nonstatic_field(nmethodBucket, _next, nmethodBucket*) \ |
331 nonstatic_field(InstanceKlass, _method_ordering, Array<int>*) \ | 331 nonstatic_field(InstanceKlass, _method_ordering, Array<int>*) \ |
332 nonstatic_field(InstanceKlass, _default_vtable_indices, Array<int>*) \ | |
332 nonstatic_field(Klass, _super_check_offset, juint) \ | 333 nonstatic_field(Klass, _super_check_offset, juint) \ |
333 nonstatic_field(Klass, _secondary_super_cache, Klass*) \ | 334 nonstatic_field(Klass, _secondary_super_cache, Klass*) \ |
334 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \ | 335 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \ |
335 nonstatic_field(Klass, _primary_supers[0], Klass*) \ | 336 nonstatic_field(Klass, _primary_supers[0], Klass*) \ |
336 nonstatic_field(Klass, _java_mirror, oop) \ | 337 nonstatic_field(Klass, _java_mirror, oop) \ |
337 nonstatic_field(Klass, _modifier_flags, jint) \ | 338 nonstatic_field(Klass, _modifier_flags, jint) \ |
338 nonstatic_field(Klass, _super, Klass*) \ | 339 nonstatic_field(Klass, _super, Klass*) \ |
340 nonstatic_field(Klass, _subklass, Klass*) \ | |
339 nonstatic_field(Klass, _layout_helper, jint) \ | 341 nonstatic_field(Klass, _layout_helper, jint) \ |
340 nonstatic_field(Klass, _name, Symbol*) \ | 342 nonstatic_field(Klass, _name, Symbol*) \ |
341 nonstatic_field(Klass, _access_flags, AccessFlags) \ | 343 nonstatic_field(Klass, _access_flags, AccessFlags) \ |
342 nonstatic_field(Klass, _subklass, Klass*) \ | 344 nonstatic_field(Klass, _prototype_header, markOop) \ |
343 nonstatic_field(Klass, _next_sibling, Klass*) \ | 345 nonstatic_field(Klass, _next_sibling, Klass*) \ |
346 nonstatic_field(vtableEntry, _method, Method*) \ | |
344 nonstatic_field(MethodData, _size, int) \ | 347 nonstatic_field(MethodData, _size, int) \ |
345 nonstatic_field(MethodData, _method, Method*) \ | 348 nonstatic_field(MethodData, _method, Method*) \ |
346 nonstatic_field(MethodData, _data_size, int) \ | 349 nonstatic_field(MethodData, _data_size, int) \ |
347 nonstatic_field(MethodData, _data[0], intptr_t) \ | 350 nonstatic_field(MethodData, _data[0], intptr_t) \ |
348 nonstatic_field(MethodData, _nof_decompiles, uint) \ | 351 nonstatic_field(MethodData, _nof_decompiles, uint) \ |
349 nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \ | 352 nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \ |
350 nonstatic_field(MethodData, _nof_overflow_traps, uint) \ | 353 nonstatic_field(MethodData, _nof_overflow_traps, uint) \ |
354 nonstatic_field(MethodData, _trap_hist._array[0], u1) \ | |
351 nonstatic_field(MethodData, _eflags, intx) \ | 355 nonstatic_field(MethodData, _eflags, intx) \ |
352 nonstatic_field(MethodData, _arg_local, intx) \ | 356 nonstatic_field(MethodData, _arg_local, intx) \ |
353 nonstatic_field(MethodData, _arg_stack, intx) \ | 357 nonstatic_field(MethodData, _arg_stack, intx) \ |
354 nonstatic_field(MethodData, _arg_returned, intx) \ | 358 nonstatic_field(MethodData, _arg_returned, intx) \ |
359 nonstatic_field(DataLayout, _header._struct._tag, u1) \ | |
360 nonstatic_field(DataLayout, _header._struct._flags, u1) \ | |
361 nonstatic_field(DataLayout, _header._struct._bci, u2) \ | |
362 nonstatic_field(DataLayout, _cells[0], intptr_t) \ | |
355 nonstatic_field(MethodCounters, _interpreter_invocation_count, int) \ | 363 nonstatic_field(MethodCounters, _interpreter_invocation_count, int) \ |
356 nonstatic_field(MethodCounters, _interpreter_throwout_count, u2) \ | 364 nonstatic_field(MethodCounters, _interpreter_throwout_count, u2) \ |
357 nonstatic_field(MethodCounters, _number_of_breakpoints, u2) \ | 365 nonstatic_field(MethodCounters, _number_of_breakpoints, u2) \ |
358 nonstatic_field(MethodCounters, _invocation_counter, InvocationCounter) \ | 366 nonstatic_field(MethodCounters, _invocation_counter, InvocationCounter) \ |
359 nonstatic_field(MethodCounters, _backedge_counter, InvocationCounter) \ | 367 nonstatic_field(MethodCounters, _backedge_counter, InvocationCounter) \ |
361 nonstatic_field(Method, _method_data, MethodData*) \ | 369 nonstatic_field(Method, _method_data, MethodData*) \ |
362 nonstatic_field(Method, _method_counters, MethodCounters*) \ | 370 nonstatic_field(Method, _method_counters, MethodCounters*) \ |
363 nonstatic_field(Method, _access_flags, AccessFlags) \ | 371 nonstatic_field(Method, _access_flags, AccessFlags) \ |
364 nonstatic_field(Method, _vtable_index, int) \ | 372 nonstatic_field(Method, _vtable_index, int) \ |
365 nonstatic_field(Method, _method_size, u2) \ | 373 nonstatic_field(Method, _method_size, u2) \ |
374 nonstatic_field(Method, _intrinsic_id, u1) \ | |
366 nonproduct_nonstatic_field(Method, _compiled_invocation_count, int) \ | 375 nonproduct_nonstatic_field(Method, _compiled_invocation_count, int) \ |
367 volatile_nonstatic_field(Method, _code, nmethod*) \ | 376 volatile_nonstatic_field(Method, _code, nmethod*) \ |
368 nonstatic_field(Method, _i2i_entry, address) \ | 377 nonstatic_field(Method, _i2i_entry, address) \ |
369 nonstatic_field(Method, _adapter, AdapterHandlerEntry*) \ | 378 nonstatic_field(Method, _adapter, AdapterHandlerEntry*) \ |
370 volatile_nonstatic_field(Method, _from_compiled_entry, address) \ | 379 volatile_nonstatic_field(Method, _from_compiled_entry, address) \ |
447 static_field(Universe, _collectedHeap, CollectedHeap*) \ | 456 static_field(Universe, _collectedHeap, CollectedHeap*) \ |
448 static_field(Universe, _base_vtable_size, int) \ | 457 static_field(Universe, _base_vtable_size, int) \ |
449 static_field(Universe, _bootstrapping, bool) \ | 458 static_field(Universe, _bootstrapping, bool) \ |
450 static_field(Universe, _fully_initialized, bool) \ | 459 static_field(Universe, _fully_initialized, bool) \ |
451 static_field(Universe, _verify_count, int) \ | 460 static_field(Universe, _verify_count, int) \ |
461 static_field(Universe, _non_oop_bits, intptr_t) \ | |
452 static_field(Universe, _narrow_oop._base, address) \ | 462 static_field(Universe, _narrow_oop._base, address) \ |
453 static_field(Universe, _narrow_oop._shift, int) \ | 463 static_field(Universe, _narrow_oop._shift, int) \ |
454 static_field(Universe, _narrow_oop._use_implicit_null_checks, bool) \ | 464 static_field(Universe, _narrow_oop._use_implicit_null_checks, bool) \ |
455 static_field(Universe, _narrow_klass._base, address) \ | 465 static_field(Universe, _narrow_klass._base, address) \ |
456 static_field(Universe, _narrow_klass._shift, int) \ | 466 static_field(Universe, _narrow_klass._shift, int) \ |
457 \ | 467 \ |
468 /******/ \ | |
469 /* os */ \ | |
470 /******/ \ | |
471 \ | |
472 static_field(os, _polling_page, address) \ | |
473 \ | |
458 /**********************************************************************************/ \ | 474 /**********************************************************************************/ \ |
459 /* Generation and Space hierarchies */ \ | 475 /* Generation and Space hierarchies */ \ |
460 /**********************************************************************************/ \ | 476 /**********************************************************************************/ \ |
461 \ | 477 \ |
462 unchecked_nonstatic_field(ageTable, sizes, sizeof(ageTable::sizes)) \ | 478 unchecked_nonstatic_field(ageTable, sizes, sizeof(ageTable::sizes)) \ |
463 \ | 479 \ |
464 nonstatic_field(BarrierSet, _max_covered_regions, int) \ | 480 nonstatic_field(BarrierSet, _max_covered_regions, int) \ |
481 nonstatic_field(BarrierSet, _kind, BarrierSet::Name) \ | |
465 nonstatic_field(BlockOffsetTable, _bottom, HeapWord*) \ | 482 nonstatic_field(BlockOffsetTable, _bottom, HeapWord*) \ |
466 nonstatic_field(BlockOffsetTable, _end, HeapWord*) \ | 483 nonstatic_field(BlockOffsetTable, _end, HeapWord*) \ |
467 \ | 484 \ |
468 nonstatic_field(BlockOffsetSharedArray, _reserved, MemRegion) \ | 485 nonstatic_field(BlockOffsetSharedArray, _reserved, MemRegion) \ |
469 nonstatic_field(BlockOffsetSharedArray, _end, HeapWord*) \ | 486 nonstatic_field(BlockOffsetSharedArray, _end, HeapWord*) \ |
499 \ | 516 \ |
500 nonstatic_field(CollectedHeap, _reserved, MemRegion) \ | 517 nonstatic_field(CollectedHeap, _reserved, MemRegion) \ |
501 nonstatic_field(CollectedHeap, _barrier_set, BarrierSet*) \ | 518 nonstatic_field(CollectedHeap, _barrier_set, BarrierSet*) \ |
502 nonstatic_field(CollectedHeap, _defer_initial_card_mark, bool) \ | 519 nonstatic_field(CollectedHeap, _defer_initial_card_mark, bool) \ |
503 nonstatic_field(CollectedHeap, _is_gc_active, bool) \ | 520 nonstatic_field(CollectedHeap, _is_gc_active, bool) \ |
521 nonstatic_field(CollectedHeap, _total_collections, unsigned int) \ | |
504 nonstatic_field(CompactibleSpace, _compaction_top, HeapWord*) \ | 522 nonstatic_field(CompactibleSpace, _compaction_top, HeapWord*) \ |
505 nonstatic_field(CompactibleSpace, _first_dead, HeapWord*) \ | 523 nonstatic_field(CompactibleSpace, _first_dead, HeapWord*) \ |
506 nonstatic_field(CompactibleSpace, _end_of_live, HeapWord*) \ | 524 nonstatic_field(CompactibleSpace, _end_of_live, HeapWord*) \ |
507 \ | 525 \ |
508 \ | 526 \ |
509 nonstatic_field(ContiguousSpace, _top, HeapWord*) \ | 527 nonstatic_field(ContiguousSpace, _top, HeapWord*) \ |
510 nonstatic_field(ContiguousSpace, _concurrent_iteration_safe_limit, HeapWord*) \ | 528 nonstatic_field(ContiguousSpace, _concurrent_iteration_safe_limit, HeapWord*) \ |
511 nonstatic_field(ContiguousSpace, _saved_mark_word, HeapWord*) \ | 529 nonstatic_field(ContiguousSpace, _saved_mark_word, HeapWord*) \ |
512 \ | 530 \ |
513 nonstatic_field(DefNewGeneration, _next_gen, Generation*) \ | 531 nonstatic_field(DefNewGeneration, _next_gen, Generation*) \ |
514 nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ | 532 nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ |
515 nonstatic_field(DefNewGeneration, _age_table, ageTable) \ | 533 nonstatic_field(DefNewGeneration, _age_table, ageTable) \ |
516 nonstatic_field(DefNewGeneration, _eden_space, EdenSpace*) \ | 534 nonstatic_field(DefNewGeneration, _eden_space, EdenSpace*) \ |
517 nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ | 535 nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ |
518 nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) \ | 536 nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) \ |
519 \ | 537 \ |
556 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ | 574 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ |
557 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ | 575 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ |
558 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ | 576 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ |
559 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ | 577 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ |
560 static_field(ThreadLocalAllocBuffer, _target_refills, unsigned) \ | 578 static_field(ThreadLocalAllocBuffer, _target_refills, unsigned) \ |
579 nonstatic_field(ThreadLocalAllocBuffer, _number_of_refills, unsigned) \ | |
580 nonstatic_field(ThreadLocalAllocBuffer, _fast_refill_waste, unsigned) \ | |
581 nonstatic_field(ThreadLocalAllocBuffer, _slow_refill_waste, unsigned) \ | |
582 nonstatic_field(ThreadLocalAllocBuffer, _gc_waste, unsigned) \ | |
583 nonstatic_field(ThreadLocalAllocBuffer, _slow_allocations, unsigned) \ | |
561 nonstatic_field(VirtualSpace, _low_boundary, char*) \ | 584 nonstatic_field(VirtualSpace, _low_boundary, char*) \ |
562 nonstatic_field(VirtualSpace, _high_boundary, char*) \ | 585 nonstatic_field(VirtualSpace, _high_boundary, char*) \ |
563 nonstatic_field(VirtualSpace, _low, char*) \ | 586 nonstatic_field(VirtualSpace, _low, char*) \ |
564 nonstatic_field(VirtualSpace, _high, char*) \ | 587 nonstatic_field(VirtualSpace, _high, char*) \ |
565 nonstatic_field(VirtualSpace, _lower_high, char*) \ | 588 nonstatic_field(VirtualSpace, _lower_high, char*) \ |
697 /********************/ \ | 720 /********************/ \ |
698 \ | 721 \ |
699 nonstatic_field(PlaceholderEntry, _loader_data, ClassLoaderData*) \ | 722 nonstatic_field(PlaceholderEntry, _loader_data, ClassLoaderData*) \ |
700 \ | 723 \ |
701 /**************************/ \ | 724 /**************************/ \ |
702 /* ProctectionDomainEntry */ \ | 725 /* ProtectionDomainEntry */ \ |
703 /**************************/ \ | 726 /**************************/ \ |
704 \ | 727 \ |
705 nonstatic_field(ProtectionDomainEntry, _next, ProtectionDomainEntry*) \ | 728 nonstatic_field(ProtectionDomainEntry, _next, ProtectionDomainEntry*) \ |
706 nonstatic_field(ProtectionDomainEntry, _protection_domain, oop) \ | 729 nonstatic_field(ProtectionDomainEntry, _pd_cache, ProtectionDomainCacheEntry*) \ |
730 \ | |
731 /*******************************/ \ | |
732 /* ProtectionDomainCacheEntry */ \ | |
733 /*******************************/ \ | |
734 \ | |
735 nonstatic_field(ProtectionDomainCacheEntry, _literal, oop) \ | |
707 \ | 736 \ |
708 /*************************/ \ | 737 /*************************/ \ |
709 /* LoaderConstraintEntry */ \ | 738 /* LoaderConstraintEntry */ \ |
710 /*************************/ \ | 739 /*************************/ \ |
711 \ | 740 \ |
717 nonstatic_field(ClassLoaderData, _class_loader, oop) \ | 746 nonstatic_field(ClassLoaderData, _class_loader, oop) \ |
718 nonstatic_field(ClassLoaderData, _next, ClassLoaderData*) \ | 747 nonstatic_field(ClassLoaderData, _next, ClassLoaderData*) \ |
719 \ | 748 \ |
720 static_field(ClassLoaderDataGraph, _head, ClassLoaderData*) \ | 749 static_field(ClassLoaderDataGraph, _head, ClassLoaderData*) \ |
721 \ | 750 \ |
751 /**********/ \ | |
752 /* Arrays */ \ | |
753 /**********/ \ | |
754 \ | |
755 nonstatic_field(Array<Klass*>, _length, int) \ | |
756 nonstatic_field(Array<Klass*>, _data[0], Klass*) \ | |
757 \ | |
722 /*******************/ \ | 758 /*******************/ \ |
723 /* GrowableArrays */ \ | 759 /* GrowableArrays */ \ |
724 /*******************/ \ | 760 /*******************/ \ |
725 \ | 761 \ |
726 nonstatic_field(GenericGrowableArray, _len, int) \ | 762 nonstatic_field(GenericGrowableArray, _len, int) \ |
727 nonstatic_field(GenericGrowableArray, _max, int) \ | 763 nonstatic_field(GenericGrowableArray, _max, int) \ |
728 nonstatic_field(GenericGrowableArray, _arena, Arena*) \ | 764 nonstatic_field(GenericGrowableArray, _arena, Arena*) \ |
729 nonstatic_field(GrowableArray<int>, _data, int*) \ | 765 nonstatic_field(GrowableArray<int>, _data, int*) \ |
730 \ | 766 \ |
731 /********************************/ \ | 767 /********************************/ \ |
732 /* CodeCache (NOTE: incomplete) */ \ | 768 /* CodeCache (NOTE: incomplete) */ \ |
733 /********************************/ \ | 769 /********************************/ \ |
734 \ | 770 \ |
767 \ | 803 \ |
768 /***********************************/ \ | 804 /***********************************/ \ |
769 /* StubRoutines (NOTE: incomplete) */ \ | 805 /* StubRoutines (NOTE: incomplete) */ \ |
770 /***********************************/ \ | 806 /***********************************/ \ |
771 \ | 807 \ |
808 static_field(StubRoutines, _verify_oop_count, jint) \ | |
772 static_field(StubRoutines, _call_stub_return_address, address) \ | 809 static_field(StubRoutines, _call_stub_return_address, address) \ |
810 static_field(StubRoutines, _aescrypt_encryptBlock, address) \ | |
811 static_field(StubRoutines, _aescrypt_decryptBlock, address) \ | |
812 static_field(StubRoutines, _cipherBlockChaining_encryptAESCrypt, address) \ | |
813 static_field(StubRoutines, _cipherBlockChaining_decryptAESCrypt, address) \ | |
814 static_field(StubRoutines, _updateBytesCRC32, address) \ | |
815 static_field(StubRoutines, _crc_table_adr, address) \ | |
816 \ | |
817 /*****************/ \ | |
818 /* SharedRuntime */ \ | |
819 /*****************/ \ | |
820 \ | |
821 static_field(SharedRuntime, _ic_miss_blob, RuntimeStub*) \ | |
773 \ | 822 \ |
774 /***************************************/ \ | 823 /***************************************/ \ |
775 /* PcDesc and other compiled code info */ \ | 824 /* PcDesc and other compiled code info */ \ |
776 /***************************************/ \ | 825 /***************************************/ \ |
777 \ | 826 \ |
804 nonstatic_field(nmethod, _method, Method*) \ | 853 nonstatic_field(nmethod, _method, Method*) \ |
805 nonstatic_field(nmethod, _entry_bci, int) \ | 854 nonstatic_field(nmethod, _entry_bci, int) \ |
806 nonstatic_field(nmethod, _osr_link, nmethod*) \ | 855 nonstatic_field(nmethod, _osr_link, nmethod*) \ |
807 nonstatic_field(nmethod, _scavenge_root_link, nmethod*) \ | 856 nonstatic_field(nmethod, _scavenge_root_link, nmethod*) \ |
808 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \ | 857 nonstatic_field(nmethod, _scavenge_root_state, jbyte) \ |
809 nonstatic_field(nmethod, _state, unsigned char) \ | 858 nonstatic_field(nmethod, _state, volatile unsigned char) \ |
810 nonstatic_field(nmethod, _exception_offset, int) \ | 859 nonstatic_field(nmethod, _exception_offset, int) \ |
811 nonstatic_field(nmethod, _deoptimize_offset, int) \ | 860 nonstatic_field(nmethod, _deoptimize_offset, int) \ |
812 nonstatic_field(nmethod, _deoptimize_mh_offset, int) \ | 861 nonstatic_field(nmethod, _deoptimize_mh_offset, int) \ |
813 nonstatic_field(nmethod, _orig_pc_offset, int) \ | 862 nonstatic_field(nmethod, _orig_pc_offset, int) \ |
814 nonstatic_field(nmethod, _stub_offset, int) \ | 863 nonstatic_field(nmethod, _stub_offset, int) \ |
857 nonstatic_field(ThreadShadow, _exception_file, const char*) \ | 906 nonstatic_field(ThreadShadow, _exception_file, const char*) \ |
858 nonstatic_field(ThreadShadow, _exception_line, int) \ | 907 nonstatic_field(ThreadShadow, _exception_line, int) \ |
859 volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \ | 908 volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \ |
860 nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \ | 909 nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \ |
861 nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ | 910 nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ |
911 nonstatic_field(Thread, _allocated_bytes, jlong) \ | |
862 nonstatic_field(Thread, _current_pending_monitor, ObjectMonitor*) \ | 912 nonstatic_field(Thread, _current_pending_monitor, ObjectMonitor*) \ |
863 nonstatic_field(Thread, _current_pending_monitor_is_from_java, bool) \ | 913 nonstatic_field(Thread, _current_pending_monitor_is_from_java, bool) \ |
864 nonstatic_field(Thread, _current_waiting_monitor, ObjectMonitor*) \ | 914 nonstatic_field(Thread, _current_waiting_monitor, ObjectMonitor*) \ |
865 nonstatic_field(NamedThread, _name, char*) \ | 915 nonstatic_field(NamedThread, _name, char*) \ |
866 nonstatic_field(NamedThread, _processed_thread, JavaThread*) \ | 916 nonstatic_field(NamedThread, _processed_thread, JavaThread*) \ |
870 nonstatic_field(JavaThread, _vm_result, oop) \ | 920 nonstatic_field(JavaThread, _vm_result, oop) \ |
871 nonstatic_field(JavaThread, _vm_result_2, Metadata*) \ | 921 nonstatic_field(JavaThread, _vm_result_2, Metadata*) \ |
872 nonstatic_field(JavaThread, _pending_async_exception, oop) \ | 922 nonstatic_field(JavaThread, _pending_async_exception, oop) \ |
873 volatile_nonstatic_field(JavaThread, _exception_oop, oop) \ | 923 volatile_nonstatic_field(JavaThread, _exception_oop, oop) \ |
874 volatile_nonstatic_field(JavaThread, _exception_pc, address) \ | 924 volatile_nonstatic_field(JavaThread, _exception_pc, address) \ |
875 nonstatic_field(JavaThread, _is_compiling, bool) \ | 925 volatile_nonstatic_field(JavaThread, _is_method_handle_return, int) \ |
876 nonstatic_field(JavaThread, _special_runtime_exit_condition, JavaThread::AsyncRequests) \ | 926 nonstatic_field(JavaThread, _special_runtime_exit_condition, JavaThread::AsyncRequests) \ |
877 nonstatic_field(JavaThread, _saved_exception_pc, address) \ | 927 nonstatic_field(JavaThread, _saved_exception_pc, address) \ |
878 volatile_nonstatic_field(JavaThread, _thread_state, JavaThreadState) \ | 928 volatile_nonstatic_field(JavaThread, _thread_state, JavaThreadState) \ |
879 nonstatic_field(JavaThread, _osthread, OSThread*) \ | 929 nonstatic_field(JavaThread, _osthread, OSThread*) \ |
880 nonstatic_field(JavaThread, _stack_base, address) \ | 930 nonstatic_field(JavaThread, _stack_base, address) \ |
881 nonstatic_field(JavaThread, _stack_size, size_t) \ | 931 nonstatic_field(JavaThread, _stack_size, size_t) \ |
882 nonstatic_field(JavaThread, _vframe_array_head, vframeArray*) \ | 932 nonstatic_field(JavaThread, _vframe_array_head, vframeArray*) \ |
883 nonstatic_field(JavaThread, _vframe_array_last, vframeArray*) \ | 933 nonstatic_field(JavaThread, _vframe_array_last, vframeArray*) \ |
934 nonstatic_field(JavaThread, _satb_mark_queue, ObjPtrQueue) \ | |
935 nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \ | |
884 nonstatic_field(Thread, _resource_area, ResourceArea*) \ | 936 nonstatic_field(Thread, _resource_area, ResourceArea*) \ |
885 nonstatic_field(CompilerThread, _env, ciEnv*) \ | 937 nonstatic_field(CompilerThread, _env, ciEnv*) \ |
886 \ | 938 \ |
887 /************/ \ | 939 /************/ \ |
888 /* OSThread */ \ | 940 /* OSThread */ \ |
1144 \ | 1196 \ |
1145 /*********************/ \ | 1197 /*********************/ \ |
1146 /* -XX flags */ \ | 1198 /* -XX flags */ \ |
1147 /*********************/ \ | 1199 /*********************/ \ |
1148 \ | 1200 \ |
1149 nonstatic_field(Flag, type, const char*) \ | 1201 nonstatic_field(Flag, _type, const char*) \ |
1150 nonstatic_field(Flag, name, const char*) \ | 1202 nonstatic_field(Flag, _name, const char*) \ |
1151 unchecked_nonstatic_field(Flag, addr, sizeof(void*)) /* NOTE: no type */ \ | 1203 unchecked_nonstatic_field(Flag, _addr, sizeof(void*)) /* NOTE: no type */ \ |
1152 nonstatic_field(Flag, kind, const char*) \ | 1204 nonstatic_field(Flag, _flags, Flag::Flags) \ |
1153 nonstatic_field(Flag, origin, FlagValueOrigin) \ | |
1154 static_field(Flag, flags, Flag*) \ | 1205 static_field(Flag, flags, Flag*) \ |
1155 static_field(Flag, numFlags, size_t) \ | 1206 static_field(Flag, numFlags, size_t) \ |
1156 \ | 1207 \ |
1157 /*************************/ \ | 1208 /*************************/ \ |
1158 /* JDK / VM version info */ \ | 1209 /* JDK / VM version info */ \ |
1191 \ | 1242 \ |
1192 nonstatic_field(Array<int>, _length, int) \ | 1243 nonstatic_field(Array<int>, _length, int) \ |
1193 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ | 1244 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ |
1194 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ | 1245 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ |
1195 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ | 1246 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ |
1196 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ | 1247 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ |
1197 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ | 1248 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ |
1198 \ | 1249 \ |
1199 /*********************************/ \ | 1250 /*********************************/ \ |
1200 /* java_lang_Class fields */ \ | 1251 /* java_lang_Class fields */ \ |
1201 /*********************************/ \ | 1252 /*********************************/ \ |
1207 \ | 1258 \ |
1208 /************************/ \ | 1259 /************************/ \ |
1209 /* Miscellaneous fields */ \ | 1260 /* Miscellaneous fields */ \ |
1210 /************************/ \ | 1261 /************************/ \ |
1211 \ | 1262 \ |
1212 nonstatic_field(CompileTask, _method, Method*) \ | 1263 nonstatic_field(CompileTask, _method, Method*) \ |
1213 nonstatic_field(CompileTask, _osr_bci, int) \ | 1264 nonstatic_field(CompileTask, _osr_bci, int) \ |
1214 nonstatic_field(CompileTask, _comp_level, int) \ | 1265 nonstatic_field(CompileTask, _comp_level, int) \ |
1215 nonstatic_field(CompileTask, _compile_id, uint) \ | 1266 nonstatic_field(CompileTask, _compile_id, uint) \ |
1216 nonstatic_field(CompileTask, _next, CompileTask*) \ | 1267 nonstatic_field(CompileTask, _next, CompileTask*) \ |
1217 nonstatic_field(CompileTask, _prev, CompileTask*) \ | 1268 nonstatic_field(CompileTask, _prev, CompileTask*) \ |
1221 nonstatic_field(vframeArray, _caller, frame) \ | 1272 nonstatic_field(vframeArray, _caller, frame) \ |
1222 nonstatic_field(vframeArray, _frames, int) \ | 1273 nonstatic_field(vframeArray, _frames, int) \ |
1223 \ | 1274 \ |
1224 nonstatic_field(vframeArrayElement, _frame, frame) \ | 1275 nonstatic_field(vframeArrayElement, _frame, frame) \ |
1225 nonstatic_field(vframeArrayElement, _bci, int) \ | 1276 nonstatic_field(vframeArrayElement, _bci, int) \ |
1226 nonstatic_field(vframeArrayElement, _method, Method*) \ | 1277 nonstatic_field(vframeArrayElement, _method, Method*) \ |
1278 \ | |
1279 nonstatic_field(PtrQueue, _active, bool) \ | |
1280 nonstatic_field(PtrQueue, _buf, void**) \ | |
1281 nonstatic_field(PtrQueue, _index, size_t) \ | |
1227 \ | 1282 \ |
1228 nonstatic_field(AccessFlags, _flags, jint) \ | 1283 nonstatic_field(AccessFlags, _flags, jint) \ |
1229 nonstatic_field(elapsedTimer, _counter, jlong) \ | 1284 nonstatic_field(elapsedTimer, _counter, jlong) \ |
1230 nonstatic_field(elapsedTimer, _active, bool) \ | 1285 nonstatic_field(elapsedTimer, _active, bool) \ |
1231 nonstatic_field(InvocationCounter, _counter, unsigned int) \ | 1286 nonstatic_field(InvocationCounter, _counter, unsigned int) \ |
1315 declare_integer_type(short) \ | 1370 declare_integer_type(short) \ |
1316 declare_integer_type(int) \ | 1371 declare_integer_type(int) \ |
1317 declare_integer_type(long) \ | 1372 declare_integer_type(long) \ |
1318 declare_integer_type(char) \ | 1373 declare_integer_type(char) \ |
1319 declare_unsigned_integer_type(unsigned char) \ | 1374 declare_unsigned_integer_type(unsigned char) \ |
1375 declare_unsigned_integer_type(volatile unsigned char) \ | |
1320 declare_unsigned_integer_type(u_char) \ | 1376 declare_unsigned_integer_type(u_char) \ |
1321 declare_unsigned_integer_type(unsigned int) \ | 1377 declare_unsigned_integer_type(unsigned int) \ |
1322 declare_unsigned_integer_type(uint) \ | 1378 declare_unsigned_integer_type(uint) \ |
1323 declare_unsigned_integer_type(unsigned short) \ | 1379 declare_unsigned_integer_type(unsigned short) \ |
1324 declare_unsigned_integer_type(jushort) \ | 1380 declare_unsigned_integer_type(jushort) \ |
1337 declare_toplevel_type(int*) \ | 1393 declare_toplevel_type(int*) \ |
1338 declare_toplevel_type(char*) \ | 1394 declare_toplevel_type(char*) \ |
1339 declare_toplevel_type(char**) \ | 1395 declare_toplevel_type(char**) \ |
1340 declare_toplevel_type(u_char*) \ | 1396 declare_toplevel_type(u_char*) \ |
1341 declare_toplevel_type(unsigned char*) \ | 1397 declare_toplevel_type(unsigned char*) \ |
1398 declare_toplevel_type(volatile unsigned char*) \ | |
1342 \ | 1399 \ |
1343 /*******************************************************************/ \ | 1400 /*******************************************************************/ \ |
1344 /* Types which it will be handy to have available over in the SA */ \ | 1401 /* Types which it will be handy to have available over in the SA */ \ |
1345 /* in order to do platform-independent address -> integer coercion */ \ | 1402 /* in order to do platform-independent address -> integer coercion */ \ |
1346 /* (note: these will be looked up by name) */ \ | 1403 /* (note: these will be looked up by name) */ \ |
1367 \ | 1424 \ |
1368 /**************************************************/ \ | 1425 /**************************************************/ \ |
1369 /* MetadataOopDesc hierarchy (NOTE: some missing) */ \ | 1426 /* MetadataOopDesc hierarchy (NOTE: some missing) */ \ |
1370 /**************************************************/ \ | 1427 /**************************************************/ \ |
1371 \ | 1428 \ |
1372 declare_toplevel_type(CompiledICHolder) \ | 1429 declare_toplevel_type(CompiledICHolder) \ |
1373 declare_toplevel_type(MetaspaceObj) \ | 1430 declare_toplevel_type(MetaspaceObj) \ |
1374 declare_type(Metadata, MetaspaceObj) \ | 1431 declare_type(Metadata, MetaspaceObj) \ |
1375 declare_type(Klass, Metadata) \ | 1432 declare_type(Klass, Metadata) \ |
1376 declare_type(ArrayKlass, Klass) \ | 1433 declare_type(ArrayKlass, Klass) \ |
1377 declare_type(ObjArrayKlass, ArrayKlass) \ | 1434 declare_type(ObjArrayKlass, ArrayKlass) \ |
1378 declare_type(TypeArrayKlass, ArrayKlass) \ | 1435 declare_type(TypeArrayKlass, ArrayKlass) \ |
1379 declare_type(InstanceKlass, Klass) \ | 1436 declare_type(InstanceKlass, Klass) \ |
1380 declare_type(InstanceClassLoaderKlass, InstanceKlass) \ | 1437 declare_type(InstanceClassLoaderKlass, InstanceKlass) \ |
1381 declare_type(InstanceMirrorKlass, InstanceKlass) \ | 1438 declare_type(InstanceMirrorKlass, InstanceKlass) \ |
1382 declare_type(InstanceRefKlass, InstanceKlass) \ | 1439 declare_type(InstanceRefKlass, InstanceKlass) \ |
1383 declare_type(ConstantPool, Metadata) \ | 1440 declare_type(ConstantPool, Metadata) \ |
1384 declare_type(ConstantPoolCache, MetaspaceObj) \ | 1441 declare_type(ConstantPoolCache, MetaspaceObj) \ |
1385 declare_type(MethodData, Metadata) \ | 1442 declare_type(MethodData, Metadata) \ |
1386 declare_type(Method, Metadata) \ | 1443 declare_type(Method, Metadata) \ |
1387 declare_type(MethodCounters, MetaspaceObj) \ | 1444 declare_type(MethodCounters, MetaspaceObj) \ |
1388 declare_type(ConstMethod, MetaspaceObj) \ | 1445 declare_type(ConstMethod, MetaspaceObj) \ |
1446 \ | |
1447 declare_toplevel_type(vtableEntry) \ | |
1389 \ | 1448 \ |
1390 declare_toplevel_type(Symbol) \ | 1449 declare_toplevel_type(Symbol) \ |
1391 declare_toplevel_type(Symbol*) \ | 1450 declare_toplevel_type(Symbol*) \ |
1392 declare_toplevel_type(volatile Metadata*) \ | 1451 declare_toplevel_type(volatile Metadata*) \ |
1393 \ | 1452 \ |
1453 declare_toplevel_type(DataLayout) \ | |
1394 declare_toplevel_type(nmethodBucket) \ | 1454 declare_toplevel_type(nmethodBucket) \ |
1395 \ | 1455 \ |
1396 /********/ \ | 1456 /********/ \ |
1397 /* Oops */ \ | 1457 /* Oops */ \ |
1398 /********/ \ | 1458 /********/ \ |
1408 /*************************************/ \ | 1468 /*************************************/ \ |
1409 \ | 1469 \ |
1410 declare_toplevel_type(CheckedExceptionElement) \ | 1470 declare_toplevel_type(CheckedExceptionElement) \ |
1411 declare_toplevel_type(LocalVariableTableElement) \ | 1471 declare_toplevel_type(LocalVariableTableElement) \ |
1412 declare_toplevel_type(ExceptionTableElement) \ | 1472 declare_toplevel_type(ExceptionTableElement) \ |
1473 declare_toplevel_type(MethodParametersElement) \ | |
1413 \ | 1474 \ |
1414 declare_toplevel_type(ClassLoaderData) \ | 1475 declare_toplevel_type(ClassLoaderData) \ |
1415 declare_toplevel_type(ClassLoaderDataGraph) \ | 1476 declare_toplevel_type(ClassLoaderDataGraph) \ |
1416 \ | 1477 \ |
1417 /******************************************/ \ | 1478 /******************************************/ \ |
1436 declare_type(TenuredSpace, OffsetTableContigSpace) \ | 1497 declare_type(TenuredSpace, OffsetTableContigSpace) \ |
1437 declare_toplevel_type(BarrierSet) \ | 1498 declare_toplevel_type(BarrierSet) \ |
1438 declare_type(ModRefBarrierSet, BarrierSet) \ | 1499 declare_type(ModRefBarrierSet, BarrierSet) \ |
1439 declare_type(CardTableModRefBS, ModRefBarrierSet) \ | 1500 declare_type(CardTableModRefBS, ModRefBarrierSet) \ |
1440 declare_type(CardTableModRefBSForCTRS, CardTableModRefBS) \ | 1501 declare_type(CardTableModRefBSForCTRS, CardTableModRefBS) \ |
1502 declare_toplevel_type(BarrierSet::Name) \ | |
1441 declare_toplevel_type(GenRemSet) \ | 1503 declare_toplevel_type(GenRemSet) \ |
1442 declare_type(CardTableRS, GenRemSet) \ | 1504 declare_type(CardTableRS, GenRemSet) \ |
1443 declare_toplevel_type(BlockOffsetSharedArray) \ | 1505 declare_toplevel_type(BlockOffsetSharedArray) \ |
1444 declare_toplevel_type(BlockOffsetTable) \ | 1506 declare_toplevel_type(BlockOffsetTable) \ |
1445 declare_type(BlockOffsetArray, BlockOffsetTable) \ | 1507 declare_type(BlockOffsetArray, BlockOffsetTable) \ |
1454 declare_toplevel_type(HeapWord) \ | 1516 declare_toplevel_type(HeapWord) \ |
1455 declare_toplevel_type(MemRegion) \ | 1517 declare_toplevel_type(MemRegion) \ |
1456 declare_toplevel_type(ThreadLocalAllocBuffer) \ | 1518 declare_toplevel_type(ThreadLocalAllocBuffer) \ |
1457 declare_toplevel_type(VirtualSpace) \ | 1519 declare_toplevel_type(VirtualSpace) \ |
1458 declare_toplevel_type(WaterMark) \ | 1520 declare_toplevel_type(WaterMark) \ |
1521 declare_toplevel_type(ObjPtrQueue) \ | |
1522 declare_toplevel_type(DirtyCardQueue) \ | |
1459 \ | 1523 \ |
1460 /* Pointers to Garbage Collection types */ \ | 1524 /* Pointers to Garbage Collection types */ \ |
1461 \ | 1525 \ |
1462 declare_toplevel_type(BarrierSet*) \ | 1526 declare_toplevel_type(BarrierSet*) \ |
1463 declare_toplevel_type(BlockOffsetSharedArray*) \ | 1527 declare_toplevel_type(BlockOffsetSharedArray*) \ |
1509 declare_type(LoaderConstraintEntry, KlassHashtableEntry) \ | 1573 declare_type(LoaderConstraintEntry, KlassHashtableEntry) \ |
1510 declare_toplevel_type(HashtableBucket<mtInternal>) \ | 1574 declare_toplevel_type(HashtableBucket<mtInternal>) \ |
1511 declare_toplevel_type(SystemDictionary) \ | 1575 declare_toplevel_type(SystemDictionary) \ |
1512 declare_toplevel_type(vmSymbols) \ | 1576 declare_toplevel_type(vmSymbols) \ |
1513 declare_toplevel_type(ProtectionDomainEntry) \ | 1577 declare_toplevel_type(ProtectionDomainEntry) \ |
1578 declare_toplevel_type(ProtectionDomainCacheEntry) \ | |
1514 \ | 1579 \ |
1515 declare_toplevel_type(GenericGrowableArray) \ | 1580 declare_toplevel_type(GenericGrowableArray) \ |
1516 declare_toplevel_type(GrowableArray<int>) \ | 1581 declare_toplevel_type(GrowableArray<int>) \ |
1517 declare_toplevel_type(Arena) \ | 1582 declare_toplevel_type(Arena) \ |
1518 declare_type(ResourceArea, Arena) \ | 1583 declare_type(ResourceArea, Arena) \ |
1877 declare_c2_type(CmpL3Node, CmpLNode) \ | 1942 declare_c2_type(CmpL3Node, CmpLNode) \ |
1878 declare_c2_type(CmpFNode, CmpNode) \ | 1943 declare_c2_type(CmpFNode, CmpNode) \ |
1879 declare_c2_type(CmpF3Node, CmpFNode) \ | 1944 declare_c2_type(CmpF3Node, CmpFNode) \ |
1880 declare_c2_type(CmpDNode, CmpNode) \ | 1945 declare_c2_type(CmpDNode, CmpNode) \ |
1881 declare_c2_type(CmpD3Node, CmpDNode) \ | 1946 declare_c2_type(CmpD3Node, CmpDNode) \ |
1947 declare_c2_type(MathExactNode, MultiNode) \ | |
1948 declare_c2_type(MathExactINode, MathExactNode) \ | |
1949 declare_c2_type(AddExactINode, MathExactINode) \ | |
1950 declare_c2_type(AddExactLNode, MathExactLNode) \ | |
1951 declare_c2_type(SubExactINode, MathExactINode) \ | |
1952 declare_c2_type(SubExactLNode, MathExactLNode) \ | |
1953 declare_c2_type(NegExactINode, MathExactINode) \ | |
1954 declare_c2_type(MulExactINode, MathExactINode) \ | |
1955 declare_c2_type(FlagsProjNode, ProjNode) \ | |
1882 declare_c2_type(BoolNode, Node) \ | 1956 declare_c2_type(BoolNode, Node) \ |
1883 declare_c2_type(AbsNode, Node) \ | 1957 declare_c2_type(AbsNode, Node) \ |
1884 declare_c2_type(AbsINode, AbsNode) \ | 1958 declare_c2_type(AbsINode, AbsNode) \ |
1885 declare_c2_type(AbsFNode, AbsNode) \ | 1959 declare_c2_type(AbsFNode, AbsNode) \ |
1886 declare_c2_type(AbsDNode, AbsNode) \ | 1960 declare_c2_type(AbsDNode, AbsNode) \ |
2023 declare_integer_type(Generation::Name) \ | 2097 declare_integer_type(Generation::Name) \ |
2024 declare_integer_type(InstanceKlass::ClassState) \ | 2098 declare_integer_type(InstanceKlass::ClassState) \ |
2025 declare_integer_type(JavaThreadState) \ | 2099 declare_integer_type(JavaThreadState) \ |
2026 declare_integer_type(Location::Type) \ | 2100 declare_integer_type(Location::Type) \ |
2027 declare_integer_type(Location::Where) \ | 2101 declare_integer_type(Location::Where) \ |
2028 declare_integer_type(FlagValueOrigin) \ | 2102 declare_integer_type(Flag::Flags) \ |
2029 COMPILER2_PRESENT(declare_integer_type(OptoReg::Name)) \ | 2103 COMPILER2_PRESENT(declare_integer_type(OptoReg::Name)) \ |
2030 \ | 2104 \ |
2031 declare_toplevel_type(CHeapObj<mtInternal>) \ | 2105 declare_toplevel_type(CHeapObj<mtInternal>) \ |
2032 declare_type(Array<int>, MetaspaceObj) \ | 2106 declare_type(Array<int>, MetaspaceObj) \ |
2033 declare_type(Array<u1>, MetaspaceObj) \ | 2107 declare_type(Array<u1>, MetaspaceObj) \ |
2034 declare_type(Array<u2>, MetaspaceObj) \ | 2108 declare_type(Array<u2>, MetaspaceObj) \ |
2035 declare_type(Array<Klass*>, MetaspaceObj) \ | 2109 declare_type(Array<Klass*>, MetaspaceObj) \ |
2036 declare_type(Array<Method*>, MetaspaceObj) \ | 2110 declare_type(Array<Method*>, MetaspaceObj) \ |
2037 \ | 2111 \ |
2038 declare_integer_type(AccessFlags) /* FIXME: wrong type (not integer) */\ | 2112 declare_integer_type(AccessFlags) /* FIXME: wrong type (not integer) */\ |
2039 declare_toplevel_type(address) /* FIXME: should this be an integer type? */\ | 2113 declare_toplevel_type(address) /* FIXME: should this be an integer type? */\ |
2040 declare_integer_type(BasicType) /* FIXME: wrong type (not integer) */\ | 2114 declare_integer_type(BasicType) /* FIXME: wrong type (not integer) */\ |
2041 declare_toplevel_type(BreakpointInfo) \ | 2115 declare_toplevel_type(BreakpointInfo) \ |
2072 declare_toplevel_type(OSThread*) \ | 2146 declare_toplevel_type(OSThread*) \ |
2073 declare_integer_type(ReferenceType) \ | 2147 declare_integer_type(ReferenceType) \ |
2074 declare_toplevel_type(StubQueue*) \ | 2148 declare_toplevel_type(StubQueue*) \ |
2075 declare_toplevel_type(Thread*) \ | 2149 declare_toplevel_type(Thread*) \ |
2076 declare_toplevel_type(Universe) \ | 2150 declare_toplevel_type(Universe) \ |
2151 declare_toplevel_type(os) \ | |
2077 declare_toplevel_type(vframeArray) \ | 2152 declare_toplevel_type(vframeArray) \ |
2078 declare_toplevel_type(vframeArrayElement) \ | 2153 declare_toplevel_type(vframeArrayElement) \ |
2079 declare_toplevel_type(Annotations*) \ | 2154 declare_toplevel_type(Annotations*) \ |
2080 \ | 2155 \ |
2081 /***************/ \ | 2156 /***************/ \ |
2082 /* Miscellaneous types */ \ | 2157 /* Miscellaneous types */ \ |
2083 /***************/ \ | 2158 /***************/ \ |
2159 \ | |
2160 declare_toplevel_type(PtrQueue) \ | |
2084 \ | 2161 \ |
2085 /* freelist */ \ | 2162 /* freelist */ \ |
2086 declare_toplevel_type(FreeChunk*) \ | 2163 declare_toplevel_type(FreeChunk*) \ |
2087 declare_toplevel_type(Metablock*) \ | 2164 declare_toplevel_type(Metablock*) \ |
2088 declare_toplevel_type(FreeBlockDictionary<FreeChunk>*) \ | 2165 declare_toplevel_type(FreeBlockDictionary<FreeChunk>*) \ |
2110 \ | 2187 \ |
2111 /******************/ \ | 2188 /******************/ \ |
2112 /* Useful globals */ \ | 2189 /* Useful globals */ \ |
2113 /******************/ \ | 2190 /******************/ \ |
2114 \ | 2191 \ |
2192 declare_preprocessor_constant("ASSERT", DEBUG_ONLY(1) NOT_DEBUG(0)) \ | |
2115 \ | 2193 \ |
2116 /**************/ \ | 2194 /**************/ \ |
2117 /* Stack bias */ \ | 2195 /* Stack bias */ \ |
2118 /**************/ \ | 2196 /**************/ \ |
2119 \ | 2197 \ |
2126 declare_constant(oopSize) \ | 2204 declare_constant(oopSize) \ |
2127 declare_constant(LogBytesPerWord) \ | 2205 declare_constant(LogBytesPerWord) \ |
2128 declare_constant(BytesPerWord) \ | 2206 declare_constant(BytesPerWord) \ |
2129 declare_constant(BytesPerLong) \ | 2207 declare_constant(BytesPerLong) \ |
2130 \ | 2208 \ |
2209 declare_constant(LogKlassAlignmentInBytes) \ | |
2210 \ | |
2131 /********************************************/ \ | 2211 /********************************************/ \ |
2132 /* Generation and Space Hierarchy Constants */ \ | 2212 /* Generation and Space Hierarchy Constants */ \ |
2133 /********************************************/ \ | 2213 /********************************************/ \ |
2134 \ | 2214 \ |
2135 declare_constant(ageTable::table_size) \ | 2215 declare_constant(ageTable::table_size) \ |
2136 \ | 2216 \ |
2137 declare_constant(BarrierSet::ModRef) \ | 2217 declare_constant(BarrierSet::ModRef) \ |
2138 declare_constant(BarrierSet::CardTableModRef) \ | 2218 declare_constant(BarrierSet::CardTableModRef) \ |
2219 declare_constant(BarrierSet::CardTableExtension) \ | |
2220 declare_constant(BarrierSet::G1SATBCT) \ | |
2221 declare_constant(BarrierSet::G1SATBCTLogging) \ | |
2139 declare_constant(BarrierSet::Other) \ | 2222 declare_constant(BarrierSet::Other) \ |
2140 \ | 2223 \ |
2141 declare_constant(BlockOffsetSharedArray::LogN) \ | 2224 declare_constant(BlockOffsetSharedArray::LogN) \ |
2142 declare_constant(BlockOffsetSharedArray::LogN_words) \ | 2225 declare_constant(BlockOffsetSharedArray::LogN_words) \ |
2143 declare_constant(BlockOffsetSharedArray::N_bytes) \ | 2226 declare_constant(BlockOffsetSharedArray::N_bytes) \ |
2181 \ | 2264 \ |
2182 declare_preprocessor_constant("PERFDATA_MAJOR_VERSION", PERFDATA_MAJOR_VERSION) \ | 2265 declare_preprocessor_constant("PERFDATA_MAJOR_VERSION", PERFDATA_MAJOR_VERSION) \ |
2183 declare_preprocessor_constant("PERFDATA_MINOR_VERSION", PERFDATA_MINOR_VERSION) \ | 2266 declare_preprocessor_constant("PERFDATA_MINOR_VERSION", PERFDATA_MINOR_VERSION) \ |
2184 declare_preprocessor_constant("PERFDATA_BIG_ENDIAN", PERFDATA_BIG_ENDIAN) \ | 2267 declare_preprocessor_constant("PERFDATA_BIG_ENDIAN", PERFDATA_BIG_ENDIAN) \ |
2185 declare_preprocessor_constant("PERFDATA_LITTLE_ENDIAN", PERFDATA_LITTLE_ENDIAN) \ | 2268 declare_preprocessor_constant("PERFDATA_LITTLE_ENDIAN", PERFDATA_LITTLE_ENDIAN) \ |
2186 \ | |
2187 /***************/ \ | |
2188 /* SymbolTable */ \ | |
2189 /***************/ \ | |
2190 \ | |
2191 declare_constant(SymbolTable::symbol_table_size) \ | |
2192 \ | 2269 \ |
2193 /***********************************/ \ | 2270 /***********************************/ \ |
2194 /* LoaderConstraintTable constants */ \ | 2271 /* LoaderConstraintTable constants */ \ |
2195 /***********************************/ \ | 2272 /***********************************/ \ |
2196 \ | 2273 \ |
2252 /******************************/ \ | 2329 /******************************/ \ |
2253 \ | 2330 \ |
2254 declare_constant(Klass::_primary_super_limit) \ | 2331 declare_constant(Klass::_primary_super_limit) \ |
2255 declare_constant(Klass::_lh_instance_slow_path_bit) \ | 2332 declare_constant(Klass::_lh_instance_slow_path_bit) \ |
2256 declare_constant(Klass::_lh_log2_element_size_shift) \ | 2333 declare_constant(Klass::_lh_log2_element_size_shift) \ |
2334 declare_constant(Klass::_lh_log2_element_size_mask) \ | |
2257 declare_constant(Klass::_lh_element_type_shift) \ | 2335 declare_constant(Klass::_lh_element_type_shift) \ |
2336 declare_constant(Klass::_lh_element_type_mask) \ | |
2258 declare_constant(Klass::_lh_header_size_shift) \ | 2337 declare_constant(Klass::_lh_header_size_shift) \ |
2338 declare_constant(Klass::_lh_header_size_mask) \ | |
2259 declare_constant(Klass::_lh_array_tag_shift) \ | 2339 declare_constant(Klass::_lh_array_tag_shift) \ |
2260 declare_constant(Klass::_lh_array_tag_type_value) \ | 2340 declare_constant(Klass::_lh_array_tag_type_value) \ |
2261 declare_constant(Klass::_lh_array_tag_obj_value) \ | 2341 declare_constant(Klass::_lh_array_tag_obj_value) \ |
2262 \ | 2342 \ |
2263 /********************************/ \ | 2343 /********************************/ \ |
2267 declare_constant(ConstMethod::_has_linenumber_table) \ | 2347 declare_constant(ConstMethod::_has_linenumber_table) \ |
2268 declare_constant(ConstMethod::_has_checked_exceptions) \ | 2348 declare_constant(ConstMethod::_has_checked_exceptions) \ |
2269 declare_constant(ConstMethod::_has_localvariable_table) \ | 2349 declare_constant(ConstMethod::_has_localvariable_table) \ |
2270 declare_constant(ConstMethod::_has_exception_table) \ | 2350 declare_constant(ConstMethod::_has_exception_table) \ |
2271 declare_constant(ConstMethod::_has_generic_signature) \ | 2351 declare_constant(ConstMethod::_has_generic_signature) \ |
2352 declare_constant(ConstMethod::_has_method_parameters) \ | |
2272 declare_constant(ConstMethod::_has_method_annotations) \ | 2353 declare_constant(ConstMethod::_has_method_annotations) \ |
2273 declare_constant(ConstMethod::_has_parameter_annotations) \ | 2354 declare_constant(ConstMethod::_has_parameter_annotations) \ |
2274 declare_constant(ConstMethod::_has_default_annotations) \ | 2355 declare_constant(ConstMethod::_has_default_annotations) \ |
2275 declare_constant(ConstMethod::_has_type_annotations) \ | 2356 declare_constant(ConstMethod::_has_type_annotations) \ |
2357 \ | |
2358 /**************/ \ | |
2359 /* DataLayout */ \ | |
2360 /**************/ \ | |
2361 \ | |
2362 declare_constant(DataLayout::cell_size) \ | |
2276 \ | 2363 \ |
2277 /*************************************/ \ | 2364 /*************************************/ \ |
2278 /* InstanceKlass enum */ \ | 2365 /* InstanceKlass enum */ \ |
2279 /*************************************/ \ | 2366 /*************************************/ \ |
2280 \ | 2367 \ |
2406 declare_constant(Deoptimization::Reason_predicate) \ | 2493 declare_constant(Deoptimization::Reason_predicate) \ |
2407 declare_constant(Deoptimization::Reason_loop_limit_check) \ | 2494 declare_constant(Deoptimization::Reason_loop_limit_check) \ |
2408 declare_constant(Deoptimization::Reason_LIMIT) \ | 2495 declare_constant(Deoptimization::Reason_LIMIT) \ |
2409 declare_constant(Deoptimization::Reason_RECORDED_LIMIT) \ | 2496 declare_constant(Deoptimization::Reason_RECORDED_LIMIT) \ |
2410 \ | 2497 \ |
2498 declare_constant(Deoptimization::Action_none) \ | |
2499 declare_constant(Deoptimization::Action_maybe_recompile) \ | |
2500 declare_constant(Deoptimization::Action_reinterpret) \ | |
2501 declare_constant(Deoptimization::Action_make_not_entrant) \ | |
2502 declare_constant(Deoptimization::Action_make_not_compilable) \ | |
2503 declare_constant(Deoptimization::Action_LIMIT) \ | |
2504 \ | |
2411 /*********************/ \ | 2505 /*********************/ \ |
2412 /* Matcher (C2 only) */ \ | 2506 /* Matcher (C2 only) */ \ |
2413 /*********************/ \ | 2507 /*********************/ \ |
2414 \ | 2508 \ |
2415 declare_c2_preprocessor_constant("Matcher::interpreter_frame_pointer_reg", Matcher::interpreter_frame_pointer_reg()) \ | 2509 declare_c2_preprocessor_constant("Matcher::interpreter_frame_pointer_reg", Matcher::interpreter_frame_pointer_reg()) \ |
2472 /*************/ \ | 2566 /*************/ \ |
2473 \ | 2567 \ |
2474 declare_constant(vmSymbols::FIRST_SID) \ | 2568 declare_constant(vmSymbols::FIRST_SID) \ |
2475 declare_constant(vmSymbols::SID_LIMIT) \ | 2569 declare_constant(vmSymbols::SID_LIMIT) \ |
2476 \ | 2570 \ |
2571 /****************/ \ | |
2572 /* vmIntrinsics */ \ | |
2573 /****************/ \ | |
2574 \ | |
2575 declare_constant(vmIntrinsics::_invokeBasic) \ | |
2576 declare_constant(vmIntrinsics::_linkToVirtual) \ | |
2577 declare_constant(vmIntrinsics::_linkToStatic) \ | |
2578 declare_constant(vmIntrinsics::_linkToSpecial) \ | |
2579 declare_constant(vmIntrinsics::_linkToInterface) \ | |
2580 \ | |
2477 /********************************/ \ | 2581 /********************************/ \ |
2478 /* Calling convention constants */ \ | 2582 /* Calling convention constants */ \ |
2479 /********************************/ \ | 2583 /********************************/ \ |
2480 \ | 2584 \ |
2481 declare_constant(RegisterImpl::number_of_registers) \ | 2585 declare_constant(RegisterImpl::number_of_registers) \ |
2519 declare_constant(markOopDesc::biased_lock_mask) \ | 2623 declare_constant(markOopDesc::biased_lock_mask) \ |
2520 declare_constant(markOopDesc::biased_lock_mask_in_place) \ | 2624 declare_constant(markOopDesc::biased_lock_mask_in_place) \ |
2521 declare_constant(markOopDesc::biased_lock_bit_in_place) \ | 2625 declare_constant(markOopDesc::biased_lock_bit_in_place) \ |
2522 declare_constant(markOopDesc::age_mask) \ | 2626 declare_constant(markOopDesc::age_mask) \ |
2523 declare_constant(markOopDesc::age_mask_in_place) \ | 2627 declare_constant(markOopDesc::age_mask_in_place) \ |
2628 declare_constant(markOopDesc::epoch_mask) \ | |
2629 declare_constant(markOopDesc::epoch_mask_in_place) \ | |
2524 declare_constant(markOopDesc::hash_mask) \ | 2630 declare_constant(markOopDesc::hash_mask) \ |
2525 declare_constant(markOopDesc::hash_mask_in_place) \ | 2631 declare_constant(markOopDesc::hash_mask_in_place) \ |
2526 declare_constant(markOopDesc::biased_lock_alignment) \ | 2632 declare_constant(markOopDesc::biased_lock_alignment) \ |
2527 \ | 2633 \ |
2528 declare_constant(markOopDesc::locked_value) \ | 2634 declare_constant(markOopDesc::locked_value) \ |