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

Add stride to native System.arrayCopy!

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.1.4
    • core-libs
    • sparc
    • solaris_2.5.1



      Name: tb29552 Date: 10/27/97


      For JDK 1.2/1.1.x could you please add overloads of
      the native System.arrayCopy which take a stride
      parameter for both input and output arrays? This
      would greatly accelerate various image and other
      ops. If both input and output stride are 1 it
      would function the same as the existing method.
      If either are > 1 it allows native execution of
      scatter/gather copy, a fundamental op that needs
      acceleration.

      System.arrayCopy(Object[] src, int srcOffset,
      int srcStride, Object[] dest,
              int destOffset, int destStride)

      is an example of the interface.

      If you could also get this into 1.1.5 etc it
      would be great but in any case let it appear in 1.2.

      Thanks!!
      ======================================================================

            jjb Josh Bloch (Inactive)
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: