Mercurial > hg > graal-compiler
diff src/share/vm/services/classLoadingService.cpp @ 1147:75bd253e25dd
6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed
Summary: 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
author | ysr |
---|---|
date | Mon, 04 Jan 2010 14:51:26 -0800 |
parents | e018e6884bd8 |
children | c18cbe5936b8 |
line wrap: on
line diff
--- a/src/share/vm/services/classLoadingService.cpp Mon Jan 04 07:58:42 2010 -0800 +++ b/src/share/vm/services/classLoadingService.cpp Mon Jan 04 14:51:26 2010 -0800 @@ -128,7 +128,7 @@ if (TraceClassUnloading) { ResourceMark rm; - gclog_or_tty->print_cr("[Unloading class %s]", k->external_name()); + tty->print_cr("[Unloading class %s]", k->external_name()); } }