< prev index next >

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

Print this page

        

*** 56,65 **** --- 56,68 ---- #include "services/management.hpp" #include "services/memoryService.hpp" #include "services/memTracker.hpp" #include "utilities/events.hpp" #include "utilities/stack.inline.hpp" + #if INCLUDE_JFR + #include "jfr/jfr.hpp" + #endif // INCLUDE_JFR #include <math.h> PRAGMA_FORMAT_MUTE_WARNINGS_FOR_GCC
*** 2462,2471 **** --- 2465,2475 ---- // 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 >