< prev index next >

src/share/vm/gc_implementation/g1/g1MarkSweep.cpp

Print this page

        

*** 50,59 **** --- 50,62 ---- #include "runtime/synchronizer.hpp" #include "runtime/thread.hpp" #include "runtime/vmThread.hpp" #include "utilities/copy.hpp" #include "utilities/events.hpp" + #if INCLUDE_JFR + #include "jfr/jfr.hpp" + #endif // INCLUDE_JFR class HeapRegion; void G1MarkSweep::invoke_at_safepoint(ReferenceProcessor* rp, bool clear_all_softrefs) {
*** 259,268 **** --- 262,272 ---- g1h->ref_processor_stw()->weak_oops_do(&GenMarkSweep::adjust_pointer_closure); // Now adjust pointers in remaining weak roots. (All of which should // have been cleared if they pointed to non-surviving objects.) JNIHandles::weak_oops_do(&GenMarkSweep::adjust_pointer_closure); + JFR_ONLY(Jfr::weak_oops_do(&GenMarkSweep::adjust_pointer_closure)); if (G1StringDedup::is_enabled()) { G1StringDedup::oops_do(&GenMarkSweep::adjust_pointer_closure); }
< prev index next >