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

Performance of bulk copy with segments seems suboptimal

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 18
    • 16, 17
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: