Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/vmStructs.cpp @ 12559:ae412befde21
read HotSpotVMConfig fields from HotSpot's vmStructs via annotations
author | twisti |
---|---|
date | Wed, 23 Oct 2013 19:50:14 -0700 |
parents | cefad50507d8 |
children | f6c511451e4a |
comparison
equal
deleted
inserted
replaced
12558:5de6526474bb | 12559:ae412befde21 |
---|---|
561 \ | 561 \ |
562 \ | 562 \ |
563 nonstatic_field(Space, _bottom, HeapWord*) \ | 563 nonstatic_field(Space, _bottom, HeapWord*) \ |
564 nonstatic_field(Space, _end, HeapWord*) \ | 564 nonstatic_field(Space, _end, HeapWord*) \ |
565 \ | 565 \ |
566 static_field(HeapRegion, LogOfHRGrainBytes, int) \ | |
567 \ | |
566 nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \ | 568 nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \ |
567 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ | 569 nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ |
568 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ | 570 nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ |
569 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ | 571 nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ |
570 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ | 572 nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ |
888 static_field(Threads, _number_of_threads, int) \ | 890 static_field(Threads, _number_of_threads, int) \ |
889 static_field(Threads, _number_of_non_daemon_threads, int) \ | 891 static_field(Threads, _number_of_non_daemon_threads, int) \ |
890 static_field(Threads, _return_code, int) \ | 892 static_field(Threads, _return_code, int) \ |
891 \ | 893 \ |
892 nonstatic_field(ThreadShadow, _pending_exception, oop) \ | 894 nonstatic_field(ThreadShadow, _pending_exception, oop) \ |
895 nonstatic_field(ThreadShadow, _pending_deoptimization, int) \ | |
893 nonstatic_field(ThreadShadow, _exception_file, const char*) \ | 896 nonstatic_field(ThreadShadow, _exception_file, const char*) \ |
894 nonstatic_field(ThreadShadow, _exception_line, int) \ | 897 nonstatic_field(ThreadShadow, _exception_line, int) \ |
895 volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \ | 898 volatile_nonstatic_field(Thread, _suspend_flags, uint32_t) \ |
896 nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \ | 899 nonstatic_field(Thread, _active_handles, JNIHandleBlock*) \ |
897 nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ | 900 nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ |
1241 \ | 1244 \ |
1242 static_field(java_lang_Class, _klass_offset, int) \ | 1245 static_field(java_lang_Class, _klass_offset, int) \ |
1243 static_field(java_lang_Class, _array_klass_offset, int) \ | 1246 static_field(java_lang_Class, _array_klass_offset, int) \ |
1244 static_field(java_lang_Class, _oop_size_offset, int) \ | 1247 static_field(java_lang_Class, _oop_size_offset, int) \ |
1245 static_field(java_lang_Class, _static_oop_field_count_offset, int) \ | 1248 static_field(java_lang_Class, _static_oop_field_count_offset, int) \ |
1249 GRAAL_ONLY(static_field(java_lang_Class, _graal_mirror_offset, int)) \ | |
1246 \ | 1250 \ |
1247 /************************/ \ | 1251 /************************/ \ |
1248 /* Miscellaneous fields */ \ | 1252 /* Miscellaneous fields */ \ |
1249 /************************/ \ | 1253 /************************/ \ |
1250 \ | 1254 \ |
1480 declare_type(CompactibleSpace, Space) \ | 1484 declare_type(CompactibleSpace, Space) \ |
1481 declare_type(ContiguousSpace, CompactibleSpace) \ | 1485 declare_type(ContiguousSpace, CompactibleSpace) \ |
1482 declare_type(EdenSpace, ContiguousSpace) \ | 1486 declare_type(EdenSpace, ContiguousSpace) \ |
1483 declare_type(OffsetTableContigSpace, ContiguousSpace) \ | 1487 declare_type(OffsetTableContigSpace, ContiguousSpace) \ |
1484 declare_type(TenuredSpace, OffsetTableContigSpace) \ | 1488 declare_type(TenuredSpace, OffsetTableContigSpace) \ |
1489 declare_type(G1OffsetTableContigSpace, ContiguousSpace) \ | |
1490 declare_type(HeapRegion, G1OffsetTableContigSpace) \ | |
1485 declare_toplevel_type(BarrierSet) \ | 1491 declare_toplevel_type(BarrierSet) \ |
1486 declare_type(ModRefBarrierSet, BarrierSet) \ | 1492 declare_type(ModRefBarrierSet, BarrierSet) \ |
1487 declare_type(CardTableModRefBS, ModRefBarrierSet) \ | 1493 declare_type(CardTableModRefBS, ModRefBarrierSet) \ |
1488 declare_type(CardTableModRefBSForCTRS, CardTableModRefBS) \ | 1494 declare_type(CardTableModRefBSForCTRS, CardTableModRefBS) \ |
1489 declare_toplevel_type(BarrierSet::Name) \ | 1495 declare_toplevel_type(BarrierSet::Name) \ |