RFR: 8189103 - AARCH64: optimize String indexOf intrinsic

Andrew Haley aph at redhat.com
Thu Apr 19 17:08:57 UTC 2018


On 04/18/2018 05:09 PM, Dmitrij Pochepko wrote:
> 2) large update of Boyer Moore algorithm implementation by increasing 
> search table size from 128 to 256 to remove few branches for Latin1 
> encoding cases and also improve performance for cases when Latin1 
> symbols with values >128 are met. This patch also significantly improves 
> search of Latin1 string inside UTF string by upgrading algorithm 
> logic(the idea is to skip <pattern length> symbols in case pure UTF 
> symbol is met in source string).

I don't see a change to the comment which describes the algorithm.

Does that comment need to be changed?

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-compiler-dev mailing list