32 #define VM_STRUCTS_G1(nonstatic_field, static_field) \ |
32 #define VM_STRUCTS_G1(nonstatic_field, static_field) \ |
33 \ |
33 \ |
34 static_field(HeapRegion, GrainBytes, size_t) \ |
34 static_field(HeapRegion, GrainBytes, size_t) \ |
35 \ |
35 \ |
36 nonstatic_field(HeapRegionSeq, _regions, HeapRegion**) \ |
36 nonstatic_field(HeapRegionSeq, _regions, HeapRegion**) \ |
37 nonstatic_field(HeapRegionSeq, _length, size_t) \ |
37 nonstatic_field(HeapRegionSeq, _length, uint) \ |
38 \ |
38 \ |
39 nonstatic_field(G1CollectedHeap, _hrs, HeapRegionSeq) \ |
39 nonstatic_field(G1CollectedHeap, _hrs, HeapRegionSeq) \ |
40 nonstatic_field(G1CollectedHeap, _g1_committed, MemRegion) \ |
40 nonstatic_field(G1CollectedHeap, _g1_committed, MemRegion) \ |
41 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \ |
41 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \ |
42 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \ |
42 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \ |
48 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \ |
48 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \ |
49 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \ |
49 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \ |
50 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \ |
50 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \ |
51 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \ |
51 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \ |
52 \ |
52 \ |
53 nonstatic_field(HeapRegionSetBase, _length, size_t) \ |
53 nonstatic_field(HeapRegionSetBase, _length, uint) \ |
54 nonstatic_field(HeapRegionSetBase, _region_num, size_t) \ |
54 nonstatic_field(HeapRegionSetBase, _region_num, uint) \ |
55 nonstatic_field(HeapRegionSetBase, _total_used_bytes, size_t) \ |
55 nonstatic_field(HeapRegionSetBase, _total_used_bytes, size_t) \ |
56 |
56 |
57 |
57 |
58 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \ |
58 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \ |
59 \ |
59 \ |