--- a/hotspot/src/share/vm/gc/shared/generation.hpp Tue Sep 20 20:22:19 2016 +0200
+++ b/hotspot/src/share/vm/gc/shared/generation.hpp Tue Sep 20 15:42:17 2016 -0400
@@ -263,7 +263,7 @@
// These functions return the addresses of the fields that define the
// boundaries of the contiguous allocation area. (These fields should be
// physically near to one another.)
- virtual HeapWord** top_addr() const { return NULL; }
+ virtual HeapWord* volatile* top_addr() const { return NULL; }
virtual HeapWord** end_addr() const { return NULL; }
// Thread-local allocation buffers