mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8253433: Remove -XX:+Debugging product option
Reviewed-by: kbarrett, stuefe, dholmes
This commit is contained in:
parent
81dae70f67
commit
4d29116d6d
4 changed files with 11 additions and 7 deletions
|
@ -553,6 +553,7 @@ static SpecialFlag const special_jvm_flags[] = {
|
||||||
{ "UseSemaphoreGCThreadsSynchronization", JDK_Version::undefined(), JDK_Version::jdk(16), JDK_Version::jdk(17) },
|
{ "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) },
|
{ "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) },
|
{ "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
|
#ifdef TEST_VERIFY_SPECIAL_JVM_FLAGS
|
||||||
// These entries will generate build errors. Their purpose is to test the macros.
|
// 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, \
|
notproduct(bool, WalkStackALot, false, \
|
||||||
"Trace stack (no print) at every exit from the runtime system") \
|
"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, \
|
notproduct(bool, VerifyLastFrame, false, \
|
||||||
"Verify oops on last frame on entry to VM") \
|
"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;
|
static void* g_assertion_context = NULL;
|
||||||
#endif // CAN_SHOW_REGISTERS_ON_ASSERT
|
#endif // CAN_SHOW_REGISTERS_ON_ASSERT
|
||||||
|
|
||||||
|
// Set to suppress secondary error reporting.
|
||||||
|
bool Debugging = false;
|
||||||
|
|
||||||
#ifndef ASSERT
|
#ifndef ASSERT
|
||||||
# ifdef _DEBUG
|
# ifdef _DEBUG
|
||||||
// NOTE: don't turn the lines below into a comment -- if you're getting
|
// NOTE: don't turn the lines below into a comment -- if you're getting
|
||||||
|
|
|
@ -152,6 +152,10 @@ enum VMErrorType {
|
||||||
OOM_MMAP_ERROR = 0xe0000002
|
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
|
// 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);
|
||||||
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…
Add table
Add a link
Reference in a new issue