diff src/share/vm/memory/barrierSet.hpp @ 5984:fd09f2d8283e

7157141: crash in 64 bit with corrupted oops Reviewed-by: kvn, iveresov
author never
date Mon, 02 Apr 2012 16:05:56 -0700
parents 0ac769a57c64
children d2a62e0f25eb
line wrap: on
line diff
--- a/src/share/vm/memory/barrierSet.hpp	Fri Mar 30 14:18:17 2012 -0700
+++ b/src/share/vm/memory/barrierSet.hpp	Mon Apr 02 16:05:56 2012 -0700
@@ -181,6 +181,8 @@
   // within the heap, this function tells whether they are met.
   virtual bool is_aligned(HeapWord* addr) = 0;
 
+  // Print a description of the memory for the barrier set
+  virtual void print_on(outputStream* st) const = 0;
 };
 
 #endif // SHARE_VM_MEMORY_BARRIERSET_HPP