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 "code/codeCache.hpp"
27 #include "runtime/globals.hpp"
28 #include "runtime/globals_extension.hpp"
29 #include "compiler/compilerDefinitions.hpp"
30 #include "gc/shared/gcConfig.hpp"
31 #include "utilities/defaultStream.hpp"
32
33 const char* compilertype2name_tab[compiler_number_of_types] = {
34 "",
35 "c1",
36 "c2",
37 "jvmci"
38 };
39
40 #ifdef TIERED
41 bool CompilationModeFlag::_quick_only = false;
42 bool CompilationModeFlag::_high_only = false;
43 bool CompilationModeFlag::_high_only_quick_internal = false;
44
45
46 bool CompilationModeFlag::initialize() {
47 if (CompilationMode != NULL) {
48 if (strcmp(CompilationMode, "default") == 0) {
|
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 "code/codeCache.hpp"
27 #include "runtime/globals.hpp"
28 #include "compiler/compilerDefinitions.hpp"
29 #include "gc/shared/gcConfig.hpp"
30 #include "utilities/defaultStream.hpp"
31
32 const char* compilertype2name_tab[compiler_number_of_types] = {
33 "",
34 "c1",
35 "c2",
36 "jvmci"
37 };
38
39 #ifdef TIERED
40 bool CompilationModeFlag::_quick_only = false;
41 bool CompilationModeFlag::_high_only = false;
42 bool CompilationModeFlag::_high_only_quick_internal = false;
43
44
45 bool CompilationModeFlag::initialize() {
46 if (CompilationMode != NULL) {
47 if (strcmp(CompilationMode, "default") == 0) {
|