RFC (S) 8076758: new StringBuilder().append(String).toString() should be recognized by OptimizeStringConcat
aleksey.shipilev at oracle.com
Fri Aug 28 10:12:20 UTC 2015
I would like to see this one fixed, because it touches on pending String
improvements in JDK:
Here is a proof-of-concept patch:
It passes JPRT and fixes the performance issues in microbenchmarks, but
I'm not sure the code change is completely correct, given the history of
OptimizeStringConcat bugs. Could anyone from a compiler team chime in?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the hotspot-compiler-dev