comparison src/share/vm/gc_implementation/concurrentMarkSweep/vmStructs_cms.hpp @ 0:a61af66fc99e jdk7-b24

Initial load
author duke
date Sat, 01 Dec 2007 00:00:00 +0000
parents
children c70a245cad3a 790e66e5fbac
comparison
equal deleted inserted replaced
-1:000000000000 0:a61af66fc99e
1 /*
2 * Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 * CA 95054 USA or visit www.sun.com if you need additional information or
21 * have any questions.
22 *
23 */
24
25 #define VM_STRUCTS_CMS(nonstatic_field, \
26 static_field) \
27 nonstatic_field(CompactibleFreeListSpace, _collector, CMSCollector*) \
28 nonstatic_field(CompactibleFreeListSpace, _bt, BlockOffsetArrayNonContigSpace) \
29 \
30 nonstatic_field(CMSPermGen, _gen, ConcurrentMarkSweepGeneration*) \
31 nonstatic_field(CMSBitMap, _bmStartWord, HeapWord*) \
32 nonstatic_field(CMSBitMap, _bmWordSize, size_t) \
33 nonstatic_field(CMSBitMap, _shifter, const int) \
34 nonstatic_field(CMSBitMap, _bm, BitMap) \
35 nonstatic_field(CMSBitMap, _virtual_space, VirtualSpace) \
36 nonstatic_field(CMSCollector, _markBitMap, CMSBitMap) \
37 nonstatic_field(ConcurrentMarkSweepGeneration, _cmsSpace, CompactibleFreeListSpace*) \
38 static_field(ConcurrentMarkSweepThread, _collector, CMSCollector*) \
39 nonstatic_field(FreeChunk, _next, FreeChunk*) \
40 nonstatic_field(FreeChunk, _prev, FreeChunk*) \
41 nonstatic_field(FreeChunk, _size, size_t)
42
43 #define VM_TYPES_CMS(declare_type, \
44 declare_toplevel_type) \
45 \
46 declare_type(ConcurrentMarkSweepGeneration,CardGeneration) \
47 declare_type(CompactibleFreeListSpace, CompactibleSpace) \
48 declare_type(CMSPermGenGen, ConcurrentMarkSweepGeneration) \
49 declare_type(CMSPermGen, PermGen) \
50 declare_type(ConcurrentMarkSweepThread, NamedThread) \
51 declare_type(SurrogateLockerThread, JavaThread) \
52 declare_toplevel_type(CMSCollector) \
53 declare_toplevel_type(CMSBitMap) \
54 declare_toplevel_type(FreeChunk) \
55 declare_toplevel_type(ConcurrentMarkSweepThread*) \
56 declare_toplevel_type(ConcurrentMarkSweepGeneration*) \
57 declare_toplevel_type(SurrogateLockerThread*) \
58 declare_toplevel_type(CompactibleFreeListSpace*) \
59 declare_toplevel_type(CMSCollector*) \
60 declare_toplevel_type(FreeChunk*)
61
62 #define VM_INT_CONSTANTS_CMS(declare_constant) \
63 declare_constant(Generation::ConcurrentMarkSweep) \
64 declare_constant(PermGen::ConcurrentMarkSweep)