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

use reproducible random in hotspot tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Delivered
    • Icon: P4 P4
    • 15
    • 15
    • hotspot

      some of hotspot tests still use java.util.Random or Math.random directly, to make tests execution more deterministic it's better to use Utils.getRandomInstance() in all such tests.

      it also makes sense to adopt 'randomness' k/w (used in jdk test suite), so it will be easier to identify tests whose behavior might vary from run to run.

        There are no Sub-Tasks for this issue.

            iignatyev Igor Ignatyev (Inactive)
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: