mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-18 09:27:51 +00:00
8147611: G1 - Missing memory barrier in start_cset_region_for_worker
Reviewed-by: mgerdin, tschatzl
This commit is contained in:
parent
ae7f8632ce
commit
84ae91a490
@ -2551,6 +2551,7 @@ HeapRegion* G1CollectedHeap::start_cset_region_for_worker(uint worker_i) {
|
||||
// Previous workers starting region is valid
|
||||
// so let's iterate from there
|
||||
start_ind = (cs_size * (worker_i - 1)) / active_workers;
|
||||
OrderAccess::loadload();
|
||||
result = _worker_cset_start_region[worker_i - 1];
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user