9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_GC_PARALLEL_VMSTRUCTS_PARALLELGC_HPP
26 #define SHARE_VM_GC_PARALLEL_VMSTRUCTS_PARALLELGC_HPP
27
28 #define VM_STRUCTS_PARALLELGC(nonstatic_field, \
29 static_field) \
30 \
31 /**********************/ \
32 /* Parallel GC fields */ \
33 /**********************/ \
34 nonstatic_field(PSVirtualSpace, _alignment, const size_t) \
35 nonstatic_field(PSVirtualSpace, _reserved_low_addr, char*) \
36 nonstatic_field(PSVirtualSpace, _reserved_high_addr, char*) \
37 nonstatic_field(PSVirtualSpace, _committed_low_addr, char*) \
38 nonstatic_field(PSVirtualSpace, _committed_high_addr, char*) \
39 \
40 nonstatic_field(ImmutableSpace, _bottom, HeapWord*) \
41 nonstatic_field(ImmutableSpace, _end, HeapWord*) \
42 \
43 nonstatic_field(MutableSpace, _top, HeapWord*) \
44 \
45 nonstatic_field(PSYoungGen, _reserved, MemRegion) \
46 nonstatic_field(PSYoungGen, _virtual_space, PSVirtualSpace*) \
47 nonstatic_field(PSYoungGen, _eden_space, MutableSpace*) \
48 nonstatic_field(PSYoungGen, _from_space, MutableSpace*) \
49 nonstatic_field(PSYoungGen, _to_space, MutableSpace*) \
50 nonstatic_field(PSYoungGen, _init_gen_size, const size_t) \
51 nonstatic_field(PSYoungGen, _min_gen_size, const size_t) \
52 nonstatic_field(PSYoungGen, _max_gen_size, const size_t) \
53 \
54 nonstatic_field(PSOldGen, _reserved, MemRegion) \
55 nonstatic_field(PSOldGen, _virtual_space, PSVirtualSpace*) \
56 nonstatic_field(PSOldGen, _object_space, MutableSpace*) \
57 nonstatic_field(PSOldGen, _init_gen_size, const size_t) \
58 nonstatic_field(PSOldGen, _min_gen_size, const size_t) \
59 nonstatic_field(PSOldGen, _max_gen_size, const size_t) \
60 \
61 \
62 static_field(ParallelScavengeHeap, _young_gen, PSYoungGen*) \
63 static_field(ParallelScavengeHeap, _old_gen, PSOldGen*) \
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_GC_PARALLEL_VMSTRUCTS_PARALLELGC_HPP
26 #define SHARE_VM_GC_PARALLEL_VMSTRUCTS_PARALLELGC_HPP
27
28 #define VM_STRUCTS_PARALLELGC(nonstatic_field, \
29 volatile_nonstatic_field, \
30 static_field) \
31 \
32 /**********************/ \
33 /* Parallel GC fields */ \
34 /**********************/ \
35 nonstatic_field(PSVirtualSpace, _alignment, const size_t) \
36 nonstatic_field(PSVirtualSpace, _reserved_low_addr, char*) \
37 nonstatic_field(PSVirtualSpace, _reserved_high_addr, char*) \
38 nonstatic_field(PSVirtualSpace, _committed_low_addr, char*) \
39 nonstatic_field(PSVirtualSpace, _committed_high_addr, char*) \
40 \
41 nonstatic_field(ImmutableSpace, _bottom, HeapWord*) \
42 nonstatic_field(ImmutableSpace, _end, HeapWord*) \
43 \
44 volatile_nonstatic_field(MutableSpace, _top, HeapWord*) \
45 \
46 nonstatic_field(PSYoungGen, _reserved, MemRegion) \
47 nonstatic_field(PSYoungGen, _virtual_space, PSVirtualSpace*) \
48 nonstatic_field(PSYoungGen, _eden_space, MutableSpace*) \
49 nonstatic_field(PSYoungGen, _from_space, MutableSpace*) \
50 nonstatic_field(PSYoungGen, _to_space, MutableSpace*) \
51 nonstatic_field(PSYoungGen, _init_gen_size, const size_t) \
52 nonstatic_field(PSYoungGen, _min_gen_size, const size_t) \
53 nonstatic_field(PSYoungGen, _max_gen_size, const size_t) \
54 \
55 nonstatic_field(PSOldGen, _reserved, MemRegion) \
56 nonstatic_field(PSOldGen, _virtual_space, PSVirtualSpace*) \
57 nonstatic_field(PSOldGen, _object_space, MutableSpace*) \
58 nonstatic_field(PSOldGen, _init_gen_size, const size_t) \
59 nonstatic_field(PSOldGen, _min_gen_size, const size_t) \
60 nonstatic_field(PSOldGen, _max_gen_size, const size_t) \
61 \
62 \
63 static_field(ParallelScavengeHeap, _young_gen, PSYoungGen*) \
64 static_field(ParallelScavengeHeap, _old_gen, PSOldGen*) \
|