src/share/vm/gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp

Wed, 27 Apr 2016 01:25:04 +0800

author
aoqi
date
Wed, 27 Apr 2016 01:25:04 +0800
changeset 0
f90c822e73f8
child 6876
710a3c8b516e
permissions
-rw-r--r--

Initial load
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/
changeset: 6782:28b50d07f6f8
tag: jdk8u25-b17

aoqi@0 1 /*
aoqi@0 2 * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.
aoqi@0 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
aoqi@0 4 *
aoqi@0 5 * This code is free software; you can redistribute it and/or modify it
aoqi@0 6 * under the terms of the GNU General Public License version 2 only, as
aoqi@0 7 * published by the Free Software Foundation.
aoqi@0 8 *
aoqi@0 9 * This code is distributed in the hope that it will be useful, but WITHOUT
aoqi@0 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
aoqi@0 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
aoqi@0 12 * version 2 for more details (a copy is included in the LICENSE file that
aoqi@0 13 * accompanied this code).
aoqi@0 14 *
aoqi@0 15 * You should have received a copy of the GNU General Public License version
aoqi@0 16 * 2 along with this work; if not, write to the Free Software Foundation,
aoqi@0 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
aoqi@0 18 *
aoqi@0 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
aoqi@0 20 * or visit www.oracle.com if you need additional information or have any
aoqi@0 21 * questions.
aoqi@0 22 *
aoqi@0 23 */
aoqi@0 24
aoqi@0 25 #ifndef SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMSTRUCTS_PARALLELGC_HPP
aoqi@0 26 #define SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMSTRUCTS_PARALLELGC_HPP
aoqi@0 27
aoqi@0 28 #define VM_STRUCTS_PARALLELGC(nonstatic_field, \
aoqi@0 29 static_field) \
aoqi@0 30 \
aoqi@0 31 /**********************/ \
aoqi@0 32 /* Parallel GC fields */ \
aoqi@0 33 /**********************/ \
aoqi@0 34 nonstatic_field(PSVirtualSpace, _alignment, const size_t) \
aoqi@0 35 nonstatic_field(PSVirtualSpace, _reserved_low_addr, char*) \
aoqi@0 36 nonstatic_field(PSVirtualSpace, _reserved_high_addr, char*) \
aoqi@0 37 nonstatic_field(PSVirtualSpace, _committed_low_addr, char*) \
aoqi@0 38 nonstatic_field(PSVirtualSpace, _committed_high_addr, char*) \
aoqi@0 39 \
aoqi@0 40 nonstatic_field(ImmutableSpace, _bottom, HeapWord*) \
aoqi@0 41 nonstatic_field(ImmutableSpace, _end, HeapWord*) \
aoqi@0 42 \
aoqi@0 43 nonstatic_field(MutableSpace, _top, HeapWord*) \
aoqi@0 44 \
aoqi@0 45 nonstatic_field(PSYoungGen, _reserved, MemRegion) \
aoqi@0 46 nonstatic_field(PSYoungGen, _virtual_space, PSVirtualSpace*) \
aoqi@0 47 nonstatic_field(PSYoungGen, _eden_space, MutableSpace*) \
aoqi@0 48 nonstatic_field(PSYoungGen, _from_space, MutableSpace*) \
aoqi@0 49 nonstatic_field(PSYoungGen, _to_space, MutableSpace*) \
aoqi@0 50 nonstatic_field(PSYoungGen, _init_gen_size, const size_t) \
aoqi@0 51 nonstatic_field(PSYoungGen, _min_gen_size, const size_t) \
aoqi@0 52 nonstatic_field(PSYoungGen, _max_gen_size, const size_t) \
aoqi@0 53 \
aoqi@0 54 nonstatic_field(PSOldGen, _reserved, MemRegion) \
aoqi@0 55 nonstatic_field(PSOldGen, _virtual_space, PSVirtualSpace*) \
aoqi@0 56 nonstatic_field(PSOldGen, _object_space, MutableSpace*) \
aoqi@0 57 nonstatic_field(PSOldGen, _init_gen_size, const size_t) \
aoqi@0 58 nonstatic_field(PSOldGen, _min_gen_size, const size_t) \
aoqi@0 59 nonstatic_field(PSOldGen, _max_gen_size, const size_t) \
aoqi@0 60 \
aoqi@0 61 \
aoqi@0 62 static_field(ParallelScavengeHeap, _young_gen, PSYoungGen*) \
aoqi@0 63 static_field(ParallelScavengeHeap, _old_gen, PSOldGen*) \
aoqi@0 64 static_field(ParallelScavengeHeap, _psh, ParallelScavengeHeap*) \
aoqi@0 65 \
aoqi@0 66
aoqi@0 67 #define VM_TYPES_PARALLELGC(declare_type, \
aoqi@0 68 declare_toplevel_type) \
aoqi@0 69 \
aoqi@0 70 /*****************************************/ \
aoqi@0 71 /* Parallel GC - space, gen abstractions */ \
aoqi@0 72 /*****************************************/ \
aoqi@0 73 declare_type(ParallelScavengeHeap, CollectedHeap) \
aoqi@0 74 \
aoqi@0 75 declare_toplevel_type(PSVirtualSpace) \
aoqi@0 76 declare_toplevel_type(ImmutableSpace) \
aoqi@0 77 declare_type(MutableSpace, ImmutableSpace) \
aoqi@0 78 declare_toplevel_type(PSYoungGen) \
aoqi@0 79 declare_type(ASPSYoungGen, PSYoungGen) \
aoqi@0 80 declare_toplevel_type(PSOldGen) \
aoqi@0 81 declare_type(ASPSOldGen, PSOldGen) \
aoqi@0 82 \
aoqi@0 83 /*****************************/ \
aoqi@0 84 /* Parallel GC pointer types */ \
aoqi@0 85 /*****************************/ \
aoqi@0 86 \
aoqi@0 87 declare_toplevel_type(PSVirtualSpace*) \
aoqi@0 88 declare_toplevel_type(ImmutableSpace*) \
aoqi@0 89 declare_toplevel_type(MutableSpace*) \
aoqi@0 90 declare_toplevel_type(PSYoungGen*) \
aoqi@0 91 declare_toplevel_type(ASPSYoungGen*) \
aoqi@0 92 declare_toplevel_type(PSOldGen*) \
aoqi@0 93 declare_toplevel_type(ASPSOldGen*) \
aoqi@0 94 declare_toplevel_type(ParallelScavengeHeap*)
aoqi@0 95
aoqi@0 96 #endif // SHARE_VM_GC_IMPLEMENTATION_PARALLELSCAVENGE_VMSTRUCTS_PARALLELGC_HPP

mercurial