Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8268822

Performance of bulk copy with segments seems suboptimal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 16, 17
    • Fix Version/s: 18
    • Component/s: core-libs

      Description

      This branch:

      https://github.com/openjdk/panama-foreign/compare/foreign-jextract...mcimadamore:small_copy_benchmark?expand=1

      Contains a new benchmark "TestSmallCopy". No matter how the copy is done (slicing, or static method), the performance of the segment version is worse than when using unsafe directly.

      This could be a result of the added safety check which are added by the segment version, but I believe we should investigate this deeper, as something related seems to be causing issues with Lucene.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlivanov Vladimir Ivanov
              Reporter:
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: