[ https://issues.apache.org/jira/browse/HBASE-22670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ramkrishna.s.vasudevan updated HBASE-22670: ------------------------------------------- Labels: jdk11 (was: ) > JDK 11 and CellComparator > ------------------------- > > Key: HBASE-22670 > URL: https://issues.apache.org/jira/browse/HBASE-22670 > Project: HBase > Issue Type: Improvement > Affects Versions: 3.0.0 > Reporter: ramkrishna.s.vasudevan > Assignee: ramkrishna.s.vasudevan > Priority: Major > Labels: jdk11 > > This could act as a parent JIRA for analysing JDK 11 and the Comparator impls > that we have. > Latest JDK has support for SIMD and AVX512, which means it has support for > vectorizations. > See JDK11's ArraysSupport#mismatch() and vectorizedMismatch(). > We also have BufferMismatch#mismatch() which is not publicly exposed but it > uses the ArraysSupport#vectorizedMismatch(). > Internally vectorizedMismatch() does something similar to what > UnsafeComparator#compareToUnsafe does. Will add about the details of the > study in further comments. > The JDK also exposes new annotations like @HotSpotIntrinsicCandidate and > @ForceInline tags that helps in inlining the intrinsic calls. -- This message was sent by Atlassian JIRA (v7.6.14#76016)