< prev index next >

src/hotspot/share/gc/shared/genCollectedHeap.cpp

Print this page
rev 60538 : imported patch jep387-misc.patch

*** 57,66 **** --- 57,67 ---- #include "gc/shared/weakProcessor.hpp" #include "gc/shared/workgroup.hpp" #include "memory/filemap.hpp" #include "memory/iterator.hpp" #include "memory/metaspaceCounters.hpp" + #include "memory/metaspace/metaspaceSizesSnapshot.hpp" #include "memory/resourceArea.hpp" #include "memory/universe.hpp" #include "oops/oop.inline.hpp" #include "runtime/biasedLocking.hpp" #include "runtime/handles.hpp"
*** 660,670 **** _old_gen->compute_new_size(); _young_gen->compute_new_size(); // Delete metaspaces for unloaded class loaders and clean up loader_data graph ClassLoaderDataGraph::purge(); ! MetaspaceUtils::verify_metrics(); // Resize the metaspace capacity after full collections MetaspaceGC::compute_new_size(); update_full_collections_completed(); print_heap_change(pre_gc_values); --- 661,671 ---- _old_gen->compute_new_size(); _young_gen->compute_new_size(); // Delete metaspaces for unloaded class loaders and clean up loader_data graph ClassLoaderDataGraph::purge(); ! DEBUG_ONLY(MetaspaceUtils::verify(false);) // Resize the metaspace capacity after full collections MetaspaceGC::compute_new_size(); update_full_collections_completed(); print_heap_change(pre_gc_values);
< prev index next >