hotspot/src/share/vm/opto/parse1.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/hotspot/src/share/vm/opto/parse1.cpp	Tue Jul 23 21:21:53 2013
--- new/hotspot/src/share/vm/opto/parse1.cpp	Tue Jul 23 21:21:53 2013

*** 919,929 **** --- 919,930 ---- // "All bets are off" unless the first publication occurs after a // normal return from the constructor. We do not attempt to detect // such unusual early publications. But no barrier is needed on // exceptional returns, since they cannot publish normally. // _exits.insert_mem_bar(Op_MemBarRelease, alloc_with_final()); + // Any method can write a @Stable field, and we give those the same treatment. + _exits.insert_mem_bar(Op_MemBarRelease); #ifndef PRODUCT if (PrintOpto && (Verbose || WizardMode)) { method()->print_name(); tty->print_cr(" writes finals and needs a memory barrier"); }

hotspot/src/share/vm/opto/parse1.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File