Skip to content

Commit 8e241b5

Browse files
author
Nils Eliasson
committed
8256552: Let ReplayCompiles set UseDebuggerErgo
Reviewed-by: vlivanov, redestad
1 parent 4178834 commit 8e241b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/hotspot/share/runtime/arguments.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3922,6 +3922,10 @@ bool Arguments::handle_deprecated_print_gc_flags() {
39223922
}
39233923

39243924
static void apply_debugger_ergo() {
3925+
if (ReplayCompiles) {
3926+
FLAG_SET_ERGO_IF_DEFAULT(UseDebuggerErgo, true);
3927+
}
3928+
39253929
if (UseDebuggerErgo) {
39263930
// Turn on sub-flags
39273931
FLAG_SET_ERGO_IF_DEFAULT(UseDebuggerErgo1, true);

0 commit comments

Comments
 (0)