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

Scalability bottleneck in NativePRNG

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      RandomIO.implNextBytes() in NativePRNG class can become a bottleneck at high contention. This shows up as the hottest lock in SPECjvm crypto.rsa benchmark.

      We think we avoid the lock by bypassing the global buffer (at least for "large enough data"). Or perhaps even using user-level library and bypassing /dev/random in some environments.

      This calls for some research on our part and consulting before putting together patch.

            Unassigned Unassigned
            drwhite Derek White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: