diff src/share/vm/opto/callnode.hpp @ 4763:1dc233a8c7fe

7121140: Allocation paths require explicit memory synchronization operations for RMO systems Summary: adds store store barrier after initialization of header and body of objects. Reviewed-by: never, kvn
author roland
date Tue, 20 Dec 2011 16:56:50 +0100
parents 1bd45abaa507
children e9a5e0a812c8
line wrap: on
line diff
--- a/src/share/vm/opto/callnode.hpp	Wed Dec 07 11:35:03 2011 +0100
+++ b/src/share/vm/opto/callnode.hpp	Tue Dec 20 16:56:50 2011 +0100
@@ -791,6 +791,10 @@
   // are defined in graphKit.cpp, which sets up the bidirectional relation.)
   InitializeNode* initialization();
 
+  // Return the corresponding storestore barrier (or null if none).
+  // Walks out edges to find it...
+  MemBarStoreStoreNode* storestore();
+
   // Convenience for initialization->maybe_set_complete(phase)
   bool maybe_set_complete(PhaseGVN* phase);
 };