diff src/share/vm/c1/c1_LIRAssembler.hpp @ 4966:701a83c86f28

7120481: storeStore barrier in constructor with final field Summary: Issue storestore barrier before constructor return if the constructor write final field. Reviewed-by: dholmes, jrose, roland, coleenp Contributed-by: Jiangli Zhou <jiangli.zhou@oracle.com>
author jiangli
date Tue, 21 Feb 2012 13:14:55 -0500
parents c124e2e7463e
children da91efe96a93
line wrap: on
line diff
--- a/src/share/vm/c1/c1_LIRAssembler.hpp	Wed Feb 22 14:00:34 2012 -0500
+++ b/src/share/vm/c1/c1_LIRAssembler.hpp	Tue Feb 21 13:14:55 2012 -0500
@@ -241,6 +241,10 @@
   void membar();
   void membar_acquire();
   void membar_release();
+  void membar_loadload();
+  void membar_storestore();
+  void membar_loadstore();
+  void membar_storeload();
   void get_thread(LIR_Opr result);
 
   void verify_oop_map(CodeEmitInfo* info);