1.1 --- a/src/share/vm/gc_interface/collectedHeap.cpp Wed Feb 15 09:43:16 2012 +0100 1.2 +++ b/src/share/vm/gc_interface/collectedHeap.cpp Wed Feb 15 10:12:55 2012 -0800 1.3 @@ -62,7 +62,7 @@ 1.4 return; 1.5 } 1.6 1.7 - jlong timestamp = os::javaTimeNanos() / NANOSECS_PER_MILLISEC; 1.8 + double timestamp = fetch_timestamp(); 1.9 MutexLockerEx ml(&_mutex, Mutex::_no_safepoint_check_flag); 1.10 int index = compute_log_index(); 1.11 _records[index].thread = NULL; // Its the GC thread so it's not that interesting. 1.12 @@ -70,9 +70,9 @@ 1.13 _records[index].data.is_before = before; 1.14 stringStream st(_records[index].data.buffer(), _records[index].data.size()); 1.15 if (before) { 1.16 - Universe::print_heap_before_gc(&st); 1.17 + Universe::print_heap_before_gc(&st, true); 1.18 } else { 1.19 - Universe::print_heap_after_gc(&st); 1.20 + Universe::print_heap_after_gc(&st, true); 1.21 } 1.22 } 1.23