mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8220343: Move scavenge_root_nmethods from shared code
Reviewed-by: kvn, eosterlund
This commit is contained in:
parent
3796014d86
commit
2370adc703
32 changed files with 521 additions and 399 deletions
|
@ -1061,7 +1061,7 @@ void PSParallelCompact::post_compact()
|
|||
ClassLoaderDataGraph::purge();
|
||||
MetaspaceUtils::verify_metrics();
|
||||
|
||||
CodeCache::gc_epilogue();
|
||||
heap->prune_nmethods();
|
||||
JvmtiExport::gc_epilogue();
|
||||
|
||||
#if COMPILER2_OR_JVMCI
|
||||
|
@ -1807,8 +1807,6 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
// Let the size policy know we're starting
|
||||
size_policy->major_collection_begin();
|
||||
|
||||
CodeCache::gc_prologue();
|
||||
|
||||
#if COMPILER2_OR_JVMCI
|
||||
DerivedPointerTable::clear();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue