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.zi...@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.