8261229: MethodData is not correctly initialized with TieredStopAtLevel=3

Reviewed-by: thartmann
This commit is contained in:
Igor Veresov 2021-02-08 17:08:36 +00:00
parent 48c932e1f1
commit 29a428f5ea

View File

@ -80,7 +80,7 @@ bool CompilationModeFlag::initialize() {
// Now that the flag is parsed, we can use any methods of CompilerConfig.
if (normal()) {
if (CompilerConfig::is_c1_only()) {
if (CompilerConfig::is_c1_simple_only()) {
_mode = Mode::QUICK_ONLY;
} else if (CompilerConfig::is_c2_or_jvmci_compiler_only()) {
_mode = Mode::HIGH_ONLY;