7040410: -Xloggc:<file> incorrectly enables TraceClassUnloading causing tracing on tty

Don't enable TraceClassUnloading whne -Xloggc is specified.

Reviewed-by: tonyp, ysr
This commit is contained in:
John Cuthbertson 2011-04-28 15:29:18 -07:00
parent b777d36af8
commit 5b3550c107

@ -2376,7 +2376,6 @@ jint Arguments::parse_each_vm_init_arg(const JavaVMInitArgs* args,
_gc_log_filename = strdup(tail);
FLAG_SET_CMDLINE(bool, PrintGC, true);
FLAG_SET_CMDLINE(bool, PrintGCTimeStamps, true);
FLAG_SET_CMDLINE(bool, TraceClassUnloading, true);
// JNI hooks
} else if (match_option(option, "-Xcheck", &tail)) {