changeset 35532:929dfc251a28

8147611: G1 - Missing memory barrier in start_cset_region_for_worker Reviewed-by: mgerdin, tschatzl
author asiebenborn
date Tue, 19 Jan 2016 09:39:28 +0100
parents 51293eef580c
children 34c4de098f2b
files hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp	Tue Jan 19 05:28:34 2016 -0800
+++ b/hotspot/src/share/vm/gc/g1/g1CollectedHeap.cpp	Tue Jan 19 09:39:28 2016 +0100
@@ -2551,6 +2551,7 @@
     // 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];
   }