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 */
23
24 #ifndef SHARE_GC_Z_ZFLAGS_HPP
25 #define SHARE_GC_Z_ZFLAGS_HPP
26
27 #define GC_Z_FLAGS(develop, \
28 develop_pd, \
29 product, \
30 product_pd, \
31 diagnostic, \
32 diagnostic_pd, \
33 experimental, \
34 notproduct, \
35 manageable, \
36 product_rw, \
37 lp64_product, \
38 range, \
39 constraint, \
40 writeable) \
41 \
42 product(ccstr, ZPath, NULL, \
43 "Filesystem path for Java heap backing storage " \
44 "(must be a tmpfs or a hugetlbfs filesystem)") \
45 \
77 "Verify forwarding tables") \
78 \
79 diagnostic(bool, ZSymbolTableUnloading, false, \
80 "Unload unused VM symbols") \
81 \
82 diagnostic(bool, ZWeakRoots, true, \
83 "Treat JNI WeakGlobalRefs and StringTable as weak roots") \
84 \
85 diagnostic(bool, ZConcurrentVMWeakHandles, true, \
86 "Clean VM WeakHandles concurrently") \
87 \
88 diagnostic(bool, ZConcurrentJNIWeakGlobalHandles, true, \
89 "Clean JNI WeakGlobalRefs concurrently") \
90 \
91 diagnostic(bool, ZOptimizeLoadBarriers, true, \
92 "Apply load barrier optimizations") \
93 \
94 develop(bool, ZVerifyLoadBarriers, false, \
95 "Verify that reference loads are followed by barriers")
96
97 #endif // SHARE_GC_Z_ZFLAGS_HPP
|
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 */
23
24 #ifndef SHARE_GC_Z_Z_GLOBALS_HPP
25 #define SHARE_GC_Z_Z_GLOBALS_HPP
26
27 #define GC_Z_FLAGS(develop, \
28 develop_pd, \
29 product, \
30 product_pd, \
31 diagnostic, \
32 diagnostic_pd, \
33 experimental, \
34 notproduct, \
35 manageable, \
36 product_rw, \
37 lp64_product, \
38 range, \
39 constraint, \
40 writeable) \
41 \
42 product(ccstr, ZPath, NULL, \
43 "Filesystem path for Java heap backing storage " \
44 "(must be a tmpfs or a hugetlbfs filesystem)") \
45 \
77 "Verify forwarding tables") \
78 \
79 diagnostic(bool, ZSymbolTableUnloading, false, \
80 "Unload unused VM symbols") \
81 \
82 diagnostic(bool, ZWeakRoots, true, \
83 "Treat JNI WeakGlobalRefs and StringTable as weak roots") \
84 \
85 diagnostic(bool, ZConcurrentVMWeakHandles, true, \
86 "Clean VM WeakHandles concurrently") \
87 \
88 diagnostic(bool, ZConcurrentJNIWeakGlobalHandles, true, \
89 "Clean JNI WeakGlobalRefs concurrently") \
90 \
91 diagnostic(bool, ZOptimizeLoadBarriers, true, \
92 "Apply load barrier optimizations") \
93 \
94 develop(bool, ZVerifyLoadBarriers, false, \
95 "Verify that reference loads are followed by barriers")
96
97 #endif // SHARE_GC_Z_Z_GLOBALS_HPP
|