comparison src/share/vm/runtime/sweeper.cpp @ 1646:8d5934a77f10

6968385: malformed xml in sweeper logging Reviewed-by: kvn
author never
date Mon, 12 Jul 2010 22:27:18 -0700
parents 2a47bd84841f
children d5d065957597
comparison
equal deleted inserted replaced
1645:3941674cc7fa 1646:8d5934a77f10
420 CodeCache::nof_blobs(), CodeCache::nof_nmethods(), CodeCache::nof_adapters(), CodeCache::unallocated_capacity()); 420 CodeCache::nof_blobs(), CodeCache::nof_nmethods(), CodeCache::nof_adapters(), CodeCache::unallocated_capacity());
421 } 421 }
422 422
423 if (LogCompilation && (xtty != NULL)) { 423 if (LogCompilation && (xtty != NULL)) {
424 ttyLocker ttyl; 424 ttyLocker ttyl;
425 xtty->begin_elem("sweeper state='%s' traversals=`" INTX_FORMAT "' ", msg, (intx)traversal_count()); 425 xtty->begin_elem("sweeper state='%s' traversals='" INTX_FORMAT "' ", msg, (intx)traversal_count());
426 if (format != NULL) { 426 if (format != NULL) {
427 va_list ap; 427 va_list ap;
428 va_start(ap, format); 428 va_start(ap, format);
429 xtty->vprint(format, ap); 429 xtty->vprint(format, ap);
430 va_end(ap); 430 va_end(ap);