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

Switch RNG in NMT's treap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • b04

      NMT's treap implementation originally used JFR's PRNG implementation and seeded it with os::random. This turns out to lead to poor performance at times, as JFR's PRNG only has 48 bits of entropy. We can improve the situation markedly by implementing a better RNG (for example, achieving 64 bits of entropy via os::next_random).

            jsjolen Johan Sjölen
            jsjolen Johan Sjölen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: