7040410: -Xloggc:<file> incorrectly enables TraceClassUnloading causing tracing on tty
Summary: Don't enable TraceClassUnloading whne -Xloggc is specified.
Reviewed-by: tonyp, ysr
--- a/hotspot/src/share/vm/runtime/arguments.cpp Wed Apr 27 14:40:41 2011 -0700
+++ b/hotspot/src/share/vm/runtime/arguments.cpp Thu Apr 28 15:29:18 2011 -0700
@@ -2376,7 +2376,6 @@
_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)) {