hg: jdk9/hs-comp/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
Wed Jun 15 07:31:25 UTC 2016


Changeset: eadc4ebb7755
Author:    thartmann
Date:      2016-06-15 07:58 +0200
URL:       http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/eadc4ebb7755

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 jdk9-hs-comp-changes mailing list