comparison src/share/vm/gc_implementation/g1/vmStructs_g1.hpp @ 17736:58fc1b1523dc

8034079: G1: Refactor the HeapRegionSet hierarchy Reviewed-by: tschatzl, pliden
author brutisso
date Fri, 14 Mar 2014 10:15:46 +0100
parents 55fb97c4c58d
children 52b4284cb496 1526a938e670
comparison
equal deleted inserted replaced
17735:8f28240318a2 17736:58fc1b1523dc
55 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \ 55 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \
56 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \ 56 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \
57 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \ 57 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \
58 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \ 58 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \
59 \ 59 \
60 nonstatic_field(HeapRegionSetBase, _length, uint) \ 60 nonstatic_field(HeapRegionSetBase, _count, HeapRegionSetCount) \
61 nonstatic_field(HeapRegionSetBase, _region_num, uint) \ 61 \
62 nonstatic_field(HeapRegionSetBase, _total_used_bytes, size_t) \ 62 nonstatic_field(HeapRegionSetCount, _length, uint) \
63 nonstatic_field(HeapRegionSetCount, _capacity, size_t) \
63 64
64 65
65 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \ 66 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \
66 \ 67 \
67 declare_toplevel_type(G1HeapRegionTable) \ 68 declare_toplevel_type(G1HeapRegionTable) \
69 declare_type(G1CollectedHeap, SharedHeap) \ 70 declare_type(G1CollectedHeap, SharedHeap) \
70 \ 71 \
71 declare_type(HeapRegion, ContiguousSpace) \ 72 declare_type(HeapRegion, ContiguousSpace) \
72 declare_toplevel_type(HeapRegionSeq) \ 73 declare_toplevel_type(HeapRegionSeq) \
73 declare_toplevel_type(HeapRegionSetBase) \ 74 declare_toplevel_type(HeapRegionSetBase) \
75 declare_toplevel_type(HeapRegionSetCount) \
74 declare_toplevel_type(G1MonitoringSupport) \ 76 declare_toplevel_type(G1MonitoringSupport) \
75 \ 77 \
76 declare_toplevel_type(G1CollectedHeap*) \ 78 declare_toplevel_type(G1CollectedHeap*) \
77 declare_toplevel_type(HeapRegion*) \ 79 declare_toplevel_type(HeapRegion*) \
78 declare_toplevel_type(G1MonitoringSupport*) \ 80 declare_toplevel_type(G1MonitoringSupport*) \