optimization for composing strings

Based in discussion on OpenJDK:
https://bugs.openjdk.java.net/browse/JDK-8055723

To avoid an extra StringBuilder created
for the purpose of concatenating. So it will save memory and will faster
than concat String.

And talking with compiler team, it's will not to compiler optimization, so we need to do manually.