[jdk9] RFR: 8160264 : Reuse Latin1/UTF16 compare routines

Paul Sandoz paul.sandoz at oracle.com
Mon Jun 27 07:38:06 UTC 2016


> On 24 Jun 2016, at 16:13, Ivan Gerasimov <ivan.gerasimov at oracle.com> wrote:
> 
> Hello everyone!
> 
> StringLatin1 and StringUTF16 helper classes have a few very symmetric methods for comparing.
> If we reuse them, it will save us a few bytes of generated bytecode.
> 
> Would you please help review this?
> 
> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8160264
> WEBREV: http://cr.openjdk.java.net/~igerasim/8160264/00/webrev/
> 

+1

Paul.


More information about the core-libs-dev mailing list