Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22670

JDK 11 and CellComparator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0-alpha-1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: