author | coleenp |
Thu, 10 Jan 2019 15:13:51 -0500 | |
changeset 53244 | 9807daeb47c4 |
parent 49982 | 9042ffe5b7fe |
permissions | -rw-r--r-- |
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
1 |
/* |
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
49982
diff
changeset
|
2 |
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved. |
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
4 |
* |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
8 |
* |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
13 |
* accompanied this code). |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
14 |
* |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
18 |
* |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
21 |
* questions. |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
22 |
* |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
23 |
*/ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
24 |
|
53244
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
49982
diff
changeset
|
25 |
#ifndef SHARE_GC_SERIAL_VMSTRUCTS_SERIAL_HPP |
9807daeb47c4
8216167: Update include guards to reflect correct directories
coleenp
parents:
49982
diff
changeset
|
26 |
#define SHARE_GC_SERIAL_VMSTRUCTS_SERIAL_HPP |
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
27 |
|
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
28 |
#include "gc/serial/serialHeap.hpp" |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
29 |
#include "gc/serial/tenuredGeneration.hpp" |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
30 |
|
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
31 |
#define VM_STRUCTS_SERIALGC(nonstatic_field, \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
32 |
volatile_nonstatic_field, \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
33 |
static_field) \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
34 |
nonstatic_field(TenuredGeneration, _min_heap_delta_bytes, size_t) \ |
49982 | 35 |
nonstatic_field(TenuredGeneration, _the_space, ContiguousSpace*) \ |
36 |
\ |
|
37 |
nonstatic_field(DefNewGeneration, _old_gen, Generation*) \ |
|
38 |
nonstatic_field(DefNewGeneration, _tenuring_threshold, uint) \ |
|
39 |
nonstatic_field(DefNewGeneration, _age_table, AgeTable) \ |
|
40 |
nonstatic_field(DefNewGeneration, _eden_space, ContiguousSpace*) \ |
|
41 |
nonstatic_field(DefNewGeneration, _from_space, ContiguousSpace*) \ |
|
42 |
nonstatic_field(DefNewGeneration, _to_space, ContiguousSpace*) |
|
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
43 |
|
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
44 |
#define VM_TYPES_SERIALGC(declare_type, \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
45 |
declare_toplevel_type, \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
46 |
declare_integer_type) \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
47 |
declare_type(SerialHeap, GenCollectedHeap) \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
48 |
declare_type(TenuredGeneration, CardGeneration) \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
49 |
declare_type(TenuredSpace, OffsetTableContigSpace) \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
50 |
\ |
49982 | 51 |
declare_type(DefNewGeneration, Generation) \ |
52 |
\ |
|
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
53 |
declare_toplevel_type(TenuredGeneration*) |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
54 |
|
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
55 |
#define VM_INT_CONSTANTS_SERIALGC(declare_constant, \ |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
56 |
declare_constant_with_value) |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
57 |
|
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
diff
changeset
|
58 |
#endif // SHARE_GC_SERIAL_VMSTRUCTS_SERIAL_HPP |