String concatenation tweaks

Aleksey Shipilev aleksey.shipilev at
Thu May 21 12:15:09 UTC 2015

On 05/15/2015 01:06 AM, Aleksey Shipilev wrote:
> It actually does not seem that scary. javac changes seem minimal,
> because they basically mirror [1] what is already done for current
> String concat and lambda desugaring.
> JDK side of changes is not too scary as well [2], and it readily lends
> itself to different implementation strategies, including precomputing
> the argument lengths. I realized too late it does not check for argument
> nullity properly, but this is a proof-of-concept patch anyway.

Updated patches:

INNER_SIZED strategy is enabled by default for everything except
java.base. This, and a few other touchups make the patched JDK to build
cleanly, and pass the most java/lang and java/util jtreg tests (there
are seem to be some failures in Indify-based tests).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the compiler-dev mailing list