[
https://issues.apache.org/jira/browse/HBASE-22670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026146#comment-17026146
]
Michael Stack commented on HBASE-22670:
---------------------------------------
[~ram_krish] good stuff. Seems like its worth spending time in here. Should we
make this a standalone, perf issue so we can close out the parent?
> JDK 11 and CellComparator
> -------------------------
>
> Key: HBASE-22670
> URL: https://issues.apache.org/jira/browse/HBASE-22670
> Project: HBase
> Issue Type: Sub-task
> 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
(v8.3.4#803005)