Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals_extension.hpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | cefad50507d8 63a4eb8bcd23 |
children | 1415a62ac8b2 |
comparison
equal
deleted
inserted
replaced
14141:f97c5ec83832 | 14518:d8041d695d19 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 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 | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
29 #include "utilities/macros.hpp" | 29 #include "utilities/macros.hpp" |
30 #include "utilities/top.hpp" | 30 #include "utilities/top.hpp" |
31 | 31 |
32 // Construct enum of Flag_<cmdline-arg> constants. | 32 // Construct enum of Flag_<cmdline-arg> constants. |
33 | 33 |
34 // Parens left off in the following for the enum decl below. | 34 // Parenthesis left off in the following for the enum decl below. |
35 #define FLAG_MEMBER(flag) Flag_##flag | 35 #define FLAG_MEMBER(flag) Flag_##flag |
36 | 36 |
37 #define RUNTIME_PRODUCT_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), | 37 #define RUNTIME_PRODUCT_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), |
38 #define RUNTIME_PD_PRODUCT_FLAG_MEMBER(type, name, doc) FLAG_MEMBER(name), | 38 #define RUNTIME_PD_PRODUCT_FLAG_MEMBER(type, name, doc) FLAG_MEMBER(name), |
39 #define RUNTIME_DIAGNOSTIC_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), | 39 #define RUNTIME_DIAGNOSTIC_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), |
218 static void boolAtPut(CommandLineFlagWithType flag, bool value, Flag::Flags origin); | 218 static void boolAtPut(CommandLineFlagWithType flag, bool value, Flag::Flags origin); |
219 static void intxAtPut(CommandLineFlagWithType flag, intx value, Flag::Flags origin); | 219 static void intxAtPut(CommandLineFlagWithType flag, intx value, Flag::Flags origin); |
220 static void uintxAtPut(CommandLineFlagWithType flag, uintx value, Flag::Flags origin); | 220 static void uintxAtPut(CommandLineFlagWithType flag, uintx value, Flag::Flags origin); |
221 static void uint64_tAtPut(CommandLineFlagWithType flag, uint64_t value, Flag::Flags origin); | 221 static void uint64_tAtPut(CommandLineFlagWithType flag, uint64_t value, Flag::Flags origin); |
222 static void doubleAtPut(CommandLineFlagWithType flag, double value, Flag::Flags origin); | 222 static void doubleAtPut(CommandLineFlagWithType flag, double value, Flag::Flags origin); |
223 // Contract: Flag will make private copy of the incoming value | |
223 static void ccstrAtPut(CommandLineFlagWithType flag, ccstr value, Flag::Flags origin); | 224 static void ccstrAtPut(CommandLineFlagWithType flag, ccstr value, Flag::Flags origin); |
224 | 225 |
225 static bool is_default(CommandLineFlag flag); | 226 static bool is_default(CommandLineFlag flag); |
226 static bool is_ergo(CommandLineFlag flag); | 227 static bool is_ergo(CommandLineFlag flag); |
227 static bool is_cmdline(CommandLineFlag flag); | 228 static bool is_cmdline(CommandLineFlag flag); |