mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
Merge
This commit is contained in:
commit
379e3d6fb6
41 changed files with 218 additions and 142 deletions
|
@ -2170,12 +2170,13 @@ void ConcurrentMark::completeCleanup() {
|
|||
g1h->secondary_free_list_add(&tmp_free_list);
|
||||
SecondaryFreeList_lock->notify_all();
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
if (G1StressConcRegionFreeing) {
|
||||
for (uintx i = 0; i < G1StressConcRegionFreeingDelayMillis; ++i) {
|
||||
os::sleep(Thread::current(), (jlong) 1, false);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
assert(tmp_free_list.is_empty(), "post-condition");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue