Add stride to native System.arrayCopy!

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P5
    • None
    • Affects Version/s: 1.1.4
    • Component/s: 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!!
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: