Skip to content

Commit

Permalink
8256552: Let ReplayCompiles set UseDebuggerErgo
Browse files Browse the repository at this point in the history
Reviewed-by: vlivanov, redestad
  • Loading branch information
Nils Eliasson committed Nov 19, 2020
1 parent 4178834 commit 8e241b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hotspot/share/runtime/arguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

1 comment on commit 8e241b5

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.