提交 4d91127c 编写于 作者: A andrew

8147611: G1 - Missing memory barrier in start_cset_region_for_worker

Reviewed-by: mgerdin, tschatzl
上级 0ee34c28
...@@ -2790,6 +2790,7 @@ HeapRegion* G1CollectedHeap::start_cset_region_for_worker(uint worker_i) { ...@@ -2790,6 +2790,7 @@ HeapRegion* G1CollectedHeap::start_cset_region_for_worker(uint worker_i) {
// Previous workers starting region is valid // Previous workers starting region is valid
// so let's iterate from there // so let's iterate from there
start_ind = (cs_size * (worker_i - 1)) / active_workers; start_ind = (cs_size * (worker_i - 1)) / active_workers;
OrderAccess::loadload();
result = _worker_cset_start_region[worker_i - 1]; result = _worker_cset_start_region[worker_i - 1];
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册