mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8024545: make develop and notproduct flag values available in product builds
Reviewed-by: dholmes, kvn
This commit is contained in:
parent
0ccb2841ea
commit
cd7bfac363
13 changed files with 583 additions and 408 deletions
|
@ -202,7 +202,7 @@ bool ClassLoadingService::set_verbose(bool verbose) {
|
|||
MutexLocker m(Management_lock);
|
||||
|
||||
// verbose will be set to the previous value
|
||||
bool succeed = CommandLineFlags::boolAtPut((char*)"TraceClassLoading", &verbose, MANAGEMENT);
|
||||
bool succeed = CommandLineFlags::boolAtPut((char*)"TraceClassLoading", &verbose, Flag::MANAGEMENT);
|
||||
assert(succeed, "Setting TraceClassLoading flag fails");
|
||||
reset_trace_class_unloading();
|
||||
|
||||
|
@ -213,7 +213,7 @@ bool ClassLoadingService::set_verbose(bool verbose) {
|
|||
void ClassLoadingService::reset_trace_class_unloading() {
|
||||
assert(Management_lock->owned_by_self(), "Must own the Management_lock");
|
||||
bool value = MemoryService::get_verbose() || ClassLoadingService::get_verbose();
|
||||
bool succeed = CommandLineFlags::boolAtPut((char*)"TraceClassUnloading", &value, MANAGEMENT);
|
||||
bool succeed = CommandLineFlags::boolAtPut((char*)"TraceClassUnloading", &value, Flag::MANAGEMENT);
|
||||
assert(succeed, "Setting TraceClassUnLoading flag fails");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue