author | stefank |
Wed, 22 May 2019 13:05:37 +0200 | |
changeset 54982 | b18c8301b8c2 |
parent 54085 | ab87b06dfdc0 |
child 55283 | 4556dd808daa |
child 58678 | 9cf78a70fa4f |
permissions | -rw-r--r-- |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
1 |
/* |
54085
ab87b06dfdc0
8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead
manc
parents:
52925
diff
changeset
|
2 |
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
4 |
* |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
8 |
* |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
13 |
* accompanied this code). |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
14 |
* |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
18 |
* |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
21 |
* questions. |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
22 |
* |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
23 |
*/ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
24 |
|
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
25 |
#ifndef SHARE_GC_SHARED_GC_GLOBALS_HPP |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
26 |
#define SHARE_GC_SHARED_GC_GLOBALS_HPP |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
27 |
|
54982 | 28 |
#include "runtime/globals_shared.hpp" |
49982 | 29 |
#include "utilities/macros.hpp" |
30 |
#if INCLUDE_CMSGC |
|
31 |
#include "gc/cms/cms_globals.hpp" |
|
32 |
#endif |
|
50523
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
33 |
#if INCLUDE_EPSILONGC |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
34 |
#include "gc/epsilon/epsilon_globals.hpp" |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
35 |
#endif |
49982 | 36 |
#if INCLUDE_G1GC |
37 |
#include "gc/g1/g1_globals.hpp" |
|
38 |
#endif |
|
39 |
#if INCLUDE_PARALLELGC |
|
40 |
#include "gc/parallel/parallel_globals.hpp" |
|
41 |
#endif |
|
42 |
#if INCLUDE_SERIALGC |
|
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
43 |
#include "gc/serial/serial_globals.hpp" |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
44 |
#endif |
52925
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
45 |
#if INCLUDE_SHENANDOAHGC |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
46 |
#include "gc/shenandoah/shenandoah_globals.hpp" |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
47 |
#endif |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
48 |
#if INCLUDE_ZGC |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
49 |
#include "gc/z/z_globals.hpp" |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
50 |
#endif |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
51 |
|
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
52 |
#define GC_FLAGS(develop, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
53 |
develop_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
54 |
product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
55 |
product_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
56 |
diagnostic, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
57 |
diagnostic_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
58 |
experimental, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
59 |
notproduct, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
60 |
manageable, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
61 |
product_rw, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
62 |
lp64_product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
63 |
range, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
64 |
constraint, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
65 |
writeable) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
66 |
\ |
49982 | 67 |
CMSGC_ONLY(GC_CMS_FLAGS( \ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
68 |
develop, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
69 |
develop_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
70 |
product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
71 |
product_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
72 |
diagnostic, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
73 |
diagnostic_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
74 |
experimental, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
75 |
notproduct, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
76 |
manageable, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
77 |
product_rw, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
78 |
lp64_product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
79 |
range, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
80 |
constraint, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
81 |
writeable)) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
82 |
\ |
50523
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
83 |
EPSILONGC_ONLY(GC_EPSILON_FLAGS( \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
84 |
develop, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
85 |
develop_pd, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
86 |
product, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
87 |
product_pd, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
88 |
diagnostic, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
89 |
diagnostic_pd, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
90 |
experimental, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
91 |
notproduct, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
92 |
manageable, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
93 |
product_rw, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
94 |
lp64_product, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
95 |
range, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
96 |
constraint, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
97 |
writeable)) \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
98 |
\ |
49982 | 99 |
G1GC_ONLY(GC_G1_FLAGS( \ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
100 |
develop, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
101 |
develop_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
102 |
product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
103 |
product_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
104 |
diagnostic, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
105 |
diagnostic_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
106 |
experimental, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
107 |
notproduct, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
108 |
manageable, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
109 |
product_rw, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
110 |
lp64_product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
111 |
range, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
112 |
constraint, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
113 |
writeable)) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
114 |
\ |
49982 | 115 |
PARALLELGC_ONLY(GC_PARALLEL_FLAGS( \ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
116 |
develop, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
117 |
develop_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
118 |
product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
119 |
product_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
120 |
diagnostic, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
121 |
diagnostic_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
122 |
experimental, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
123 |
notproduct, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
124 |
manageable, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
125 |
product_rw, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
126 |
lp64_product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
127 |
range, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
128 |
constraint, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
129 |
writeable)) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
130 |
\ |
49982 | 131 |
SERIALGC_ONLY(GC_SERIAL_FLAGS( \ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
132 |
develop, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
133 |
develop_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
134 |
product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
135 |
product_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
136 |
diagnostic, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
137 |
diagnostic_pd, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
138 |
experimental, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
139 |
notproduct, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
140 |
manageable, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
141 |
product_rw, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
142 |
lp64_product, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
143 |
range, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
144 |
constraint, \ |
49982 | 145 |
writeable)) \ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
146 |
\ |
52925
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
147 |
SHENANDOAHGC_ONLY(GC_SHENANDOAH_FLAGS( \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
148 |
develop, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
149 |
develop_pd, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
150 |
product, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
151 |
product_pd, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
152 |
diagnostic, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
153 |
diagnostic_pd, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
154 |
experimental, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
155 |
notproduct, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
156 |
manageable, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
157 |
product_rw, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
158 |
lp64_product, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
159 |
range, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
160 |
constraint, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
161 |
writeable)) \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
162 |
\ |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
163 |
ZGC_ONLY(GC_Z_FLAGS( \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
164 |
develop, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
165 |
develop_pd, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
166 |
product, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
167 |
product_pd, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
168 |
diagnostic, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
169 |
diagnostic_pd, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
170 |
experimental, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
171 |
notproduct, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
172 |
manageable, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
173 |
product_rw, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
174 |
lp64_product, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
175 |
range, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
176 |
constraint, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
177 |
writeable)) \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
178 |
\ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
179 |
/* gc */ \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
180 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
181 |
product(bool, UseConcMarkSweepGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
182 |
"Use Concurrent Mark-Sweep GC in the old generation") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
183 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
184 |
product(bool, UseSerialGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
185 |
"Use the Serial garbage collector") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
186 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
187 |
product(bool, UseG1GC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
188 |
"Use the Garbage-First garbage collector") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
189 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
190 |
product(bool, UseParallelGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
191 |
"Use the Parallel Scavenge garbage collector") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
192 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
193 |
product(bool, UseParallelOldGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
194 |
"Use the Parallel Old garbage collector") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
195 |
\ |
50523
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
196 |
experimental(bool, UseEpsilonGC, false, \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
197 |
"Use the Epsilon (no-op) garbage collector") \ |
7b7c75d87f9b
8204180: Implementation: JEP 318: Epsilon, A No-Op Garbage Collector
shade
parents:
49982
diff
changeset
|
198 |
\ |
50525
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
199 |
experimental(bool, UseZGC, false, \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
200 |
"Use the Z garbage collector") \ |
767cdb97f103
8204210: Implementation: JEP 333: ZGC: A Scalable Low-Latency Garbage Collector (Experimental)
pliden
parents:
50523
diff
changeset
|
201 |
\ |
52925
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
202 |
experimental(bool, UseShenandoahGC, false, \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
203 |
"Use the Shenandoah garbage collector") \ |
9c18c9d839d3
8214259: Implementation: JEP 189: Shenandoah: A Low-Pause-Time Garbage Collector (Experimental)
rkennke
parents:
52905
diff
changeset
|
204 |
\ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
205 |
product(uint, ParallelGCThreads, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
206 |
"Number of parallel threads parallel gc will use") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
207 |
constraint(ParallelGCThreadsConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
208 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
209 |
diagnostic(bool, UseSemaphoreGCThreadsSynchronization, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
210 |
"Use semaphore synchronization for the GC Threads, " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
211 |
"instead of synchronization based on mutexes") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
212 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
213 |
product(bool, UseDynamicNumberOfGCThreads, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
214 |
"Dynamically choose the number of threads up to a maximum of " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
215 |
"ParallelGCThreads parallel collectors will use for garbage " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
216 |
"collection work") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
217 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
218 |
diagnostic(bool, InjectGCWorkerCreationFailure, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
219 |
"Inject thread creation failures for " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
220 |
"UseDynamicNumberOfGCThreads") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
221 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
222 |
diagnostic(bool, ForceDynamicNumberOfGCThreads, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
223 |
"Force dynamic selection of the number of " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
224 |
"parallel threads parallel gc will use to aid debugging") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
225 |
\ |
49741
0d8ed8b2ac4f
8200228: Change default value of HeapSizePerGCThread
sjohanss
parents:
49715
diff
changeset
|
226 |
product(size_t, HeapSizePerGCThread, ScaleForWordSize(32*M), \ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
227 |
"Size of heap (bytes) per GC thread used in calculating the " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
228 |
"number of GC threads") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
229 |
range((size_t)os::vm_page_size(), (size_t)max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
230 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
231 |
product(uint, ConcGCThreads, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
232 |
"Number of threads concurrent gc will use") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
233 |
constraint(ConcGCThreadsConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
234 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
235 |
product(uint, GCTaskTimeStampEntries, 200, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
236 |
"Number of time stamp entries per gc worker thread") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
237 |
range(1, max_jint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
238 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
239 |
product(bool, AlwaysTenure, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
240 |
"Always tenure objects in eden (ParallelGC only)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
241 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
242 |
product(bool, NeverTenure, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
243 |
"Never tenure objects in eden, may tenure on overflow " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
244 |
"(ParallelGC only)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
245 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
246 |
product(bool, ScavengeBeforeFullGC, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
247 |
"Scavenge youngest generation before each full GC.") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
248 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
249 |
product(bool, ExplicitGCInvokesConcurrent, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
250 |
"A System.gc() request invokes a concurrent collection; " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
251 |
"(effective only when using concurrent collectors)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
252 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
253 |
product(bool, GCLockerInvokesConcurrent, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
254 |
"The exit of a JNI critical section necessitating a scavenge, " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
255 |
"also kicks off a background concurrent collection") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
256 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
257 |
product(uintx, GCLockerEdenExpansionPercent, 5, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
258 |
"How much the GC can expand the eden by while the GC locker " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
259 |
"is active (as a percentage)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
260 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
261 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
262 |
diagnostic(uintx, GCLockerRetryAllocationCount, 2, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
263 |
"Number of times to retry allocations when " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
264 |
"blocked by the GC locker") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
265 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
266 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
267 |
product(uintx, ParallelGCBufferWastePct, 10, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
268 |
"Wasted fraction of parallel allocation buffer") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
269 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
270 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
271 |
product(uintx, TargetPLABWastePct, 10, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
272 |
"Target wasted space in last buffer as percent of overall " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
273 |
"allocation") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
274 |
range(1, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
275 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
276 |
product(uintx, PLABWeight, 75, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
277 |
"Percentage (0-100) used to weight the current sample when " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
278 |
"computing exponentially decaying average for ResizePLAB") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
279 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
280 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
281 |
product(bool, ResizePLAB, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
282 |
"Dynamically resize (survivor space) promotion LAB's") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
283 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
284 |
product(int, ParGCArrayScanChunk, 50, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
285 |
"Scan a subset of object array and push remainder, if array is " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
286 |
"bigger than this") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
287 |
range(1, max_jint/3) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
288 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
289 |
product(uintx, OldPLABWeight, 50, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
290 |
"Percentage (0-100) used to weight the current sample when " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
291 |
"computing exponentially decaying average for resizing " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
292 |
"OldPLABSize") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
293 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
294 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
295 |
product(bool, ResizeOldPLAB, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
296 |
"Dynamically resize (old gen) promotion LAB's") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
297 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
298 |
product(bool, AlwaysPreTouch, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
299 |
"Force all freshly committed pages to be pre-touched") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
300 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
301 |
product(size_t, PreTouchParallelChunkSize, 1 * G, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
302 |
"Per-thread chunk size for parallel memory pre-touch.") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
303 |
range(1, SIZE_MAX / 2) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
304 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
305 |
/* where does the range max value of (max_jint - 1) come from? */ \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
306 |
product(size_t, MarkStackSizeMax, NOT_LP64(4*M) LP64_ONLY(512*M), \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
307 |
"Maximum size of marking stack") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
308 |
range(1, (max_jint - 1)) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
309 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
310 |
product(size_t, MarkStackSize, NOT_LP64(32*K) LP64_ONLY(4*M), \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
311 |
"Size of marking stack") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
312 |
constraint(MarkStackSizeConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
313 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
314 |
develop(bool, VerifyBlockOffsetArray, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
315 |
"Do (expensive) block offset array verification") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
316 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
317 |
diagnostic(bool, BlockOffsetArrayUseUnallocatedBlock, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
318 |
"Maintain _unallocated_block in BlockOffsetArray " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
319 |
"(currently applicable only to CMS collector)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
320 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
321 |
product(intx, RefDiscoveryPolicy, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
322 |
"Select type of reference discovery policy: " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
323 |
"reference-based(0) or referent-based(1)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
324 |
range(ReferenceProcessor::DiscoveryPolicyMin, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
325 |
ReferenceProcessor::DiscoveryPolicyMax) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
326 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
327 |
product(bool, ParallelRefProcEnabled, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
328 |
"Enable parallel reference processing whenever possible") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
329 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
330 |
product(bool, ParallelRefProcBalancingEnabled, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
331 |
"Enable balancing of reference processing queues") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
332 |
\ |
50606
8f1d5d706bdd
8043575: Dynamically parallelize reference processing work
tschatzl
parents:
50525
diff
changeset
|
333 |
experimental(size_t, ReferencesPerThread, 1000, \ |
8f1d5d706bdd
8043575: Dynamically parallelize reference processing work
tschatzl
parents:
50525
diff
changeset
|
334 |
"Ergonomically start one thread for this amount of " \ |
8f1d5d706bdd
8043575: Dynamically parallelize reference processing work
tschatzl
parents:
50525
diff
changeset
|
335 |
"references for reference processing if " \ |
8f1d5d706bdd
8043575: Dynamically parallelize reference processing work
tschatzl
parents:
50525
diff
changeset
|
336 |
"ParallelRefProcEnabled is true. Specify 0 to disable and " \ |
8f1d5d706bdd
8043575: Dynamically parallelize reference processing work
tschatzl
parents:
50525
diff
changeset
|
337 |
"use all threads.") \ |
8f1d5d706bdd
8043575: Dynamically parallelize reference processing work
tschatzl
parents:
50525
diff
changeset
|
338 |
\ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
339 |
product(uintx, InitiatingHeapOccupancyPercent, 45, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
340 |
"The percent occupancy (IHOP) of the current old generation " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
341 |
"capacity above which a concurrent mark cycle will be initiated " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
342 |
"Its value may change over time if adaptive IHOP is enabled, " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
343 |
"otherwise the value remains constant. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
344 |
"In the latter case a value of 0 will result as frequent as " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
345 |
"possible concurrent marking cycles. A value of 100 disables " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
346 |
"concurrent marking. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
347 |
"Fragmentation waste in the old generation is not considered " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
348 |
"free space in this calculation. (G1 collector only)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
349 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
350 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
351 |
notproduct(bool, ScavengeALot, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
352 |
"Force scavenge at every Nth exit from the runtime system " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
353 |
"(N=ScavengeALotInterval)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
354 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
355 |
develop(bool, FullGCALot, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
356 |
"Force full gc at every Nth exit from the runtime system " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
357 |
"(N=FullGCALotInterval)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
358 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
359 |
notproduct(bool, GCALotAtAllSafepoints, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
360 |
"Enforce ScavengeALot/GCALot at all potential safepoints") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
361 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
362 |
notproduct(bool, PromotionFailureALot, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
363 |
"Use promotion failure handling on every youngest generation " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
364 |
"collection") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
365 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
366 |
develop(uintx, PromotionFailureALotCount, 1000, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
367 |
"Number of promotion failures occurring at PLAB " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
368 |
"refill attempts (ParNew) or promotion attempts " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
369 |
"(other young collectors)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
370 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
371 |
develop(uintx, PromotionFailureALotInterval, 5, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
372 |
"Total collections between promotion failures a lot") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
373 |
\ |
52905
bec57b4a6d69
8204947: Port ShenandoahTaskTerminator to mainline and make it default
zgu
parents:
52396
diff
changeset
|
374 |
diagnostic(bool, UseOWSTTaskTerminator, true, \ |
bec57b4a6d69
8204947: Port ShenandoahTaskTerminator to mainline and make it default
zgu
parents:
52396
diff
changeset
|
375 |
"Use Optimized Work Stealing Threads task termination " \ |
bec57b4a6d69
8204947: Port ShenandoahTaskTerminator to mainline and make it default
zgu
parents:
52396
diff
changeset
|
376 |
"protocol") \ |
bec57b4a6d69
8204947: Port ShenandoahTaskTerminator to mainline and make it default
zgu
parents:
52396
diff
changeset
|
377 |
\ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
378 |
experimental(uintx, WorkStealingSleepMillis, 1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
379 |
"Sleep time when sleep is used for yields") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
380 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
381 |
experimental(uintx, WorkStealingYieldsBeforeSleep, 5000, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
382 |
"Number of yields before a sleep is done during work stealing") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
383 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
384 |
experimental(uintx, WorkStealingHardSpins, 4096, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
385 |
"Number of iterations in a spin loop between checks on " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
386 |
"time out of hard spin") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
387 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
388 |
experimental(uintx, WorkStealingSpinToYieldRatio, 10, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
389 |
"Ratio of hard spins to calls to yield") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
390 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
391 |
develop(uintx, ObjArrayMarkingStride, 2048, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
392 |
"Number of object array elements to push onto the marking stack " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
393 |
"before pushing a continuation entry") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
394 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
395 |
develop(bool, MetadataAllocationFailALot, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
396 |
"Fail metadata allocations at intervals controlled by " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
397 |
"MetadataAllocationFailALotInterval") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
398 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
399 |
develop(uintx, MetadataAllocationFailALotInterval, 1000, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
400 |
"Metadata allocation failure a lot interval") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
401 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
402 |
product(bool, ExecutingUnitTests, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
403 |
"Whether the JVM is running unit tests or not") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
404 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
405 |
product_pd(bool, UseTLAB, "Use thread-local object allocation") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
406 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
407 |
product_pd(bool, ResizeTLAB, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
408 |
"Dynamically resize TLAB size for threads") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
409 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
410 |
product(bool, ZeroTLAB, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
411 |
"Zero out the newly created TLAB") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
412 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
413 |
product(bool, TLABStats, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
414 |
"Provide more detailed and expensive TLAB statistics.") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
415 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
416 |
product_pd(bool, NeverActAsServerClassMachine, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
417 |
"Never act like a server-class machine") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
418 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
419 |
product(bool, AlwaysActAsServerClassMachine, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
420 |
"Always act like a server-class machine") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
421 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
422 |
product_pd(uint64_t, MaxRAM, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
423 |
"Real memory size (in bytes) used to set maximum heap size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
424 |
range(0, 0XFFFFFFFFFFFFFFFF) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
425 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
426 |
product(bool, AggressiveHeap, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
427 |
"Optimize heap options for long-running memory intensive apps") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
428 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
429 |
product(size_t, ErgoHeapSizeLimit, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
430 |
"Maximum ergonomically set heap size (in bytes); zero means use " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
431 |
"MaxRAM * MaxRAMPercentage / 100") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
432 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
433 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
434 |
product(uintx, MaxRAMFraction, 4, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
435 |
"Maximum fraction (1/n) of real memory used for maximum heap " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
436 |
"size. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
437 |
"Deprecated, use MaxRAMPercentage instead") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
438 |
range(1, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
439 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
440 |
product(uintx, MinRAMFraction, 2, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
441 |
"Minimum fraction (1/n) of real memory used for maximum heap " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
442 |
"size on systems with small physical memory size. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
443 |
"Deprecated, use MinRAMPercentage instead") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
444 |
range(1, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
445 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
446 |
product(uintx, InitialRAMFraction, 64, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
447 |
"Fraction (1/n) of real memory used for initial heap size. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
448 |
"Deprecated, use InitialRAMPercentage instead") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
449 |
range(1, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
450 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
451 |
product(double, MaxRAMPercentage, 25.0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
452 |
"Maximum percentage of real memory used for maximum heap size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
453 |
range(0.0, 100.0) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
454 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
455 |
product(double, MinRAMPercentage, 50.0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
456 |
"Minimum percentage of real memory used for maximum heap" \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
457 |
"size on systems with small physical memory size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
458 |
range(0.0, 100.0) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
459 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
460 |
product(double, InitialRAMPercentage, 1.5625, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
461 |
"Percentage of real memory used for initial heap size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
462 |
range(0.0, 100.0) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
463 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
464 |
product(int, ActiveProcessorCount, -1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
465 |
"Specify the CPU count the VM should use and report as active") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
466 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
467 |
develop(uintx, MaxVirtMemFraction, 2, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
468 |
"Maximum fraction (1/n) of virtual memory used for ergonomically "\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
469 |
"determining maximum heap size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
470 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
471 |
product(bool, UseAdaptiveSizePolicy, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
472 |
"Use adaptive generation sizing policies") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
473 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
474 |
product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
475 |
"Use adaptive survivor sizing policies") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
476 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
477 |
product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
478 |
"Use adaptive young-old sizing policies at minor collections") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
479 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
480 |
product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
481 |
"Use adaptive young-old sizing policies at major collections") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
482 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
483 |
product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
484 |
"Include statistics from System.gc() for adaptive size policy") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
485 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
486 |
product(bool, UseAdaptiveGCBoundary, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
487 |
"Allow young-old boundary to move") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
488 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
489 |
develop(intx, PSAdaptiveSizePolicyResizeVirtualSpaceAlot, -1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
490 |
"Resize the virtual spaces of the young or old generations") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
491 |
range(-1, 1) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
492 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
493 |
product(uintx, AdaptiveSizeThroughPutPolicy, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
494 |
"Policy for changing generation size for throughput goals") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
495 |
range(0, 1) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
496 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
497 |
product(uintx, AdaptiveSizePolicyInitializingSteps, 20, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
498 |
"Number of steps where heuristics is used before data is used") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
499 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
500 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
501 |
develop(uintx, AdaptiveSizePolicyReadyThreshold, 5, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
502 |
"Number of collections before the adaptive sizing is started") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
503 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
504 |
product(uintx, AdaptiveSizePolicyOutputInterval, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
505 |
"Collection interval for printing information; zero means never") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
506 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
507 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
508 |
product(bool, UseAdaptiveSizePolicyFootprintGoal, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
509 |
"Use adaptive minimum footprint as a goal") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
510 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
511 |
product(uintx, AdaptiveSizePolicyWeight, 10, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
512 |
"Weight given to exponential resizing, between 0 and 100") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
513 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
514 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
515 |
product(uintx, AdaptiveTimeWeight, 25, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
516 |
"Weight given to time in adaptive policy, between 0 and 100") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
517 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
518 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
519 |
product(uintx, PausePadding, 1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
520 |
"How much buffer to keep for pause time") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
521 |
range(0, max_juint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
522 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
523 |
product(uintx, PromotedPadding, 3, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
524 |
"How much buffer to keep for promotion failure") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
525 |
range(0, max_juint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
526 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
527 |
product(uintx, SurvivorPadding, 3, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
528 |
"How much buffer to keep for survivor overflow") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
529 |
range(0, max_juint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
530 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
531 |
product(uintx, ThresholdTolerance, 10, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
532 |
"Allowed collection cost difference between generations") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
533 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
534 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
535 |
product(uintx, AdaptiveSizePolicyCollectionCostMargin, 50, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
536 |
"If collection costs are within margin, reduce both by full " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
537 |
"delta") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
538 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
539 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
540 |
product(uintx, YoungGenerationSizeIncrement, 20, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
541 |
"Adaptive size percentage change in young generation") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
542 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
543 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
544 |
product(uintx, YoungGenerationSizeSupplement, 80, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
545 |
"Supplement to YoungedGenerationSizeIncrement used at startup") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
546 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
547 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
548 |
product(uintx, YoungGenerationSizeSupplementDecay, 8, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
549 |
"Decay factor to YoungedGenerationSizeSupplement") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
550 |
range(1, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
551 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
552 |
product(uintx, TenuredGenerationSizeIncrement, 20, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
553 |
"Adaptive size percentage change in tenured generation") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
554 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
555 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
556 |
product(uintx, TenuredGenerationSizeSupplement, 80, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
557 |
"Supplement to TenuredGenerationSizeIncrement used at startup") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
558 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
559 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
560 |
product(uintx, TenuredGenerationSizeSupplementDecay, 2, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
561 |
"Decay factor to TenuredGenerationSizeIncrement") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
562 |
range(1, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
563 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
564 |
product(uintx, MaxGCPauseMillis, max_uintx - 1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
565 |
"Adaptive size policy maximum GC pause time goal in millisecond, "\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
566 |
"or (G1 Only) the maximum GC time per MMU time slice") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
567 |
range(1, max_uintx - 1) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
568 |
constraint(MaxGCPauseMillisConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
569 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
570 |
product(uintx, GCPauseIntervalMillis, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
571 |
"Time slice for MMU specification") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
572 |
constraint(GCPauseIntervalMillisConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
573 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
574 |
product(uintx, MaxGCMinorPauseMillis, max_uintx, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
575 |
"Adaptive size policy maximum GC minor pause time goal " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
576 |
"in millisecond") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
577 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
578 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
579 |
product(uintx, GCTimeRatio, 99, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
580 |
"Adaptive size policy application time to GC time ratio") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
581 |
range(0, max_juint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
582 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
583 |
product(uintx, AdaptiveSizeDecrementScaleFactor, 4, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
584 |
"Adaptive size scale down factor for shrinking") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
585 |
range(1, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
586 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
587 |
product(bool, UseAdaptiveSizeDecayMajorGCCost, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
588 |
"Adaptive size decays the major cost for long major intervals") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
589 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
590 |
product(uintx, AdaptiveSizeMajorGCDecayTimeScale, 10, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
591 |
"Time scale over which major costs decay") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
592 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
593 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
594 |
product(uintx, MinSurvivorRatio, 3, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
595 |
"Minimum ratio of young generation/survivor space size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
596 |
range(3, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
597 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
598 |
product(uintx, InitialSurvivorRatio, 8, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
599 |
"Initial ratio of young generation/survivor space size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
600 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
601 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
602 |
product(size_t, BaseFootPrintEstimate, 256*M, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
603 |
"Estimate of footprint other than Java Heap") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
604 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
605 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
606 |
product(bool, UseGCOverheadLimit, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
607 |
"Use policy to limit of proportion of time spent in GC " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
608 |
"before an OutOfMemory error is thrown") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
609 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
610 |
product(uintx, GCTimeLimit, 98, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
611 |
"Limit of the proportion of time spent in GC before " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
612 |
"an OutOfMemoryError is thrown (used with GCHeapFreeLimit)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
613 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
614 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
615 |
product(uintx, GCHeapFreeLimit, 2, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
616 |
"Minimum percentage of free space after a full GC before an " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
617 |
"OutOfMemoryError is thrown (used with GCTimeLimit)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
618 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
619 |
\ |
54085
ab87b06dfdc0
8212206: Refactor AdaptiveSizePolicy to separate out code related to GC overhead
manc
parents:
52925
diff
changeset
|
620 |
develop(uintx, GCOverheadLimitThreshold, 5, \ |
49715
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
621 |
"Number of consecutive collections before gc time limit fires") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
622 |
range(1, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
623 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
624 |
product(intx, PrefetchCopyIntervalInBytes, -1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
625 |
"How far ahead to prefetch destination area (<= 0 means off)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
626 |
range(-1, max_jint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
627 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
628 |
product(intx, PrefetchScanIntervalInBytes, -1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
629 |
"How far ahead to prefetch scan area (<= 0 means off)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
630 |
range(-1, max_jint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
631 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
632 |
product(intx, PrefetchFieldsAhead, -1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
633 |
"How many fields ahead to prefetch in oop scan (<= 0 means off)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
634 |
range(-1, max_jint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
635 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
636 |
diagnostic(bool, VerifyDuringStartup, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
637 |
"Verify memory system before executing any Java code " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
638 |
"during VM initialization") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
639 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
640 |
diagnostic(bool, VerifyBeforeExit, trueInDebug, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
641 |
"Verify system before exiting") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
642 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
643 |
diagnostic(bool, VerifyBeforeGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
644 |
"Verify memory system before GC") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
645 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
646 |
diagnostic(bool, VerifyAfterGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
647 |
"Verify memory system after GC") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
648 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
649 |
diagnostic(bool, VerifyDuringGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
650 |
"Verify memory system during GC (between phases)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
651 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
652 |
diagnostic(ccstrlist, VerifyGCType, "", \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
653 |
"GC type(s) to verify when Verify*GC is enabled." \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
654 |
"Available types are collector specific.") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
655 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
656 |
diagnostic(ccstrlist, VerifySubSet, "", \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
657 |
"Memory sub-systems to verify when Verify*GC flag(s) " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
658 |
"are enabled. One or more sub-systems can be specified " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
659 |
"in a comma separated string. Sub-systems are: " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
660 |
"threads, heap, symbol_table, string_table, codecache, " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
661 |
"dictionary, classloader_data_graph, metaspace, jni_handles, " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
662 |
"codecache_oops") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
663 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
664 |
diagnostic(bool, GCParallelVerificationEnabled, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
665 |
"Enable parallel memory system verification") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
666 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
667 |
diagnostic(bool, DeferInitialCardMark, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
668 |
"When +ReduceInitialCardMarks, explicitly defer any that " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
669 |
"may arise from new_pre_store_barrier") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
670 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
671 |
product(bool, UseCondCardMark, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
672 |
"Check for already marked card before updating card table") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
673 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
674 |
diagnostic(bool, VerifyRememberedSets, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
675 |
"Verify GC remembered sets") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
676 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
677 |
diagnostic(bool, VerifyObjectStartArray, true, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
678 |
"Verify GC object start array if verify before/after") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
679 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
680 |
product(bool, DisableExplicitGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
681 |
"Ignore calls to System.gc()") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
682 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
683 |
product(bool, BindGCTaskThreadsToCPUs, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
684 |
"Bind GCTaskThreads to CPUs if possible") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
685 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
686 |
product(bool, UseGCTaskAffinity, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
687 |
"Use worker affinity when asking for GCTasks") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
688 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
689 |
product(bool, PrintGC, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
690 |
"Print message at garbage collection. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
691 |
"Deprecated, use -Xlog:gc instead.") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
692 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
693 |
product(bool, PrintGCDetails, false, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
694 |
"Print more details at garbage collection. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
695 |
"Deprecated, use -Xlog:gc* instead.") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
696 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
697 |
develop(intx, ConcGCYieldTimeout, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
698 |
"If non-zero, assert that GC threads yield within this " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
699 |
"number of milliseconds") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
700 |
range(0, max_intx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
701 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
702 |
notproduct(intx, ScavengeALotInterval, 1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
703 |
"Interval between which scavenge will occur with +ScavengeALot") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
704 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
705 |
notproduct(intx, FullGCALotInterval, 1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
706 |
"Interval between which full gc will occur with +FullGCALot") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
707 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
708 |
notproduct(intx, FullGCALotStart, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
709 |
"For which invocation to start FullGCAlot") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
710 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
711 |
notproduct(intx, FullGCALotDummies, 32*K, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
712 |
"Dummy object allocated with +FullGCALot, forcing all objects " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
713 |
"to move") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
714 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
715 |
/* gc parameters */ \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
716 |
product(size_t, InitialHeapSize, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
717 |
"Initial heap size (in bytes); zero means use ergonomics") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
718 |
constraint(InitialHeapSizeConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
719 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
720 |
product(size_t, MaxHeapSize, ScaleForWordSize(96*M), \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
721 |
"Maximum heap size (in bytes)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
722 |
constraint(MaxHeapSizeConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
723 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
724 |
product(size_t, OldSize, ScaleForWordSize(4*M), \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
725 |
"Initial tenured generation size (in bytes)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
726 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
727 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
728 |
product(size_t, NewSize, ScaleForWordSize(1*M), \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
729 |
"Initial new generation size (in bytes)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
730 |
constraint(NewSizeConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
731 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
732 |
product(size_t, MaxNewSize, max_uintx, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
733 |
"Maximum new generation size (in bytes), max_uintx means set " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
734 |
"ergonomically") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
735 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
736 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
737 |
product_pd(size_t, HeapBaseMinAddress, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
738 |
"OS specific low limit for heap base address") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
739 |
constraint(HeapBaseMinAddressConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
740 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
741 |
product(size_t, PretenureSizeThreshold, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
742 |
"Maximum size in bytes of objects allocated in DefNew " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
743 |
"generation; zero means no maximum") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
744 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
745 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
746 |
product(size_t, MinTLABSize, 2*K, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
747 |
"Minimum allowed TLAB size (in bytes)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
748 |
range(1, max_uintx/2) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
749 |
constraint(MinTLABSizeConstraintFunc,AfterMemoryInit) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
750 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
751 |
product(size_t, TLABSize, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
752 |
"Starting TLAB size (in bytes); zero means set ergonomically") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
753 |
constraint(TLABSizeConstraintFunc,AfterMemoryInit) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
754 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
755 |
product(size_t, YoungPLABSize, 4096, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
756 |
"Size of young gen promotion LAB's (in HeapWords)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
757 |
constraint(YoungPLABSizeConstraintFunc,AfterMemoryInit) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
758 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
759 |
product(size_t, OldPLABSize, 1024, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
760 |
"Size of old gen promotion LAB's (in HeapWords), or Number " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
761 |
"of blocks to attempt to claim when refilling CMS LAB's") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
762 |
constraint(OldPLABSizeConstraintFunc,AfterMemoryInit) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
763 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
764 |
product(uintx, TLABAllocationWeight, 35, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
765 |
"Allocation averaging weight") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
766 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
767 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
768 |
/* Limit the lower bound of this flag to 1 as it is used */ \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
769 |
/* in a division expression. */ \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
770 |
product(uintx, TLABWasteTargetPercent, 1, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
771 |
"Percentage of Eden that can be wasted") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
772 |
range(1, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
773 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
774 |
product(uintx, TLABRefillWasteFraction, 64, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
775 |
"Maximum TLAB waste at a refill (internal fragmentation)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
776 |
range(1, max_juint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
777 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
778 |
product(uintx, TLABWasteIncrement, 4, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
779 |
"Increment allowed waste at slow allocation") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
780 |
range(0, max_jint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
781 |
constraint(TLABWasteIncrementConstraintFunc,AfterMemoryInit) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
782 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
783 |
product(uintx, SurvivorRatio, 8, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
784 |
"Ratio of eden/survivor space size") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
785 |
range(1, max_uintx-2) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
786 |
constraint(SurvivorRatioConstraintFunc,AfterMemoryInit) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
787 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
788 |
product(uintx, NewRatio, 2, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
789 |
"Ratio of old/new generation sizes") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
790 |
range(0, max_uintx-1) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
791 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
792 |
product_pd(size_t, NewSizeThreadIncrease, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
793 |
"Additional size added to desired new generation size per " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
794 |
"non-daemon thread (in bytes)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
795 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
796 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
797 |
product(uintx, QueuedAllocationWarningCount, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
798 |
"Number of times an allocation that queues behind a GC " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
799 |
"will retry before printing a warning") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
800 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
801 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
802 |
diagnostic(uintx, VerifyGCStartAt, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
803 |
"GC invoke count where +VerifyBefore/AfterGC kicks in") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
804 |
range(0, max_uintx) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
805 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
806 |
diagnostic(intx, VerifyGCLevel, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
807 |
"Generation level at which to start +VerifyBefore/AfterGC") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
808 |
range(0, 1) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
809 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
810 |
product(uintx, MaxTenuringThreshold, 15, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
811 |
"Maximum value for tenuring threshold") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
812 |
range(0, markOopDesc::max_age + 1) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
813 |
constraint(MaxTenuringThresholdConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
814 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
815 |
product(uintx, InitialTenuringThreshold, 7, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
816 |
"Initial value for tenuring threshold") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
817 |
range(0, markOopDesc::max_age + 1) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
818 |
constraint(InitialTenuringThresholdConstraintFunc,AfterErgo) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
819 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
820 |
product(uintx, TargetSurvivorRatio, 50, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
821 |
"Desired percentage of survivor space used after scavenge") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
822 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
823 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
824 |
product(uintx, MarkSweepDeadRatio, 5, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
825 |
"Percentage (0-100) of the old gen allowed as dead wood. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
826 |
"Serial mark sweep treats this as both the minimum and maximum " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
827 |
"value. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
828 |
"CMS uses this value only if it falls back to mark sweep. " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
829 |
"Par compact uses a variable scale based on the density of the " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
830 |
"generation and treats this as the maximum value when the heap " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
831 |
"is either completely full or completely empty. Par compact " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
832 |
"also has a smaller default value; see arguments.cpp.") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
833 |
range(0, 100) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
834 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
835 |
product(uint, MarkSweepAlwaysCompactCount, 4, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
836 |
"How often should we fully compact the heap (ignoring the dead " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
837 |
"space parameters)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
838 |
range(1, max_juint) \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
839 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
840 |
develop(uintx, GCExpandToAllocateDelayMillis, 0, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
841 |
"Delay between expansion and allocation (in milliseconds)") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
842 |
\ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
843 |
product(uintx, GCDrainStackTargetSize, 64, \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
844 |
"Number of entries we will try to leave on the stack " \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
845 |
"during parallel gc") \ |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
846 |
range(0, max_juint) |
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
847 |
|
947560700a09
8201136: Move GC flags from globals.hpp to GC specific files
stefank
parents:
diff
changeset
|
848 |
#endif // SHARE_GC_SHARED_GC_GLOBALS_HPP |