[
https://issues.apache.org/jira/browse/HBASE-22670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17026440#comment-17026440
]
ramkrishna.s.vasudevan commented on HBASE-22670:
------------------------------------------------
Yes we can. I may not be able to do those perf tests again but it is better we
can make it a standalone issue and then 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)