Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/hotspot/share/runtime/arguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3415,7 +3415,7 @@ bool Arguments::handle_deprecated_print_gc_flags() {
}

static void apply_debugger_ergo() {
#ifndef PRODUCT
#ifdef ASSERT
if (ReplayCompiles) {
FLAG_SET_ERGO_IF_DEFAULT(UseDebuggerErgo, true);
}
Expand All @@ -3433,7 +3433,7 @@ static void apply_debugger_ergo() {
FLAG_SET_ERGO_IF_DEFAULT(ParallelGCThreads, 1);
FLAG_SET_ERGO_IF_DEFAULT(CICompilerCount, 2);
}
#endif
#endif // ASSERT
}

// Parse entry point called from JNI_CreateJavaVM
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/flags/jvmFlag.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class JVMFlag {
NONE = 0,
DIAGNOSTIC_FLAG_BUT_LOCKED,
EXPERIMENTAL_FLAG_BUT_LOCKED,
DEVELOPER_FLAG_BUT_PRODUCT_BUILD,
DEVELOPER_FLAG_BUT_PRODUCT_BUILD
};

#define JVM_FLAG_NON_STRING_TYPES_DO(f) \
Expand Down