< prev index next >
src/share/vm/services/memoryService.cpp
Print this page
@@ -517,13 +517,13 @@
bool MemoryService::set_verbose(bool verbose) {
MutexLocker m(Management_lock);
// verbose will be set to the previous value
if (verbose) {
- LogConfiguration::parse_log_arguments("stdout", "gc", NULL, NULL, NULL);
+ LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(gc));
} else {
- LogConfiguration::parse_log_arguments("stdout", "gc=off", NULL, NULL, NULL);
+ LogConfiguration::configure_stdout(LogLevel::Off, true, LOG_TAGS(gc));
}
ClassLoadingService::reset_trace_class_unloading();
return verbose;
}
< prev index next >