Skip to content

Commit

Permalink
8262097: Improve CompilerConfig ergonomics to fix a VM crash after JD…
Browse files Browse the repository at this point in the history
…K-8261229
  • Loading branch information
DamonFool committed Feb 21, 2021
1 parent 539c80b commit 5a1da64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hotspot/share/compiler/compilerDefinitions.cpp
Expand Up @@ -555,6 +555,8 @@ void CompilerConfig::ergo_initialize() {
if (NeverActAsServerClassMachine) {
set_client_emulation_mode_flags();
}
} else if (!has_c2() && !is_jvmci_compiler()) {
set_client_emulation_mode_flags();
}

set_legacy_emulation_flags();
Expand Down

0 comments on commit 5a1da64

Please sign in to comment.