Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit

Permalink
8252149: Compilation error after JDK-8252043
Browse files Browse the repository at this point in the history
Reviewed-by: hseigel
  • Loading branch information
coleenp committed Aug 21, 2020
1 parent d91817e commit 3596e7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/share/classfile/classLoaderDataGraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3596e7e

Please sign in to comment.