mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
Merge
This commit is contained in:
commit
344a9becee
539 changed files with 51665 additions and 1091 deletions
|
@ -1046,7 +1046,9 @@ void PSParallelCompact::post_compact()
|
|||
CodeCache::gc_epilogue();
|
||||
JvmtiExport::gc_epilogue();
|
||||
|
||||
COMPILER2_PRESENT(DerivedPointerTable::update_pointers());
|
||||
#if defined(COMPILER2) || INCLUDE_JVMCI
|
||||
DerivedPointerTable::update_pointers();
|
||||
#endif
|
||||
|
||||
ref_processor()->enqueue_discovered_references(NULL);
|
||||
|
||||
|
@ -2044,7 +2046,9 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
|
||||
CodeCache::gc_prologue();
|
||||
|
||||
COMPILER2_PRESENT(DerivedPointerTable::clear());
|
||||
#if defined(COMPILER2) || INCLUDE_JVMCI
|
||||
DerivedPointerTable::clear();
|
||||
#endif
|
||||
|
||||
ref_processor()->enable_discovery();
|
||||
ref_processor()->setup_policy(maximum_heap_compaction);
|
||||
|
@ -2058,8 +2062,10 @@ bool PSParallelCompact::invoke_no_policy(bool maximum_heap_compaction) {
|
|||
&& GCCause::is_user_requested_gc(gc_cause);
|
||||
summary_phase(vmthread_cm, maximum_heap_compaction || max_on_system_gc);
|
||||
|
||||
COMPILER2_PRESENT(assert(DerivedPointerTable::is_active(), "Sanity"));
|
||||
COMPILER2_PRESENT(DerivedPointerTable::set_active(false));
|
||||
#if defined(COMPILER2) || INCLUDE_JVMCI
|
||||
assert(DerivedPointerTable::is_active(), "Sanity");
|
||||
DerivedPointerTable::set_active(false);
|
||||
#endif
|
||||
|
||||
// adjust_roots() updates Universe::_intArrayKlassObj which is
|
||||
// needed by the compaction for filling holes in the dense prefix.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue