< prev index next >

src/share/vm/gc/shared/collectedHeap.hpp

Print this page
rev 11970 : imported patch base_volatiles

@@ -351,11 +351,11 @@
     return false;
   }
   // 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 {
+  virtual HeapWord* volatile* top_addr() const {
     guarantee(false, "inline contiguous allocation not supported");
     return NULL;
   }
   virtual HeapWord** end_addr() const {
     guarantee(false, "inline contiguous allocation not supported");
< prev index next >