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

Improve performance of MemorySegment::copy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 24
    • 22, 23, 24
    • core-libs

      The `MemorySegment::copy` operations are relatively slower than the corresponding `System::arrayCopy` and `ByteBuffer.put(srcBuffer)` operations.

      It should be possible to improve performance for at least smaller memory segments.

      Vector operations could potentially be used to improve performance for medium-sized segments.

            pminborg Per-Ake Minborg
            pminborg Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: