Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vmStructs.cpp @ 12258:69f26e8e09f9
8024760: add more types, fields and constants to VMStructs
Reviewed-by: kvn, coleenp
author | twisti |
---|---|
date | Fri, 13 Sep 2013 16:55:44 -0700 |
parents | 4dece0730c50 |
children | b2e698d2276c |
comparison
equal
deleted
inserted
replaced
12257:01b268b3080a | 12258:69f26e8e09f9 |
---|---|
328 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \ | 328 nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \ |
329 nonstatic_field(Klass, _primary_supers[0], Klass*) \ | 329 nonstatic_field(Klass, _primary_supers[0], Klass*) \ |
330 nonstatic_field(Klass, _java_mirror, oop) \ | 330 nonstatic_field(Klass, _java_mirror, oop) \ |
331 nonstatic_field(Klass, _modifier_flags, jint) \ | 331 nonstatic_field(Klass, _modifier_flags, jint) \ |
332 nonstatic_field(Klass, _super, Klass*) \ | 332 nonstatic_field(Klass, _super, Klass*) \ |
333 nonstatic_field(Klass, _subklass, Klass*) \ | |
333 nonstatic_field(Klass, _layout_helper, jint) \ | 334 nonstatic_field(Klass, _layout_helper, jint) \ |
334 nonstatic_field(Klass, _name, Symbol*) \ | 335 nonstatic_field(Klass, _name, Symbol*) \ |
335 nonstatic_field(Klass, _access_flags, AccessFlags) \ | 336 nonstatic_field(Klass, _access_flags, AccessFlags) \ |
336 nonstatic_field(Klass, _subklass, Klass*) \ | 337 nonstatic_field(Klass, _prototype_header, markOop) \ |
337 nonstatic_field(Klass, _next_sibling, Klass*) \ | 338 nonstatic_field(Klass, _next_sibling, Klass*) \ |
339 nonstatic_field(vtableEntry, _method, Method*) \ | |
338 nonstatic_field(MethodData, _size, int) \ | 340 nonstatic_field(MethodData, _size, int) \ |
339 nonstatic_field(MethodData, _method, Method*) \ | 341 nonstatic_field(MethodData, _method, Method*) \ |
340 nonstatic_field(MethodData, _data_size, int) \ | 342 nonstatic_field(MethodData, _data_size, int) \ |
341 nonstatic_field(MethodData, _data[0], intptr_t) \ | 343 nonstatic_field(MethodData, _data[0], intptr_t) \ |
342 nonstatic_field(MethodData, _nof_decompiles, uint) \ | 344 nonstatic_field(MethodData, _nof_decompiles, uint) \ |
343 nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \ | 345 nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \ |
344 nonstatic_field(MethodData, _nof_overflow_traps, uint) \ | 346 nonstatic_field(MethodData, _nof_overflow_traps, uint) \ |
347 nonstatic_field(MethodData, _trap_hist._array[0], u1) \ | |
345 nonstatic_field(MethodData, _eflags, intx) \ | 348 nonstatic_field(MethodData, _eflags, intx) \ |
346 nonstatic_field(MethodData, _arg_local, intx) \ | 349 nonstatic_field(MethodData, _arg_local, intx) \ |
347 nonstatic_field(MethodData, _arg_stack, intx) \ | 350 nonstatic_field(MethodData, _arg_stack, intx) \ |
348 nonstatic_field(MethodData, _arg_returned, intx) \ | 351 nonstatic_field(MethodData, _arg_returned, intx) \ |
352 nonstatic_field(DataLayout, _header._struct._tag, u1) \ | |
353 nonstatic_field(DataLayout, _header._struct._flags, u1) \ | |
354 nonstatic_field(DataLayout, _header._struct._bci, u2) \ | |
355 nonstatic_field(DataLayout, _cells[0], intptr_t) \ | |
349 nonstatic_field(MethodCounters, _interpreter_invocation_count, int) \ | 356 nonstatic_field(MethodCounters, _interpreter_invocation_count, int) \ |
350 nonstatic_field(MethodCounters, _interpreter_throwout_count, u2) \ | 357 nonstatic_field(MethodCounters, _interpreter_throwout_count, u2) \ |
351 nonstatic_field(MethodCounters, _number_of_breakpoints, u2) \ | 358 nonstatic_field(MethodCounters, _number_of_breakpoints, u2) \ |
352 nonstatic_field(MethodCounters, _invocation_counter, InvocationCounter) \ | 359 nonstatic_field(MethodCounters, _invocation_counter, InvocationCounter) \ |
353 nonstatic_field(MethodCounters, _backedge_counter, InvocationCounter) \ | 360 nonstatic_field(MethodCounters, _backedge_counter, InvocationCounter) \ |
355 nonstatic_field(Method, _method_data, MethodData*) \ | 362 nonstatic_field(Method, _method_data, MethodData*) \ |
356 nonstatic_field(Method, _method_counters, MethodCounters*) \ | 363 nonstatic_field(Method, _method_counters, MethodCounters*) \ |
357 nonstatic_field(Method, _access_flags, AccessFlags) \ | 364 nonstatic_field(Method, _access_flags, AccessFlags) \ |
358 nonstatic_field(Method, _vtable_index, int) \ | 365 nonstatic_field(Method, _vtable_index, int) \ |
359 nonstatic_field(Method, _method_size, u2) \ | 366 nonstatic_field(Method, _method_size, u2) \ |
367 nonstatic_field(Method, _intrinsic_id, u1) \ | |
360 nonproduct_nonstatic_field(Method, _compiled_invocation_count, int) \ | 368 nonproduct_nonstatic_field(Method, _compiled_invocation_count, int) \ |
361 volatile_nonstatic_field(Method, _code, nmethod*) \ | 369 volatile_nonstatic_field(Method, _code, nmethod*) \ |
362 nonstatic_field(Method, _i2i_entry, address) \ | 370 nonstatic_field(Method, _i2i_entry, address) \ |
363 nonstatic_field(Method, _adapter, AdapterHandlerEntry*) \ | 371 nonstatic_field(Method, _adapter, AdapterHandlerEntry*) \ |
364 volatile_nonstatic_field(Method, _from_compiled_entry, address) \ | 372 volatile_nonstatic_field(Method, _from_compiled_entry, address) \ |
441 static_field(Universe, _collectedHeap, CollectedHeap*) \ | 449 static_field(Universe, _collectedHeap, CollectedHeap*) \ |
442 static_field(Universe, _base_vtable_size, int) \ | 450 static_field(Universe, _base_vtable_size, int) \ |
443 static_field(Universe, _bootstrapping, bool) \ | 451 static_field(Universe, _bootstrapping, bool) \ |
444 static_field(Universe, _fully_initialized, bool) \ | 452 static_field(Universe, _fully_initialized, bool) \ |
445 static_field(Universe, _verify_count, int) \ | 453 static_field(Universe, _verify_count, int) \ |
454 static_field(Universe, _non_oop_bits, intptr_t) \ | |
446 static_field(Universe, _narrow_oop._base, address) \ | 455 static_field(Universe, _narrow_oop._base, address) \ |
447 static_field(Universe, _narrow_oop._shift, int) \ | 456 static_field(Universe, _narrow_oop._shift, int) \ |
448 static_field(Universe, _narrow_oop._use_implicit_null_checks, bool) \ | 457 static_field(Universe, _narrow_oop._use_implicit_null_checks, bool) \ |
449 static_field(Universe, _narrow_klass._base, address) \ | 458 static_field(Universe, _narrow_klass._base, address) \ |
450 static_field(Universe, _narrow_klass._shift, int) \ | 459 static_field(Universe, _narrow_klass._shift, int) \ |
451 \ | 460 \ |
461 /******/ \ | |
462 /* os */ \ | |
463 /******/ \ | |
464 \ | |
465 static_field(os, _polling_page, address) \ | |
466 \ | |
452 /**********************************************************************************/ \ | 467 /**********************************************************************************/ \ |
453 /* Generation and Space hierarchies */ \ | 468 /* Generation and Space hierarchies */ \ |
454 /**********************************************************************************/ \ | 469 /**********************************************************************************/ \ |
455 \ | 470 \ |
456 unchecked_nonstatic_field(ageTable, sizes, sizeof(ageTable::sizes)) \ | 471 unchecked_nonstatic_field(ageTable, sizes, sizeof(ageTable::sizes)) \ |
457 \ | 472 \ |
458 nonstatic_field(BarrierSet, _max_covered_regions, int) \ | 473 nonstatic_field(BarrierSet, _max_covered_regions, int) \ |
474 nonstatic_field(BarrierSet, _kind, BarrierSet::Name) \ | |
459 nonstatic_field(BlockOffsetTable, _bottom, HeapWord*) \ | 475 nonstatic_field(BlockOffsetTable, _bottom, HeapWord*) \ |
460 nonstatic_field(BlockOffsetTable, _end, HeapWord*) \ | 476 nonstatic_field(BlockOffsetTable, _end, HeapWord*) \ |
461 \ | 477 \ |
462 nonstatic_field(BlockOffsetSharedArray, _reserved, MemRegion) \ | 478 nonstatic_field(BlockOffsetSharedArray, _reserved, MemRegion) \ |
463 nonstatic_field(BlockOffsetSharedArray, _end, HeapWord*) \ | 479 nonstatic_field(BlockOffsetSharedArray, _end, HeapWord*) \ |
493 \ | 509 \ |
494 nonstatic_field(CollectedHeap, _reserved, MemRegion) \ | 510 nonstatic_field(CollectedHeap, _reserved, MemRegion) \ |
495 nonstatic_field(CollectedHeap, _barrier_set, BarrierSet*) \ | 511 nonstatic_field(CollectedHeap, _barrier_set, BarrierSet*) \ |
496 nonstatic_field(CollectedHeap, _defer_initial_card_mark, bool) \ | 512 nonstatic_field(CollectedHeap, _defer_initial_card_mark, bool) \ |
497 nonstatic_field(CollectedHeap, _is_gc_active, bool) \ | 513 nonstatic_field(CollectedHeap, _is_gc_active, bool) \ |
514 nonstatic_field(CollectedHeap, _total_collections, unsigned int) \ | |
498 nonstatic_field(CompactibleSpace, _compaction_top, HeapWord*) \ | 515 nonstatic_field(CompactibleSpace, _compaction_top, HeapWord*) \ |
499 nonstatic_field(CompactibleSpace, _first_dead, HeapWord*) \ | 516 nonstatic_field(CompactibleSpace, _first_dead, HeapWord*) \ |
500 nonstatic_field(CompactibleSpace, _end_of_live, HeapWord*) \ | 517 nonstatic_field(CompactibleSpace, _end_of_live, HeapWord*) \ |
501 \ | 518 \ |
502 \ | 519 \ |
503 nonstatic_field(ContiguousSpace, _top, HeapWord*) \ | 520 nonstatic_field(ContiguousSpace, _top, HeapWord*) \ |
504 nonstatic_field(ContiguousSpace, _concurrent_iteration_safe_limit, HeapWord*) \ | 521 nonstatic_field(ContiguousSpace, _concurrent_iteration_safe_limit, HeapWord*) \ |
505 nonstatic_field(ContiguousSpace, _saved_mark_word, HeapWord*) \ | 522 nonstatic_field(ContiguousSpace, _saved_mark_word, HeapWord*) \ |
506 \ | 523 \ |
507 nonstatic_field(DefNewGeneration, _next_gen, Generation*) \ | 524 nonstatic_field(DefNewGeneration, _next_gen, Generation*) \ |
508 nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ | 525 nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ |
509 nonstatic_field(DefNewGeneration, _age_table, ageTable) \ | 526 nonstatic_field(DefNewGeneration, _age_table, ageTable) \ |
510 nonstatic_field(DefNewGeneration, _eden_space, EdenSpace*) \ | 527 nonstatic_field(DefNewGeneration, _eden_space, EdenSpace*) \ |
511 nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ | 528 nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ |
512 nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) \ | 529 nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) \ |
513 \ | 530 \ |
550 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ | 567 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ |
551 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ | 568 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ |
552 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ | 569 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ |
553 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ | 570 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ |
554 static_field(ThreadLocalAllocBuffer, _target_refills, unsigned) \ | 571 static_field(ThreadLocalAllocBuffer, _target_refills, unsigned) \ |
572 nonstatic_field(ThreadLocalAllocBuffer, _number_of_refills, unsigned) \ | |
573 nonstatic_field(ThreadLocalAllocBuffer, _fast_refill_waste, unsigned) \ | |
574 nonstatic_field(ThreadLocalAllocBuffer, _slow_refill_waste, unsigned) \ | |
575 nonstatic_field(ThreadLocalAllocBuffer, _gc_waste, unsigned) \ | |
576 nonstatic_field(ThreadLocalAllocBuffer, _slow_allocations, unsigned) \ | |
555 nonstatic_field(VirtualSpace, _low_boundary, char*) \ | 577 nonstatic_field(VirtualSpace, _low_boundary, char*) \ |
556 nonstatic_field(VirtualSpace, _high_boundary, char*) \ | 578 nonstatic_field(VirtualSpace, _high_boundary, char*) \ |
557 nonstatic_field(VirtualSpace, _low, char*) \ | 579 nonstatic_field(VirtualSpace, _low, char*) \ |
558 nonstatic_field(VirtualSpace, _high, char*) \ | 580 nonstatic_field(VirtualSpace, _high, char*) \ |
559 nonstatic_field(VirtualSpace, _lower_high, char*) \ | 581 nonstatic_field(VirtualSpace, _lower_high, char*) \ |
711 nonstatic_field(ClassLoaderData, _class_loader, oop) \ | 733 nonstatic_field(ClassLoaderData, _class_loader, oop) \ |
712 nonstatic_field(ClassLoaderData, _next, ClassLoaderData*) \ | 734 nonstatic_field(ClassLoaderData, _next, ClassLoaderData*) \ |
713 \ | 735 \ |
714 static_field(ClassLoaderDataGraph, _head, ClassLoaderData*) \ | 736 static_field(ClassLoaderDataGraph, _head, ClassLoaderData*) \ |
715 \ | 737 \ |
738 /**********/ \ | |
739 /* Arrays */ \ | |
740 /**********/ \ | |
741 \ | |
742 nonstatic_field(Array<Klass*>, _length, int) \ | |
743 nonstatic_field(Array<Klass*>, _data[0], Klass*) \ | |
744 \ | |
716 /*******************/ \ | 745 /*******************/ \ |
717 /* GrowableArrays */ \ | 746 /* GrowableArrays */ \ |
718 /*******************/ \ | 747 /*******************/ \ |
719 \ | 748 \ |
720 nonstatic_field(GenericGrowableArray, _len, int) \ | 749 nonstatic_field(GenericGrowableArray, _len, int) \ |
721 nonstatic_field(GenericGrowableArray, _max, int) \ | 750 nonstatic_field(GenericGrowableArray, _max, int) \ |
722 nonstatic_field(GenericGrowableArray, _arena, Arena*) \ | 751 nonstatic_field(GenericGrowableArray, _arena, Arena*) \ |
723 nonstatic_field(GrowableArray<int>, _data, int*) \ | 752 nonstatic_field(GrowableArray<int>, _data, int*) \ |
724 \ | 753 \ |
725 /********************************/ \ | 754 /********************************/ \ |
726 /* CodeCache (NOTE: incomplete) */ \ | 755 /* CodeCache (NOTE: incomplete) */ \ |
727 /********************************/ \ | 756 /********************************/ \ |
728 \ | 757 \ |
761 \ | 790 \ |
762 /***********************************/ \ | 791 /***********************************/ \ |
763 /* StubRoutines (NOTE: incomplete) */ \ | 792 /* StubRoutines (NOTE: incomplete) */ \ |
764 /***********************************/ \ | 793 /***********************************/ \ |
765 \ | 794 \ |
795 static_field(StubRoutines, _verify_oop_count, jint) \ | |
766 static_field(StubRoutines, _call_stub_return_address, address) \ | 796 static_field(StubRoutines, _call_stub_return_address, address) \ |
797 static_field(StubRoutines, _aescrypt_encryptBlock, address) \ | |
798 static_field(StubRoutines, _aescrypt_decryptBlock, address) \ | |
799 static_field(StubRoutines, _cipherBlockChaining_encryptAESCrypt, address) \ | |
800 static_field(StubRoutines, _cipherBlockChaining_decryptAESCrypt, address) \ | |
801 static_field(StubRoutines, _updateBytesCRC32, address) \ | |
802 static_field(StubRoutines, _crc_table_adr, address) \ | |
803 \ | |
804 /*****************/ \ | |
805 /* SharedRuntime */ \ | |
806 /*****************/ \ | |
807 \ | |
808 static_field(SharedRuntime, _ic_miss_blob, RuntimeStub*) \ | |
767 \ | 809 \ |
768 /***************************************/ \ | 810 /***************************************/ \ |
769 /* PcDesc and other compiled code info */ \ | 811 /* PcDesc and other compiled code info */ \ |
770 /***************************************/ \ | 812 /***************************************/ \ |
771 \ | 813 \ |
851 nonstatic_field(ThreadShadow, _exception_file, const char*) \ | 893 nonstatic_field(ThreadShadow, _exception_file, const char*) \ |
852 nonstatic_field(ThreadShadow, _exception_line, int) \ | 894 nonstatic_field(ThreadShadow, _exception_line, int) \ |
853 volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \ | 895 volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \ |
854 nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \ | 896 nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \ |
855 nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ | 897 nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ |
898 nonstatic_field(Thread, _allocated_bytes, jlong) \ | |
856 nonstatic_field(Thread, _current_pending_monitor, ObjectMonitor*) \ | 899 nonstatic_field(Thread, _current_pending_monitor, ObjectMonitor*) \ |
857 nonstatic_field(Thread, _current_pending_monitor_is_from_java, bool) \ | 900 nonstatic_field(Thread, _current_pending_monitor_is_from_java, bool) \ |
858 nonstatic_field(Thread, _current_waiting_monitor, ObjectMonitor*) \ | 901 nonstatic_field(Thread, _current_waiting_monitor, ObjectMonitor*) \ |
859 nonstatic_field(NamedThread, _name, char*) \ | 902 nonstatic_field(NamedThread, _name, char*) \ |
860 nonstatic_field(NamedThread, _processed_thread, JavaThread*) \ | 903 nonstatic_field(NamedThread, _processed_thread, JavaThread*) \ |
864 nonstatic_field(JavaThread, _vm_result, oop) \ | 907 nonstatic_field(JavaThread, _vm_result, oop) \ |
865 nonstatic_field(JavaThread, _vm_result_2, Metadata*) \ | 908 nonstatic_field(JavaThread, _vm_result_2, Metadata*) \ |
866 nonstatic_field(JavaThread, _pending_async_exception, oop) \ | 909 nonstatic_field(JavaThread, _pending_async_exception, oop) \ |
867 volatile_nonstatic_field(JavaThread, _exception_oop, oop) \ | 910 volatile_nonstatic_field(JavaThread, _exception_oop, oop) \ |
868 volatile_nonstatic_field(JavaThread, _exception_pc, address) \ | 911 volatile_nonstatic_field(JavaThread, _exception_pc, address) \ |
912 volatile_nonstatic_field(JavaThread, _is_method_handle_return, int) \ | |
869 nonstatic_field(JavaThread, _is_compiling, bool) \ | 913 nonstatic_field(JavaThread, _is_compiling, bool) \ |
870 nonstatic_field(JavaThread, _special_runtime_exit_condition, JavaThread::AsyncRequests) \ | 914 nonstatic_field(JavaThread, _special_runtime_exit_condition, JavaThread::AsyncRequests) \ |
871 nonstatic_field(JavaThread, _saved_exception_pc, address) \ | 915 nonstatic_field(JavaThread, _saved_exception_pc, address) \ |
872 volatile_nonstatic_field(JavaThread, _thread_state, JavaThreadState) \ | 916 volatile_nonstatic_field(JavaThread, _thread_state, JavaThreadState) \ |
873 nonstatic_field(JavaThread, _osthread, OSThread*) \ | 917 nonstatic_field(JavaThread, _osthread, OSThread*) \ |
874 nonstatic_field(JavaThread, _stack_base, address) \ | 918 nonstatic_field(JavaThread, _stack_base, address) \ |
875 nonstatic_field(JavaThread, _stack_size, size_t) \ | 919 nonstatic_field(JavaThread, _stack_size, size_t) \ |
876 nonstatic_field(JavaThread, _vframe_array_head, vframeArray*) \ | 920 nonstatic_field(JavaThread, _vframe_array_head, vframeArray*) \ |
877 nonstatic_field(JavaThread, _vframe_array_last, vframeArray*) \ | 921 nonstatic_field(JavaThread, _vframe_array_last, vframeArray*) \ |
922 nonstatic_field(JavaThread, _satb_mark_queue, ObjPtrQueue) \ | |
923 nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \ | |
878 nonstatic_field(Thread, _resource_area, ResourceArea*) \ | 924 nonstatic_field(Thread, _resource_area, ResourceArea*) \ |
879 nonstatic_field(CompilerThread, _env, ciEnv*) \ | 925 nonstatic_field(CompilerThread, _env, ciEnv*) \ |
880 \ | 926 \ |
881 /************/ \ | 927 /************/ \ |
882 /* OSThread */ \ | 928 /* OSThread */ \ |
1185 \ | 1231 \ |
1186 nonstatic_field(Array<int>, _length, int) \ | 1232 nonstatic_field(Array<int>, _length, int) \ |
1187 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ | 1233 unchecked_nonstatic_field(Array<int>, _data, sizeof(int)) \ |
1188 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ | 1234 unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ |
1189 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ | 1235 unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ |
1190 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ | 1236 unchecked_nonstatic_field(Array<Method*>, _data, sizeof(Method*)) \ |
1191 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ | 1237 unchecked_nonstatic_field(Array<Klass*>, _data, sizeof(Klass*)) \ |
1192 \ | 1238 \ |
1193 /*********************************/ \ | 1239 /*********************************/ \ |
1194 /* java_lang_Class fields */ \ | 1240 /* java_lang_Class fields */ \ |
1195 /*********************************/ \ | 1241 /*********************************/ \ |
1201 \ | 1247 \ |
1202 /************************/ \ | 1248 /************************/ \ |
1203 /* Miscellaneous fields */ \ | 1249 /* Miscellaneous fields */ \ |
1204 /************************/ \ | 1250 /************************/ \ |
1205 \ | 1251 \ |
1206 nonstatic_field(CompileTask, _method, Method*) \ | 1252 nonstatic_field(CompileTask, _method, Method*) \ |
1207 nonstatic_field(CompileTask, _osr_bci, int) \ | 1253 nonstatic_field(CompileTask, _osr_bci, int) \ |
1208 nonstatic_field(CompileTask, _comp_level, int) \ | 1254 nonstatic_field(CompileTask, _comp_level, int) \ |
1209 nonstatic_field(CompileTask, _compile_id, uint) \ | 1255 nonstatic_field(CompileTask, _compile_id, uint) \ |
1210 nonstatic_field(CompileTask, _next, CompileTask*) \ | 1256 nonstatic_field(CompileTask, _next, CompileTask*) \ |
1211 nonstatic_field(CompileTask, _prev, CompileTask*) \ | 1257 nonstatic_field(CompileTask, _prev, CompileTask*) \ |
1215 nonstatic_field(vframeArray, _caller, frame) \ | 1261 nonstatic_field(vframeArray, _caller, frame) \ |
1216 nonstatic_field(vframeArray, _frames, int) \ | 1262 nonstatic_field(vframeArray, _frames, int) \ |
1217 \ | 1263 \ |
1218 nonstatic_field(vframeArrayElement, _frame, frame) \ | 1264 nonstatic_field(vframeArrayElement, _frame, frame) \ |
1219 nonstatic_field(vframeArrayElement, _bci, int) \ | 1265 nonstatic_field(vframeArrayElement, _bci, int) \ |
1220 nonstatic_field(vframeArrayElement, _method, Method*) \ | 1266 nonstatic_field(vframeArrayElement, _method, Method*) \ |
1267 \ | |
1268 nonstatic_field(PtrQueue, _active, bool) \ | |
1269 nonstatic_field(PtrQueue, _buf, void**) \ | |
1270 nonstatic_field(PtrQueue, _index, size_t) \ | |
1221 \ | 1271 \ |
1222 nonstatic_field(AccessFlags, _flags, jint) \ | 1272 nonstatic_field(AccessFlags, _flags, jint) \ |
1223 nonstatic_field(elapsedTimer, _counter, jlong) \ | 1273 nonstatic_field(elapsedTimer, _counter, jlong) \ |
1224 nonstatic_field(elapsedTimer, _active, bool) \ | 1274 nonstatic_field(elapsedTimer, _active, bool) \ |
1225 nonstatic_field(InvocationCounter, _counter, unsigned int) \ | 1275 nonstatic_field(InvocationCounter, _counter, unsigned int) \ |
1361 \ | 1411 \ |
1362 /**************************************************/ \ | 1412 /**************************************************/ \ |
1363 /* MetadataOopDesc hierarchy (NOTE: some missing) */ \ | 1413 /* MetadataOopDesc hierarchy (NOTE: some missing) */ \ |
1364 /**************************************************/ \ | 1414 /**************************************************/ \ |
1365 \ | 1415 \ |
1366 declare_toplevel_type(CompiledICHolder) \ | 1416 declare_toplevel_type(CompiledICHolder) \ |
1367 declare_toplevel_type(MetaspaceObj) \ | 1417 declare_toplevel_type(MetaspaceObj) \ |
1368 declare_type(Metadata, MetaspaceObj) \ | 1418 declare_type(Metadata, MetaspaceObj) \ |
1369 declare_type(Klass, Metadata) \ | 1419 declare_type(Klass, Metadata) \ |
1370 declare_type(ArrayKlass, Klass) \ | 1420 declare_type(ArrayKlass, Klass) \ |
1371 declare_type(ObjArrayKlass, ArrayKlass) \ | 1421 declare_type(ObjArrayKlass, ArrayKlass) \ |
1372 declare_type(TypeArrayKlass, ArrayKlass) \ | 1422 declare_type(TypeArrayKlass, ArrayKlass) \ |
1373 declare_type(InstanceKlass, Klass) \ | 1423 declare_type(InstanceKlass, Klass) \ |
1374 declare_type(InstanceClassLoaderKlass, InstanceKlass) \ | 1424 declare_type(InstanceClassLoaderKlass, InstanceKlass) \ |
1375 declare_type(InstanceMirrorKlass, InstanceKlass) \ | 1425 declare_type(InstanceMirrorKlass, InstanceKlass) \ |
1376 declare_type(InstanceRefKlass, InstanceKlass) \ | 1426 declare_type(InstanceRefKlass, InstanceKlass) \ |
1377 declare_type(ConstantPool, Metadata) \ | 1427 declare_type(ConstantPool, Metadata) \ |
1378 declare_type(ConstantPoolCache, MetaspaceObj) \ | 1428 declare_type(ConstantPoolCache, MetaspaceObj) \ |
1379 declare_type(MethodData, Metadata) \ | 1429 declare_type(MethodData, Metadata) \ |
1380 declare_type(Method, Metadata) \ | 1430 declare_type(Method, Metadata) \ |
1381 declare_type(MethodCounters, MetaspaceObj) \ | 1431 declare_type(MethodCounters, MetaspaceObj) \ |
1382 declare_type(ConstMethod, MetaspaceObj) \ | 1432 declare_type(ConstMethod, MetaspaceObj) \ |
1433 \ | |
1434 declare_toplevel_type(vtableEntry) \ | |
1383 \ | 1435 \ |
1384 declare_toplevel_type(Symbol) \ | 1436 declare_toplevel_type(Symbol) \ |
1385 declare_toplevel_type(Symbol*) \ | 1437 declare_toplevel_type(Symbol*) \ |
1386 declare_toplevel_type(volatile Metadata*) \ | 1438 declare_toplevel_type(volatile Metadata*) \ |
1387 \ | 1439 \ |
1440 declare_toplevel_type(DataLayout) \ | |
1388 declare_toplevel_type(nmethodBucket) \ | 1441 declare_toplevel_type(nmethodBucket) \ |
1389 \ | 1442 \ |
1390 /********/ \ | 1443 /********/ \ |
1391 /* Oops */ \ | 1444 /* Oops */ \ |
1392 /********/ \ | 1445 /********/ \ |
1430 declare_type(TenuredSpace, OffsetTableContigSpace) \ | 1483 declare_type(TenuredSpace, OffsetTableContigSpace) \ |
1431 declare_toplevel_type(BarrierSet) \ | 1484 declare_toplevel_type(BarrierSet) \ |
1432 declare_type(ModRefBarrierSet, BarrierSet) \ | 1485 declare_type(ModRefBarrierSet, BarrierSet) \ |
1433 declare_type(CardTableModRefBS, ModRefBarrierSet) \ | 1486 declare_type(CardTableModRefBS, ModRefBarrierSet) \ |
1434 declare_type(CardTableModRefBSForCTRS, CardTableModRefBS) \ | 1487 declare_type(CardTableModRefBSForCTRS, CardTableModRefBS) \ |
1488 declare_toplevel_type(BarrierSet::Name) \ | |
1435 declare_toplevel_type(GenRemSet) \ | 1489 declare_toplevel_type(GenRemSet) \ |
1436 declare_type(CardTableRS, GenRemSet) \ | 1490 declare_type(CardTableRS, GenRemSet) \ |
1437 declare_toplevel_type(BlockOffsetSharedArray) \ | 1491 declare_toplevel_type(BlockOffsetSharedArray) \ |
1438 declare_toplevel_type(BlockOffsetTable) \ | 1492 declare_toplevel_type(BlockOffsetTable) \ |
1439 declare_type(BlockOffsetArray, BlockOffsetTable) \ | 1493 declare_type(BlockOffsetArray, BlockOffsetTable) \ |
1448 declare_toplevel_type(HeapWord) \ | 1502 declare_toplevel_type(HeapWord) \ |
1449 declare_toplevel_type(MemRegion) \ | 1503 declare_toplevel_type(MemRegion) \ |
1450 declare_toplevel_type(ThreadLocalAllocBuffer) \ | 1504 declare_toplevel_type(ThreadLocalAllocBuffer) \ |
1451 declare_toplevel_type(VirtualSpace) \ | 1505 declare_toplevel_type(VirtualSpace) \ |
1452 declare_toplevel_type(WaterMark) \ | 1506 declare_toplevel_type(WaterMark) \ |
1507 declare_toplevel_type(ObjPtrQueue) \ | |
1508 declare_toplevel_type(DirtyCardQueue) \ | |
1453 \ | 1509 \ |
1454 /* Pointers to Garbage Collection types */ \ | 1510 /* Pointers to Garbage Collection types */ \ |
1455 \ | 1511 \ |
1456 declare_toplevel_type(BarrierSet*) \ | 1512 declare_toplevel_type(BarrierSet*) \ |
1457 declare_toplevel_type(BlockOffsetSharedArray*) \ | 1513 declare_toplevel_type(BlockOffsetSharedArray*) \ |
2066 declare_toplevel_type(OSThread*) \ | 2122 declare_toplevel_type(OSThread*) \ |
2067 declare_integer_type(ReferenceType) \ | 2123 declare_integer_type(ReferenceType) \ |
2068 declare_toplevel_type(StubQueue*) \ | 2124 declare_toplevel_type(StubQueue*) \ |
2069 declare_toplevel_type(Thread*) \ | 2125 declare_toplevel_type(Thread*) \ |
2070 declare_toplevel_type(Universe) \ | 2126 declare_toplevel_type(Universe) \ |
2127 declare_toplevel_type(os) \ | |
2071 declare_toplevel_type(vframeArray) \ | 2128 declare_toplevel_type(vframeArray) \ |
2072 declare_toplevel_type(vframeArrayElement) \ | 2129 declare_toplevel_type(vframeArrayElement) \ |
2073 declare_toplevel_type(Annotations*) \ | 2130 declare_toplevel_type(Annotations*) \ |
2074 \ | 2131 \ |
2075 /***************/ \ | 2132 /***************/ \ |
2076 /* Miscellaneous types */ \ | 2133 /* Miscellaneous types */ \ |
2077 /***************/ \ | 2134 /***************/ \ |
2135 \ | |
2136 declare_toplevel_type(PtrQueue) \ | |
2078 \ | 2137 \ |
2079 /* freelist */ \ | 2138 /* freelist */ \ |
2080 declare_toplevel_type(FreeChunk*) \ | 2139 declare_toplevel_type(FreeChunk*) \ |
2081 declare_toplevel_type(Metablock*) \ | 2140 declare_toplevel_type(Metablock*) \ |
2082 declare_toplevel_type(FreeBlockDictionary<FreeChunk>*) \ | 2141 declare_toplevel_type(FreeBlockDictionary<FreeChunk>*) \ |
2104 \ | 2163 \ |
2105 /******************/ \ | 2164 /******************/ \ |
2106 /* Useful globals */ \ | 2165 /* Useful globals */ \ |
2107 /******************/ \ | 2166 /******************/ \ |
2108 \ | 2167 \ |
2168 declare_preprocessor_constant("ASSERT", DEBUG_ONLY(1) NOT_DEBUG(0)) \ | |
2109 \ | 2169 \ |
2110 /**************/ \ | 2170 /**************/ \ |
2111 /* Stack bias */ \ | 2171 /* Stack bias */ \ |
2112 /**************/ \ | 2172 /**************/ \ |
2113 \ | 2173 \ |
2120 declare_constant(oopSize) \ | 2180 declare_constant(oopSize) \ |
2121 declare_constant(LogBytesPerWord) \ | 2181 declare_constant(LogBytesPerWord) \ |
2122 declare_constant(BytesPerWord) \ | 2182 declare_constant(BytesPerWord) \ |
2123 declare_constant(BytesPerLong) \ | 2183 declare_constant(BytesPerLong) \ |
2124 \ | 2184 \ |
2185 declare_constant(LogKlassAlignmentInBytes) \ | |
2186 \ | |
2125 /********************************************/ \ | 2187 /********************************************/ \ |
2126 /* Generation and Space Hierarchy Constants */ \ | 2188 /* Generation and Space Hierarchy Constants */ \ |
2127 /********************************************/ \ | 2189 /********************************************/ \ |
2128 \ | 2190 \ |
2129 declare_constant(ageTable::table_size) \ | 2191 declare_constant(ageTable::table_size) \ |
2130 \ | 2192 \ |
2131 declare_constant(BarrierSet::ModRef) \ | 2193 declare_constant(BarrierSet::ModRef) \ |
2132 declare_constant(BarrierSet::CardTableModRef) \ | 2194 declare_constant(BarrierSet::CardTableModRef) \ |
2195 declare_constant(BarrierSet::CardTableExtension) \ | |
2196 declare_constant(BarrierSet::G1SATBCT) \ | |
2197 declare_constant(BarrierSet::G1SATBCTLogging) \ | |
2133 declare_constant(BarrierSet::Other) \ | 2198 declare_constant(BarrierSet::Other) \ |
2134 \ | 2199 \ |
2135 declare_constant(BlockOffsetSharedArray::LogN) \ | 2200 declare_constant(BlockOffsetSharedArray::LogN) \ |
2136 declare_constant(BlockOffsetSharedArray::LogN_words) \ | 2201 declare_constant(BlockOffsetSharedArray::LogN_words) \ |
2137 declare_constant(BlockOffsetSharedArray::N_bytes) \ | 2202 declare_constant(BlockOffsetSharedArray::N_bytes) \ |
2246 /******************************/ \ | 2311 /******************************/ \ |
2247 \ | 2312 \ |
2248 declare_constant(Klass::_primary_super_limit) \ | 2313 declare_constant(Klass::_primary_super_limit) \ |
2249 declare_constant(Klass::_lh_instance_slow_path_bit) \ | 2314 declare_constant(Klass::_lh_instance_slow_path_bit) \ |
2250 declare_constant(Klass::_lh_log2_element_size_shift) \ | 2315 declare_constant(Klass::_lh_log2_element_size_shift) \ |
2316 declare_constant(Klass::_lh_log2_element_size_mask) \ | |
2251 declare_constant(Klass::_lh_element_type_shift) \ | 2317 declare_constant(Klass::_lh_element_type_shift) \ |
2318 declare_constant(Klass::_lh_element_type_mask) \ | |
2252 declare_constant(Klass::_lh_header_size_shift) \ | 2319 declare_constant(Klass::_lh_header_size_shift) \ |
2320 declare_constant(Klass::_lh_header_size_mask) \ | |
2253 declare_constant(Klass::_lh_array_tag_shift) \ | 2321 declare_constant(Klass::_lh_array_tag_shift) \ |
2254 declare_constant(Klass::_lh_array_tag_type_value) \ | 2322 declare_constant(Klass::_lh_array_tag_type_value) \ |
2255 declare_constant(Klass::_lh_array_tag_obj_value) \ | 2323 declare_constant(Klass::_lh_array_tag_obj_value) \ |
2256 \ | 2324 \ |
2257 /********************************/ \ | 2325 /********************************/ \ |
2265 declare_constant(ConstMethod::_has_generic_signature) \ | 2333 declare_constant(ConstMethod::_has_generic_signature) \ |
2266 declare_constant(ConstMethod::_has_method_annotations) \ | 2334 declare_constant(ConstMethod::_has_method_annotations) \ |
2267 declare_constant(ConstMethod::_has_parameter_annotations) \ | 2335 declare_constant(ConstMethod::_has_parameter_annotations) \ |
2268 declare_constant(ConstMethod::_has_default_annotations) \ | 2336 declare_constant(ConstMethod::_has_default_annotations) \ |
2269 declare_constant(ConstMethod::_has_type_annotations) \ | 2337 declare_constant(ConstMethod::_has_type_annotations) \ |
2338 \ | |
2339 /**************/ \ | |
2340 /* DataLayout */ \ | |
2341 /**************/ \ | |
2342 \ | |
2343 declare_constant(DataLayout::cell_size) \ | |
2270 \ | 2344 \ |
2271 /*************************************/ \ | 2345 /*************************************/ \ |
2272 /* InstanceKlass enum */ \ | 2346 /* InstanceKlass enum */ \ |
2273 /*************************************/ \ | 2347 /*************************************/ \ |
2274 \ | 2348 \ |
2400 declare_constant(Deoptimization::Reason_predicate) \ | 2474 declare_constant(Deoptimization::Reason_predicate) \ |
2401 declare_constant(Deoptimization::Reason_loop_limit_check) \ | 2475 declare_constant(Deoptimization::Reason_loop_limit_check) \ |
2402 declare_constant(Deoptimization::Reason_LIMIT) \ | 2476 declare_constant(Deoptimization::Reason_LIMIT) \ |
2403 declare_constant(Deoptimization::Reason_RECORDED_LIMIT) \ | 2477 declare_constant(Deoptimization::Reason_RECORDED_LIMIT) \ |
2404 \ | 2478 \ |
2479 declare_constant(Deoptimization::Action_none) \ | |
2480 declare_constant(Deoptimization::Action_maybe_recompile) \ | |
2481 declare_constant(Deoptimization::Action_reinterpret) \ | |
2482 declare_constant(Deoptimization::Action_make_not_entrant) \ | |
2483 declare_constant(Deoptimization::Action_make_not_compilable) \ | |
2484 declare_constant(Deoptimization::Action_LIMIT) \ | |
2485 \ | |
2405 /*********************/ \ | 2486 /*********************/ \ |
2406 /* Matcher (C2 only) */ \ | 2487 /* Matcher (C2 only) */ \ |
2407 /*********************/ \ | 2488 /*********************/ \ |
2408 \ | 2489 \ |
2409 declare_c2_preprocessor_constant("Matcher::interpreter_frame_pointer_reg", Matcher::interpreter_frame_pointer_reg()) \ | 2490 declare_c2_preprocessor_constant("Matcher::interpreter_frame_pointer_reg", Matcher::interpreter_frame_pointer_reg()) \ |
2466 /*************/ \ | 2547 /*************/ \ |
2467 \ | 2548 \ |
2468 declare_constant(vmSymbols::FIRST_SID) \ | 2549 declare_constant(vmSymbols::FIRST_SID) \ |
2469 declare_constant(vmSymbols::SID_LIMIT) \ | 2550 declare_constant(vmSymbols::SID_LIMIT) \ |
2470 \ | 2551 \ |
2552 /****************/ \ | |
2553 /* vmIntrinsics */ \ | |
2554 /****************/ \ | |
2555 \ | |
2556 declare_constant(vmIntrinsics::_invokeBasic) \ | |
2557 declare_constant(vmIntrinsics::_linkToVirtual) \ | |
2558 declare_constant(vmIntrinsics::_linkToStatic) \ | |
2559 declare_constant(vmIntrinsics::_linkToSpecial) \ | |
2560 declare_constant(vmIntrinsics::_linkToInterface) \ | |
2561 \ | |
2471 /********************************/ \ | 2562 /********************************/ \ |
2472 /* Calling convention constants */ \ | 2563 /* Calling convention constants */ \ |
2473 /********************************/ \ | 2564 /********************************/ \ |
2474 \ | 2565 \ |
2475 declare_constant(RegisterImpl::number_of_registers) \ | 2566 declare_constant(RegisterImpl::number_of_registers) \ |
2513 declare_constant(markOopDesc::biased_lock_mask) \ | 2604 declare_constant(markOopDesc::biased_lock_mask) \ |
2514 declare_constant(markOopDesc::biased_lock_mask_in_place) \ | 2605 declare_constant(markOopDesc::biased_lock_mask_in_place) \ |
2515 declare_constant(markOopDesc::biased_lock_bit_in_place) \ | 2606 declare_constant(markOopDesc::biased_lock_bit_in_place) \ |
2516 declare_constant(markOopDesc::age_mask) \ | 2607 declare_constant(markOopDesc::age_mask) \ |
2517 declare_constant(markOopDesc::age_mask_in_place) \ | 2608 declare_constant(markOopDesc::age_mask_in_place) \ |
2609 declare_constant(markOopDesc::epoch_mask) \ | |
2610 declare_constant(markOopDesc::epoch_mask_in_place) \ | |
2518 declare_constant(markOopDesc::hash_mask) \ | 2611 declare_constant(markOopDesc::hash_mask) \ |
2519 declare_constant(markOopDesc::hash_mask_in_place) \ | 2612 declare_constant(markOopDesc::hash_mask_in_place) \ |
2520 declare_constant(markOopDesc::biased_lock_alignment) \ | 2613 declare_constant(markOopDesc::biased_lock_alignment) \ |
2521 \ | 2614 \ |
2522 declare_constant(markOopDesc::locked_value) \ | 2615 declare_constant(markOopDesc::locked_value) \ |