[8u/9] RFR(S): 8159244: Partially initialized string object created by C2's string concat optimization may escape

Andrew Haley aph at redhat.com
Tue Jun 14 10:41:17 UTC 2016


On 14/06/16 11:08, Tobias Hartmann wrote:
> So I wondered why a StoreStoreBarrier is not sufficient in this case.

It probably is, but I'm not certain that we can rely on it, and
it's not much of an efficiency gain for the risk.  We already know
that there are no write-only objects in HotSpot because of locking.

Andrew.



More information about the jdk8u-dev mailing list