33 #define VM_STRUCTS_G1(nonstatic_field, static_field) \ |
33 #define VM_STRUCTS_G1(nonstatic_field, static_field) \ |
34 \ |
34 \ |
35 static_field(HeapRegion, GrainBytes, size_t) \ |
35 static_field(HeapRegion, GrainBytes, size_t) \ |
36 static_field(HeapRegion, LogOfHRGrainBytes, int) \ |
36 static_field(HeapRegion, LogOfHRGrainBytes, int) \ |
37 \ |
37 \ |
38 nonstatic_field(G1OffsetTableContigSpace, _top, HeapWord* volatile) \ |
38 nonstatic_field(G1ContiguousSpace, _top, HeapWord* volatile) \ |
39 \ |
39 \ |
40 nonstatic_field(G1HeapRegionTable, _base, address) \ |
40 nonstatic_field(G1HeapRegionTable, _base, address) \ |
41 nonstatic_field(G1HeapRegionTable, _length, size_t) \ |
41 nonstatic_field(G1HeapRegionTable, _length, size_t) \ |
42 nonstatic_field(G1HeapRegionTable, _biased_base, address) \ |
42 nonstatic_field(G1HeapRegionTable, _biased_base, address) \ |
43 nonstatic_field(G1HeapRegionTable, _bias, size_t) \ |
43 nonstatic_field(G1HeapRegionTable, _bias, size_t) \ |
94 \ |
94 \ |
95 declare_toplevel_type(G1HeapRegionTable) \ |
95 declare_toplevel_type(G1HeapRegionTable) \ |
96 \ |
96 \ |
97 declare_type(G1CollectedHeap, CollectedHeap) \ |
97 declare_type(G1CollectedHeap, CollectedHeap) \ |
98 \ |
98 \ |
99 declare_type(G1OffsetTableContigSpace, CompactibleSpace) \ |
99 declare_type(G1ContiguousSpace, CompactibleSpace) \ |
100 declare_type(HeapRegion, G1OffsetTableContigSpace) \ |
100 declare_type(HeapRegion, G1ContiguousSpace) \ |
101 declare_toplevel_type(HeapRegionManager) \ |
101 declare_toplevel_type(HeapRegionManager) \ |
102 declare_toplevel_type(HeapRegionSetBase) \ |
102 declare_toplevel_type(HeapRegionSetBase) \ |
103 declare_toplevel_type(G1MonitoringSupport) \ |
103 declare_toplevel_type(G1MonitoringSupport) \ |
104 declare_toplevel_type(PtrQueue) \ |
104 declare_toplevel_type(PtrQueue) \ |
105 \ |
105 \ |