Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4295

GridUnsafe: implement specialized methods for every kind of copy operation.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.8
    • 2.0
    • general

    Description

      1) copy(OFFHEAP, HEAP)
      2) copy(HEAP, OFFHEAP)
      3) copy(OFFHEAP, OFFHEAP)
      4) copy(HEAP, HEAP)
      5) copy(T[], T[]) must be avoided and replaced with System.arrayCopy().
      6) Add optional threshold. If we copy too small memory chunk which size is below the threshold, then resort to byte-by-byte copying, as it will be faster.

      E.g. on PowerPC with OpenJDK 8, copying of <100 bytes of data is faster on byte-by-byte basis.

      Attachments

        Issue Links

          Activity

            People

              vozerov Vladimir Ozerov
              vozerov Vladimir Ozerov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: