hotspot/src/share/vm/opto/parse1.cpp
changeset 33196 3d84eedbd82c
parent 33180 34e5004f5acb
child 33198 b37ad9fbf681
--- a/hotspot/src/share/vm/opto/parse1.cpp	Fri Oct 16 11:47:04 2015 +0000
+++ b/hotspot/src/share/vm/opto/parse1.cpp	Fri Oct 16 15:48:18 2015 +0200
@@ -397,7 +397,6 @@
   _wrote_stable = false;
   _wrote_fields = false;
   _alloc_with_final = NULL;
-  _alloc_with_stable = NodeSentinel;
   _entry_bci = InvocationEntryBci;
   _tf = NULL;
   _block = NULL;
@@ -971,7 +970,7 @@
   // those also. If there is a predecessor allocation node, bind the
   // barrier there.
   if (wrote_stable()) {
-    _exits.insert_mem_bar(Op_MemBarRelease, alloc_with_stable());
+    _exits.insert_mem_bar(Op_MemBarRelease, alloc_with_final());
 #ifndef PRODUCT
     if (PrintOpto && (Verbose || WizardMode)) {
       method()->print_name();