1 /*
2 * Copyright (c) 1997, 2017, 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 *
1106 product(bool, MustCallLoadClassInternal, false, \
1107 "Call loadClassInternal() rather than loadClass()") \
1108 \
1109 product_pd(bool, DontYieldALot, \
1110 "Throw away obvious excess yield calls (for Solaris only)") \
1111 \
1112 product_pd(bool, ConvertSleepToYield, \
1113 "Convert sleep(0) to thread yield " \
1114 "(may be off for Solaris to improve GUI)") \
1115 \
1116 product(bool, ConvertYieldToSleep, false, \
1117 "Convert yield to a sleep of MinSleepInterval to simulate Win32 " \
1118 "behavior (Solaris only)") \
1119 \
1120 product(bool, UseBoundThreads, true, \
1121 "Bind user level threads to kernel threads (for Solaris only)") \
1122 \
1123 develop(bool, UseDetachedThreads, true, \
1124 "Use detached threads that are recycled upon termination " \
1125 "(for Solaris only)") \
1126 \
1127 product(bool, UseLWPSynchronization, true, \
1128 "Use LWP-based instead of libthread-based synchronization " \
1129 "(SPARC only)") \
1130 \
1131 product(ccstr, SyncKnobs, NULL, \
1132 "(Unstable) Various monitor synchronization tunables") \
1133 \
1134 product(intx, EmitSync, 0, \
1135 "(Unsafe, Unstable) " \
1136 "Control emission of inline sync fast-path code") \
1137 \
1138 product(intx, MonitorBound, 0, "Bound Monitor population") \
1139 \
1140 product(bool, MonitorInUseLists, false, "Track Monitors for Deflation") \
1141 \
1142 product(intx, SyncFlags, 0, "(Unsafe, Unstable) Experimental Sync flags") \
1143 \
1144 product(intx, SyncVerbose, 0, "(Unstable)") \
1145 \
|
1 /*
2 * Copyright (c) 1997, 2018, 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 *
1106 product(bool, MustCallLoadClassInternal, false, \
1107 "Call loadClassInternal() rather than loadClass()") \
1108 \
1109 product_pd(bool, DontYieldALot, \
1110 "Throw away obvious excess yield calls (for Solaris only)") \
1111 \
1112 product_pd(bool, ConvertSleepToYield, \
1113 "Convert sleep(0) to thread yield " \
1114 "(may be off for Solaris to improve GUI)") \
1115 \
1116 product(bool, ConvertYieldToSleep, false, \
1117 "Convert yield to a sleep of MinSleepInterval to simulate Win32 " \
1118 "behavior (Solaris only)") \
1119 \
1120 product(bool, UseBoundThreads, true, \
1121 "Bind user level threads to kernel threads (for Solaris only)") \
1122 \
1123 develop(bool, UseDetachedThreads, true, \
1124 "Use detached threads that are recycled upon termination " \
1125 "(for Solaris only)") \
1126 \
1127 experimental(bool, DisablePrimordialThreadGuardPages, false, \
1128 "Disable the use of stack guard pages if the JVM is loaded " \
1129 "on the primordial process thread") \
1130 \
1131 product(bool, UseLWPSynchronization, true, \
1132 "Use LWP-based instead of libthread-based synchronization " \
1133 "(SPARC only)") \
1134 \
1135 product(ccstr, SyncKnobs, NULL, \
1136 "(Unstable) Various monitor synchronization tunables") \
1137 \
1138 product(intx, EmitSync, 0, \
1139 "(Unsafe, Unstable) " \
1140 "Control emission of inline sync fast-path code") \
1141 \
1142 product(intx, MonitorBound, 0, "Bound Monitor population") \
1143 \
1144 product(bool, MonitorInUseLists, false, "Track Monitors for Deflation") \
1145 \
1146 product(intx, SyncFlags, 0, "(Unsafe, Unstable) Experimental Sync flags") \
1147 \
1148 product(intx, SyncVerbose, 0, "(Unstable)") \
1149 \
|