1 /*
2 * Copyright (c) 2000, 2014, Oracle and/or its affiliates. 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 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 *
2196 /****************/ \
2197 \
2198 declare_constant(oopSize) \
2199 declare_constant(LogBytesPerWord) \
2200 declare_constant(BytesPerWord) \
2201 declare_constant(BytesPerLong) \
2202 \
2203 declare_constant(LogKlassAlignmentInBytes) \
2204 \
2205 /********************************************/ \
2206 /* Generation and Space Hierarchy Constants */ \
2207 /********************************************/ \
2208 \
2209 declare_constant(ageTable::table_size) \
2210 \
2211 declare_constant(BarrierSet::ModRef) \
2212 declare_constant(BarrierSet::CardTableModRef) \
2213 declare_constant(BarrierSet::CardTableExtension) \
2214 declare_constant(BarrierSet::G1SATBCT) \
2215 declare_constant(BarrierSet::G1SATBCTLogging) \
2216 declare_constant(BarrierSet::Other) \
2217 \
2218 declare_constant(BlockOffsetSharedArray::LogN) \
2219 declare_constant(BlockOffsetSharedArray::LogN_words) \
2220 declare_constant(BlockOffsetSharedArray::N_bytes) \
2221 declare_constant(BlockOffsetSharedArray::N_words) \
2222 \
2223 declare_constant(BlockOffsetArray::N_words) \
2224 \
2225 declare_constant(CardTableModRefBS::clean_card) \
2226 declare_constant(CardTableModRefBS::last_card) \
2227 declare_constant(CardTableModRefBS::dirty_card) \
2228 declare_constant(CardTableModRefBS::Precise) \
2229 declare_constant(CardTableModRefBS::ObjHeadPreciseArray) \
2230 declare_constant(CardTableModRefBS::card_shift) \
2231 declare_constant(CardTableModRefBS::card_size) \
2232 declare_constant(CardTableModRefBS::card_size_in_words) \
2233 \
2234 declare_constant(CardTableRS::youngergen_card) \
2235 \
2236 declare_constant(CollectedHeap::Abstract) \
|
1 /*
2 * Copyright (c) 2000, 2015, Oracle and/or its affiliates. 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 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 *
2196 /****************/ \
2197 \
2198 declare_constant(oopSize) \
2199 declare_constant(LogBytesPerWord) \
2200 declare_constant(BytesPerWord) \
2201 declare_constant(BytesPerLong) \
2202 \
2203 declare_constant(LogKlassAlignmentInBytes) \
2204 \
2205 /********************************************/ \
2206 /* Generation and Space Hierarchy Constants */ \
2207 /********************************************/ \
2208 \
2209 declare_constant(ageTable::table_size) \
2210 \
2211 declare_constant(BarrierSet::ModRef) \
2212 declare_constant(BarrierSet::CardTableModRef) \
2213 declare_constant(BarrierSet::CardTableExtension) \
2214 declare_constant(BarrierSet::G1SATBCT) \
2215 declare_constant(BarrierSet::G1SATBCTLogging) \
2216 \
2217 declare_constant(BlockOffsetSharedArray::LogN) \
2218 declare_constant(BlockOffsetSharedArray::LogN_words) \
2219 declare_constant(BlockOffsetSharedArray::N_bytes) \
2220 declare_constant(BlockOffsetSharedArray::N_words) \
2221 \
2222 declare_constant(BlockOffsetArray::N_words) \
2223 \
2224 declare_constant(CardTableModRefBS::clean_card) \
2225 declare_constant(CardTableModRefBS::last_card) \
2226 declare_constant(CardTableModRefBS::dirty_card) \
2227 declare_constant(CardTableModRefBS::Precise) \
2228 declare_constant(CardTableModRefBS::ObjHeadPreciseArray) \
2229 declare_constant(CardTableModRefBS::card_shift) \
2230 declare_constant(CardTableModRefBS::card_size) \
2231 declare_constant(CardTableModRefBS::card_size_in_words) \
2232 \
2233 declare_constant(CardTableRS::youngergen_card) \
2234 \
2235 declare_constant(CollectedHeap::Abstract) \
|