hotspot/src/share/vm/gc/parallel/psYoungGen.hpp
changeset 41283 2615c024f3eb
parent 30764 fec48bf5a827
--- a/hotspot/src/share/vm/gc/parallel/psYoungGen.hpp	Tue Sep 20 20:22:19 2016 +0200
+++ b/hotspot/src/share/vm/gc/parallel/psYoungGen.hpp	Tue Sep 20 15:42:17 2016 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2001, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -162,7 +162,7 @@
     return result;
   }
 
-  HeapWord** top_addr() const   { return eden_space()->top_addr(); }
+  HeapWord* volatile* top_addr() const   { return eden_space()->top_addr(); }
   HeapWord** end_addr() const   { return eden_space()->end_addr(); }
 
   // Iteration.