42 nonstatic_field(G1HeapRegionTable, _biased_base, address) \
43 nonstatic_field(G1HeapRegionTable, _bias, size_t) \
44 nonstatic_field(G1HeapRegionTable, _shift_by, uint) \
45 \
46 nonstatic_field(HeapRegionManager, _regions, G1HeapRegionTable) \
47 nonstatic_field(HeapRegionManager, _num_committed, uint) \
48 \
49 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \
50 nonstatic_field(G1CollectedHeap, _hrm, HeapRegionManager) \
51 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \
52 nonstatic_field(G1CollectedHeap, _old_set, HeapRegionSetBase) \
53 nonstatic_field(G1CollectedHeap, _humongous_set, HeapRegionSetBase) \
54 \
55 nonstatic_field(G1MonitoringSupport, _eden_committed, size_t) \
56 nonstatic_field(G1MonitoringSupport, _eden_used, size_t) \
57 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \
58 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \
59 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \
60 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \
61 \
62 nonstatic_field(HeapRegionSetBase, _count, HeapRegionSetCount) \
63 \
64 nonstatic_field(HeapRegionSetCount, _length, uint) \
65 nonstatic_field(HeapRegionSetCount, _capacity, size_t) \
66 \
67 nonstatic_field(PtrQueue, _active, bool) \
68 nonstatic_field(PtrQueue, _buf, void**) \
69 nonstatic_field(PtrQueue, _index, size_t) \
70
71
72 #define VM_INT_CONSTANTS_G1(declare_constant, declare_constant_with_value) \
73 \
74 JVMCI_ONLY( \
75 declare_constant_with_value( \
76 "dirtyCardQueueBufferOffset", \
77 in_bytes(DirtyCardQueue::byte_offset_of_buf())) \
78 declare_constant_with_value( \
79 "dirtyCardQueueIndexOffset", \
80 in_bytes(DirtyCardQueue::byte_offset_of_index())) \
81 ) /* JVMCI_ONLY */ \
82 \
83 JVMCI_ONLY( \
84 declare_constant_with_value( \
85 "satbMarkQueueBufferOffset", \
86 in_bytes(SATBMarkQueue::byte_offset_of_buf())) \
87 declare_constant_with_value( \
88 "satbMarkQueueIndexOffset", \
89 in_bytes(SATBMarkQueue::byte_offset_of_index())) \
90 declare_constant_with_value( \
91 "satbMarkQueueActiveOffset", \
92 in_bytes(SATBMarkQueue::byte_offset_of_active())) \
93 ) /* JVMCI_ONLY */ \
94
95
96 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \
97 \
98 declare_toplevel_type(G1HeapRegionTable) \
99 \
100 declare_type(G1CollectedHeap, CollectedHeap) \
101 \
102 declare_type(G1OffsetTableContigSpace, CompactibleSpace) \
103 declare_type(HeapRegion, G1OffsetTableContigSpace) \
104 declare_toplevel_type(HeapRegionManager) \
105 declare_toplevel_type(HeapRegionSetBase) \
106 declare_toplevel_type(HeapRegionSetCount) \
107 declare_toplevel_type(G1MonitoringSupport) \
108 declare_toplevel_type(PtrQueue) \
109 \
110 declare_toplevel_type(G1CollectedHeap*) \
111 declare_toplevel_type(HeapRegion*) \
112 declare_toplevel_type(G1MonitoringSupport*) \
113
114 #endif // SHARE_VM_GC_G1_VMSTRUCTS_G1_HPP
|
42 nonstatic_field(G1HeapRegionTable, _biased_base, address) \
43 nonstatic_field(G1HeapRegionTable, _bias, size_t) \
44 nonstatic_field(G1HeapRegionTable, _shift_by, uint) \
45 \
46 nonstatic_field(HeapRegionManager, _regions, G1HeapRegionTable) \
47 nonstatic_field(HeapRegionManager, _num_committed, uint) \
48 \
49 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \
50 nonstatic_field(G1CollectedHeap, _hrm, HeapRegionManager) \
51 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \
52 nonstatic_field(G1CollectedHeap, _old_set, HeapRegionSetBase) \
53 nonstatic_field(G1CollectedHeap, _humongous_set, HeapRegionSetBase) \
54 \
55 nonstatic_field(G1MonitoringSupport, _eden_committed, size_t) \
56 nonstatic_field(G1MonitoringSupport, _eden_used, size_t) \
57 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \
58 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \
59 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \
60 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \
61 \
62 nonstatic_field(HeapRegionSetBase, _length, uint) \
63 \
64 nonstatic_field(PtrQueue, _active, bool) \
65 nonstatic_field(PtrQueue, _buf, void**) \
66 nonstatic_field(PtrQueue, _index, size_t) \
67
68
69 #define VM_INT_CONSTANTS_G1(declare_constant, declare_constant_with_value) \
70 \
71 JVMCI_ONLY( \
72 declare_constant_with_value( \
73 "dirtyCardQueueBufferOffset", \
74 in_bytes(DirtyCardQueue::byte_offset_of_buf())) \
75 declare_constant_with_value( \
76 "dirtyCardQueueIndexOffset", \
77 in_bytes(DirtyCardQueue::byte_offset_of_index())) \
78 ) /* JVMCI_ONLY */ \
79 \
80 JVMCI_ONLY( \
81 declare_constant_with_value( \
82 "satbMarkQueueBufferOffset", \
83 in_bytes(SATBMarkQueue::byte_offset_of_buf())) \
84 declare_constant_with_value( \
85 "satbMarkQueueIndexOffset", \
86 in_bytes(SATBMarkQueue::byte_offset_of_index())) \
87 declare_constant_with_value( \
88 "satbMarkQueueActiveOffset", \
89 in_bytes(SATBMarkQueue::byte_offset_of_active())) \
90 ) /* JVMCI_ONLY */ \
91
92
93 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \
94 \
95 declare_toplevel_type(G1HeapRegionTable) \
96 \
97 declare_type(G1CollectedHeap, CollectedHeap) \
98 \
99 declare_type(G1OffsetTableContigSpace, CompactibleSpace) \
100 declare_type(HeapRegion, G1OffsetTableContigSpace) \
101 declare_toplevel_type(HeapRegionManager) \
102 declare_toplevel_type(HeapRegionSetBase) \
103 declare_toplevel_type(G1MonitoringSupport) \
104 declare_toplevel_type(PtrQueue) \
105 \
106 declare_toplevel_type(G1CollectedHeap*) \
107 declare_toplevel_type(HeapRegion*) \
108 declare_toplevel_type(G1MonitoringSupport*) \
109
110 #endif // SHARE_VM_GC_G1_VMSTRUCTS_G1_HPP
|