8256552: Let ReplayCompiles set UseDebuggerErgo

Reviewed-by: vlivanov, redestad
This commit is contained in:
Nils Eliasson 2020-11-19 07:45:08 +00:00
parent 4178834deb
commit 8e241b5262

View File

@ -3922,6 +3922,10 @@ bool Arguments::handle_deprecated_print_gc_flags() {
}
static void apply_debugger_ergo() {
if (ReplayCompiles) {
FLAG_SET_ERGO_IF_DEFAULT(UseDebuggerErgo, true);
}
if (UseDebuggerErgo) {
// Turn on sub-flags
FLAG_SET_ERGO_IF_DEFAULT(UseDebuggerErgo1, true);