Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8252149: Compilation error after JDK-8252043
Reviewed-by: hseigel
  • Loading branch information
coleenp committed Aug 21, 2020
1 parent d91817e commit 3596e7ed844e6ddfa7c75d5cece36c7cc8dd49c5
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/hotspot/share/classfile/classLoaderDataGraph.cpp
@@ -586,7 +586,8 @@ void ClassLoaderDataGraph::purge(bool at_safepoint) {
// If we're purging metadata at a safepoint, clean remaining
// metaspaces if we need to.
if (at_safepoint) {
if (_should_clean_deallocate_lists || InstanceKlass::has_previous_versions()) {
_safepoint_cleanup_needed = true; // tested and reset next.
if (should_clean_metaspaces_and_reset()) {
walk_metadata_and_clean_metaspaces();
}
} else {

0 comments on commit 3596e7e

Please sign in to comment.