Need reviewer: JDK 8 CR for Support Integer overflow
rednaxelafx at gmail.com
Fri Feb 3 20:37:42 PST 2012
Yes, I'm sorry for not including enough context when cc'ing.
The original discussion thread starts from . The webrev is at .
For the string concats in multiplyExact():
* the StringBuilder doesn't escape
* it's only concatenating Strings and ints
which should meet the requirements for OptimizeStringConcat to work,
On Sat, Feb 4, 2012 at 1:47 AM, Tom Rodriguez <tom.rodriguez at oracle.com>wrote:
> On Feb 3, 2012, at 12:38 AM, Krystal Mok wrote:
> > Hi Florian,
> > On Fri, Feb 3, 2012 at 4:11 PM, Florian Weimer <fweimer at bfk.de> wrote:
> > Will Hotspot be able to optimize away the string construction on the
> > exception path in multiplyExact() if the exception is caught locally?
> > At least -XX:+OptimizeStringConcat should remove the need to construct a
> StringBuilder instance, in multiplyExact()'s case.
> > Cc'ing hotspot-compiler-dev for confirmation.
> Could we have some context?
> > - Kris
More information about the core-libs-dev