hg: jdk8u/jdk8u-dev/hotspot: 8159244: Partially initialized string object created by C2's string concat optimization may escape

tobias.hartmann at oracle.com tobias.hartmann at oracle.com
Mon Jun 20 08:16:56 UTC 2016


Changeset: 3e2abbf1320d
Author:    thartmann
Date:      2016-06-20 08:04 +0200
URL:       http://hg.openjdk.java.net/jdk8u/jdk8u-dev/hotspot/rev/3e2abbf1320d

8159244: Partially initialized string object created by C2's string concat optimization may escape
Summary: Emit release barrier after String creation to prevent partially initialized object from escaping.
Reviewed-by: kvn

! src/share/vm/opto/stringopts.cpp
+ test/compiler/stringopts/TestStringObjectInitialization.java



More information about the jdk8u-dev-changes mailing list