--- old/src/share/vm/opto/parse1.cpp 2015-10-10 05:51:58.840469065 -0700 +++ new/src/share/vm/opto/parse1.cpp 2015-10-10 05:51:58.712469065 -0700 @@ -397,6 +397,7 @@ _wrote_stable = false; _wrote_fields = false; _alloc_with_final = NULL; + _alloc_with_stable = NodeSentinel; _entry_bci = InvocationEntryBci; _tf = NULL; _block = NULL; @@ -970,7 +971,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_final()); + _exits.insert_mem_bar(Op_MemBarRelease, alloc_with_stable()); #ifndef PRODUCT if (PrintOpto && (Verbose || WizardMode)) { method()->print_name();