1 /*
2 * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
150 diagnostic_pd, \
151 experimental, \
152 notproduct, \
153 manageable, \
154 product_rw, \
155 lp64_product, \
156 range, \
157 constraint, \
158 writeable)) \
159 \
160 /* gc */ \
161 \
162 product(bool, UseSerialGC, false, \
163 "Use the Serial garbage collector") \
164 \
165 product(bool, UseG1GC, false, \
166 "Use the Garbage-First garbage collector") \
167 \
168 product(bool, UseParallelGC, false, \
169 "Use the Parallel garbage collector.") \
170 \
171 product(bool, UseParallelOldGC, false, \
172 "Use the Parallel or Serial garbage collector when collecting " \
173 "the old generation. Deprecated.") \
174 \
175 experimental(bool, UseEpsilonGC, false, \
176 "Use the Epsilon (no-op) garbage collector") \
177 \
178 experimental(bool, UseZGC, false, \
179 "Use the Z garbage collector") \
180 \
181 experimental(bool, UseShenandoahGC, false, \
182 "Use the Shenandoah garbage collector") \
183 \
184 product(uint, ParallelGCThreads, 0, \
185 "Number of parallel threads parallel gc will use") \
186 constraint(ParallelGCThreadsConstraintFunc,AfterErgo) \
187 \
188 diagnostic(bool, UseSemaphoreGCThreadsSynchronization, true, \
189 "Use semaphore synchronization for the GC Threads, " \
190 "instead of synchronization based on mutexes") \
191 \
192 product(bool, UseDynamicNumberOfGCThreads, true, \
193 "Dynamically choose the number of threads up to a maximum of " \
|
1 /*
2 * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
150 diagnostic_pd, \
151 experimental, \
152 notproduct, \
153 manageable, \
154 product_rw, \
155 lp64_product, \
156 range, \
157 constraint, \
158 writeable)) \
159 \
160 /* gc */ \
161 \
162 product(bool, UseSerialGC, false, \
163 "Use the Serial garbage collector") \
164 \
165 product(bool, UseG1GC, false, \
166 "Use the Garbage-First garbage collector") \
167 \
168 product(bool, UseParallelGC, false, \
169 "Use the Parallel garbage collector.") \
170 \
171 experimental(bool, UseEpsilonGC, false, \
172 "Use the Epsilon (no-op) garbage collector") \
173 \
174 experimental(bool, UseZGC, false, \
175 "Use the Z garbage collector") \
176 \
177 experimental(bool, UseShenandoahGC, false, \
178 "Use the Shenandoah garbage collector") \
179 \
180 product(uint, ParallelGCThreads, 0, \
181 "Number of parallel threads parallel gc will use") \
182 constraint(ParallelGCThreadsConstraintFunc,AfterErgo) \
183 \
184 diagnostic(bool, UseSemaphoreGCThreadsSynchronization, true, \
185 "Use semaphore synchronization for the GC Threads, " \
186 "instead of synchronization based on mutexes") \
187 \
188 product(bool, UseDynamicNumberOfGCThreads, true, \
189 "Dynamically choose the number of threads up to a maximum of " \
|