Replace concat String to append in StringBuilder parameters
Ulf Zibis
Ulf.Zibis at CoSoCo.de
Thu Aug 28 18:17:40 UTC 2014
I mean:
It does not output byte code that only uses a single char array to compose the entire String in
question.
With "optimization fails", I also mean, there is used an additional "StringComposer" e.g. another
StringBuilder or a StringJoiner in addition to the 1st StringBuilder.
-Ulf
Am 27.08.2014 um 14:02 schrieb Pavel Rappo:
> Could you please explain what you mean by "javac optimization fails" here?
>
> -Pavel
>
> On 27 Aug 2014, at 10:41, Ulf Zibis <Ulf.Zibis at CoSoCo.de> wrote:
>
>> 4.) Now we see, that javac optimization fails again if StringBuilder, concatenation, toString(), append(String), append(Collection) etc. and StringJoiner use is mixed.
>
More information about the core-libs-dev
mailing list