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,53 ****
--- 44,56 ----
#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"
*** 231,240 ****
--- 234,248 ----
// Unload nmethods.
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);
}
src/hotspot/share/gc/serial/genMarkSweep.cpp
Index
Unified diffs
Context diffs
Sdiffs
Frames
Patch
New
Old
Previous File
Next File