hotspot/src/share/vm/gc/g1/sparsePRT.cpp
changeset 41283 2615c024f3eb
parent 40655 9f644073d3a0
child 46630 75aa3e39d02c
--- a/hotspot/src/share/vm/gc/g1/sparsePRT.cpp	Tue Sep 20 20:22:19 2016 +0200
+++ b/hotspot/src/share/vm/gc/g1/sparsePRT.cpp	Tue Sep 20 15:42:17 2016 -0400
@@ -283,7 +283,7 @@
 
 // ----------------------------------------------------------------------
 
-SparsePRT* SparsePRT::_head_expanded_list = NULL;
+SparsePRT* volatile SparsePRT::_head_expanded_list = NULL;
 
 void SparsePRT::add_to_expanded_list(SparsePRT* sprt) {
   // We could expand multiple times in a pause -- only put on list once.