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

java.security.SecureRandom.nextBytes() takes a long time.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 5.0u11
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      1.5.0_11-b03

      ADDITIONAL OS VERSION INFORMATION :
      Red Hat Linux version 5(RHEL5)

      A DESCRIPTION OF THE PROBLEM :
      When we run our java based tool on RHEL5 is taking a long time to complete. After doing some investigation and debugging, found out that the SecureRandom methods (especially SecureRandom.nextBytes) were taking a long time(in the matter of seconds and even a minute at times) to complete.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      A stand-alone program which uses SecureRandom.nextBytes should be able to reproduce the problem onm RHEL5.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The intended operation will take a while to complete. This performance is not acceptable. The performance should match with what we see on RHEL5.
      ACTUAL -
      The intended operation will take a while to complete.

      REPRODUCIBILITY :
      This bug can be reproduced often.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wetmore Bradford Wetmore
                Reporter:
                mbykov Misha Bykov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: