--- a/hotspot/src/share/vm/gc/shared/genCollectedHeap.hpp Tue Sep 20 20:22:19 2016 +0200
+++ b/hotspot/src/share/vm/gc/shared/genCollectedHeap.hpp Tue Sep 20 15:42:17 2016 -0400
@@ -184,7 +184,7 @@
// We may support a shared contiguous allocation area, if the youngest
// generation does.
bool supports_inline_contig_alloc() const;
- HeapWord** top_addr() const;
+ HeapWord* volatile* top_addr() const;
HeapWord** end_addr() const;
// Perform a full collection of the heap; intended for use in implementing