6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed

Decoupled TraceClassUnloading from verbose:gc, JVMTI_VERBOSE_GC and PrintGC[Details], making it settable in a manner identical to TraceClassLoading. Reverted an inadvertent change of TraceClassUnloading output in a previous changeset from gclog back to tty.

Reviewed-by: coleenp, dholmes, jmasa, poonam
This commit is contained in:
Y. Srinivas Ramakrishna 2010-01-04 14:51:26 -08:00
parent 1335d16d6e
commit 642d1bc555
3 changed files with 1 additions and 6 deletions

View file

@ -592,7 +592,6 @@ JvmtiEnv::SetVerboseFlag(jvmtiVerboseFlag flag, jboolean value) {
break;
case JVMTI_VERBOSE_GC:
PrintGC = value != 0;
TraceClassUnloading = value != 0;
break;
case JVMTI_VERBOSE_JNI:
PrintJNIResolving = value != 0;