< prev index next >

src/share/vm/services/heapDumper.cpp

Print this page

        

*** 1706,1719 **** HandleMark hm; CollectedHeap* ch = Universe::heap(); ch->ensure_parsability(false); // must happen, even if collection does ! // not happen (e.g. due to GC_locker) if (_gc_before_heap_dump) { ! if (GC_locker::is_active()) { warning("GC locker is held; pre-heapdump GC was skipped"); } else { ch->collect_as_vm_thread(GCCause::_heap_dump); } } --- 1706,1719 ---- HandleMark hm; CollectedHeap* ch = Universe::heap(); ch->ensure_parsability(false); // must happen, even if collection does ! // not happen (e.g. due to GCLocker) if (_gc_before_heap_dump) { ! if (GCLocker::is_active()) { warning("GC locker is held; pre-heapdump GC was skipped"); } else { ch->collect_as_vm_thread(GCCause::_heap_dump); } }
< prev index next >