< prev index next >

src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp

Print this page

        

*** 51,60 **** --- 51,63 ---- #include "runtime/vmThread.hpp" #include "services/management.hpp" #include "services/memoryService.hpp" #include "utilities/events.hpp" #include "utilities/stack.inline.hpp" + #if INCLUDE_JFR + #include "jfr/jfr.hpp" + #endif // INCLUDE_JFR PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC elapsedTimer PSMarkSweep::_accumulated_time; jlong PSMarkSweep::_time_of_last_gc = 0;
*** 622,631 **** --- 625,635 ---- // Now adjust pointers in remaining weak roots. (All of which should // have been cleared if they pointed to non-surviving objects.) // Global (weak) JNI handles JNIHandles::weak_oops_do(adjust_pointer_closure()); + JFR_ONLY(Jfr::weak_oops_do(adjust_pointer_closure())); CodeBlobToOopClosure adjust_from_blobs(adjust_pointer_closure(), CodeBlobToOopClosure::FixRelocations); CodeCache::blobs_do(&adjust_from_blobs); StringTable::oops_do(adjust_pointer_closure()); ref_processor()->weak_oops_do(adjust_pointer_closure());
< prev index next >