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

Avoid native memory allocation in sun.security.mscapi.PRNG.generateSeed

XMLWordPrintable

    • b17
    • windows

        When requested length > 0 this method first allocates native memory block, then allocated another Java-array of the same size and copies the content.

        Instead, the Java array memory could be manipulated directly, which would avoid extra memory allocation and copying.

              igerasim Ivan Gerasimov
              igerasim Ivan Gerasimov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: