< prev index next >
src/share/vm/runtime/arguments.cpp
Print this page
@@ -2657,15 +2657,11 @@
}
if (FLAG_SET_CMDLINE(bool, TraceClassUnloading, true) != Flag::SUCCESS) {
return JNI_EINVAL;
}
} else if (!strcmp(tail, ":gc")) {
- // LogConfiguration_lock is not set up yet, but this code is executed by a single thread
- bool ret = LogConfiguration::parse_log_arguments("stdout", "gc", NULL, NULL, NULL);
- if (!ret) {
- return JNI_EINVAL;
- }
+ LogConfiguration::configure_stdout(LogLevel::Info, true, LOG_TAGS(gc));
} else if (!strcmp(tail, ":jni")) {
if (FLAG_SET_CMDLINE(bool, PrintJNIResolving, true) != Flag::SUCCESS) {
return JNI_EINVAL;
}
}
< prev index next >