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
25 #include "precompiled.hpp"
26 #include "jvmci/jvmci_globals.hpp"
27 #include "prims/jvm.h"
28 #include "utilities/defaultStream.hpp"
29 #include "runtime/globals_extension.hpp"
30
31 JVMCI_FLAGS(MATERIALIZE_DEVELOPER_FLAG, \
32 MATERIALIZE_PD_DEVELOPER_FLAG, \
33 MATERIALIZE_PRODUCT_FLAG, \
34 MATERIALIZE_PD_PRODUCT_FLAG, \
35 MATERIALIZE_DIAGNOSTIC_FLAG, \
36 MATERIALIZE_PD_DIAGNOSTIC_FLAG, \
37 MATERIALIZE_EXPERIMENTAL_FLAG, \
38 MATERIALIZE_NOTPRODUCT_FLAG,
39 IGNORE_RANGE, \
40 IGNORE_CONSTRAINT, \
41 IGNORE_WRITEABLE)
42
43 // Return true if jvmci flags are consistent.
44 bool JVMCIGlobals::check_jvmci_flags_are_consistent() {
45
46 #ifndef PRODUCT
47 #define APPLY_JVMCI_FLAGS(params3, params4) \
|
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
25 #include "precompiled.hpp"
26 #include "jvm.h"
27 #include "jvmci/jvmci_globals.hpp"
28 #include "utilities/defaultStream.hpp"
29 #include "runtime/globals_extension.hpp"
30
31 JVMCI_FLAGS(MATERIALIZE_DEVELOPER_FLAG, \
32 MATERIALIZE_PD_DEVELOPER_FLAG, \
33 MATERIALIZE_PRODUCT_FLAG, \
34 MATERIALIZE_PD_PRODUCT_FLAG, \
35 MATERIALIZE_DIAGNOSTIC_FLAG, \
36 MATERIALIZE_PD_DIAGNOSTIC_FLAG, \
37 MATERIALIZE_EXPERIMENTAL_FLAG, \
38 MATERIALIZE_NOTPRODUCT_FLAG,
39 IGNORE_RANGE, \
40 IGNORE_CONSTRAINT, \
41 IGNORE_WRITEABLE)
42
43 // Return true if jvmci flags are consistent.
44 bool JVMCIGlobals::check_jvmci_flags_are_consistent() {
45
46 #ifndef PRODUCT
47 #define APPLY_JVMCI_FLAGS(params3, params4) \
|