8253433: Remove -XX:+Debugging product option
Reviewed-by: kbarrett, stuefe, dholmes
This commit is contained in:
parent
81dae70f67
commit
4d29116d6d
src/hotspot/share
@ -553,6 +553,7 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||
{ "UseSemaphoreGCThreadsSynchronization", JDK_Version::undefined(), JDK_Version::jdk(16), JDK_Version::jdk(17) },
|
||||
{ "ForceNUMA", JDK_Version::jdk(15), JDK_Version::jdk(16), JDK_Version::jdk(17) },
|
||||
{ "InsertMemBarAfterArraycopy", JDK_Version::undefined(), JDK_Version::jdk(16), JDK_Version::jdk(17) },
|
||||
{ "Debugging", JDK_Version::undefined(), JDK_Version::jdk(16), JDK_Version::jdk(17) },
|
||||
|
||||
#ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS
|
||||
// These entries will generate build errors. Their purpose is to test the macros.
|
||||
|
@ -395,10 +395,6 @@ const intx ObjectAlignmentInBytes = 8;
|
||||
notproduct(bool, WalkStackALot, false, \
|
||||
"Trace stack (no print) at every exit from the runtime system") \
|
||||
\
|
||||
product(bool, Debugging, false, \
|
||||
"Set when executing debug methods in debug.cpp " \
|
||||
"(to prevent triggering assertions)") \
|
||||
\
|
||||
notproduct(bool, VerifyLastFrame, false, \
|
||||
"Verify oops on last frame on entry to VM") \
|
||||
\
|
||||
|
@ -71,6 +71,9 @@ static intx g_asserting_thread = 0;
|
||||
static void* g_assertion_context = NULL;
|
||||
#endif // CAN_SHOW_REGISTERS_ON_ASSERT
|
||||
|
||||
// Set to suppress secondary error reporting.
|
||||
bool Debugging = false;
|
||||
|
||||
#ifndef ASSERT
|
||||
# ifdef _DEBUG
|
||||
// NOTE: don't turn the lines below into a comment -- if you're getting
|
||||
@ -367,9 +370,9 @@ class Command : public StackObj {
|
||||
}
|
||||
|
||||
~Command() {
|
||||
tty->flush();
|
||||
Debugging = debug_save;
|
||||
level--;
|
||||
tty->flush();
|
||||
Debugging = debug_save;
|
||||
level--;
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -152,6 +152,10 @@ enum VMErrorType {
|
||||
OOM_MMAP_ERROR = 0xe0000002
|
||||
};
|
||||
|
||||
// Set to suppress secondary error reporting.
|
||||
// Really should have a qualified name or something.
|
||||
extern bool Debugging;
|
||||
|
||||
// error reporting helper functions
|
||||
void report_vm_error(const char* file, int line, const char* error_msg);
|
||||
void report_vm_error(const char* file, int line, const char* error_msg,
|
||||
|
Loading…
x
Reference in New Issue
Block a user