RFR(XXS): 8166767: C2: OptimizeStringConcat produces wrong results when copying UTF16 Strings

Doerr, Martin martin.doerr at sap.com
Tue Sep 27 09:03:12 UTC 2016


can somebody review and sponsor this very small C2 bug fix, please?
PhaseStringOpts::copy_constant_string increments index twice in the copy loop when source and destination are UTF16 encoded.


Thanks and best regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160927/6762087a/attachment-0001.html>

More information about the hotspot-compiler-dev mailing list