hg: jdk7/hotspot-comp/hotspot: 7009359: HS with -XX:+AggressiveOpts optimize new StringBuffer(null) so it does not throw NPE as expected
vladimir.kozlov at oracle.com
vladimir.kozlov at oracle.com
Tue Dec 28 19:37:53 PST 2010
Changeset: 2ddb2fab82cb
Author: kvn
Date: 2010-12-28 17:34 -0800
URL: http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/2ddb2fab82cb
7009359: HS with -XX:+AggressiveOpts optimize new StringBuffer(null) so it does not throw NPE as expected
Summary: Bailout StringConcat optimization if null is passed to StringBuffer constructor.
Reviewed-by: iveresov
! src/share/vm/opto/stringopts.cpp
+ test/compiler/7009359/Test7009359.java
More information about the hotspot-compiler-dev
mailing list