src/hotspot/share/gc/serial/genMarkSweep.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File open Cdiff src/hotspot/share/gc/serial/genMarkSweep.cpp

src/hotspot/share/gc/serial/genMarkSweep.cpp

Print this page

        

*** 44,66 **** #include "gc/shared/referencePolicy.hpp" #include "gc/shared/referenceProcessorPhaseTimes.hpp" #include "gc/shared/space.hpp" #include "gc/shared/strongRootsScope.hpp" #include "gc/shared/weakProcessor.hpp" - #if INCLUDE_JVMCI - #include "jvmci/jvmci.hpp" - #endif #include "oops/instanceRefKlass.hpp" #include "oops/oop.inline.hpp" #include "prims/jvmtiExport.hpp" #include "runtime/handles.inline.hpp" #include "runtime/synchronizer.hpp" #include "runtime/thread.inline.hpp" #include "runtime/vmThread.hpp" #include "utilities/copy.hpp" #include "utilities/events.hpp" #include "utilities/stack.inline.hpp" void GenMarkSweep::invoke_at_safepoint(ReferenceProcessor* rp, bool clear_all_softrefs) { assert(SafepointSynchronize::is_at_safepoint(), "must be at a safepoint"); GenCollectedHeap* gch = GenCollectedHeap::heap(); --- 44,66 ---- #include "gc/shared/referencePolicy.hpp" #include "gc/shared/referenceProcessorPhaseTimes.hpp" #include "gc/shared/space.hpp" #include "gc/shared/strongRootsScope.hpp" #include "gc/shared/weakProcessor.hpp" #include "oops/instanceRefKlass.hpp" #include "oops/oop.inline.hpp" #include "prims/jvmtiExport.hpp" #include "runtime/handles.inline.hpp" #include "runtime/synchronizer.hpp" #include "runtime/thread.inline.hpp" #include "runtime/vmThread.hpp" #include "utilities/copy.hpp" #include "utilities/events.hpp" #include "utilities/stack.inline.hpp" + #if INCLUDE_JVMCI + #include "jvmci/jvmci.hpp" + #endif void GenMarkSweep::invoke_at_safepoint(ReferenceProcessor* rp, bool clear_all_softrefs) { assert(SafepointSynchronize::is_at_safepoint(), "must be at a safepoint"); GenCollectedHeap* gch = GenCollectedHeap::heap();
*** 235,248 **** CodeCache::do_unloading(&is_alive, purged_class); // Prune dead klasses from subklass/sibling/implementor lists. Klass::clean_weak_klass_links(purged_class); - #if INCLUDE_JVMCI // Clean JVMCI metadata handles. ! JVMCI::do_unloading(&is_alive, purged_class); ! #endif } gc_tracer()->report_object_count_after_gc(&is_alive); } --- 235,246 ---- CodeCache::do_unloading(&is_alive, purged_class); // Prune dead klasses from subklass/sibling/implementor lists. Klass::clean_weak_klass_links(purged_class); // Clean JVMCI metadata handles. ! JVMCI_ONLY(JVMCI::do_unloading(&is_alive, purged_class)); } gc_tracer()->report_object_count_after_gc(&is_alive); }
src/hotspot/share/gc/serial/genMarkSweep.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File