RFC (S) 8076758: new StringBuilder().append(String).toString() should be recognized by OptimizeStringConcat
vladimir.kozlov at oracle.com
Fri Aug 28 16:45:02 UTC 2015
Tobias should look on this. I am fine with the idea.
I think these are related to0:
On 8/28/15 3:12 AM, Aleksey Shipilev wrote:
> 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?
More information about the hotspot-compiler-dev