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

use build-stable default seed for Utils.RANDOM_GENERATOR

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • hotspot
    • b19

      using the same seed for all runs of a build will make it possible (easier) to compare results from different test runs (e.g. on different platforms, w/ different flags) and consequently will make test results analysis easier. the proposed solution is to use the seed based on Runtime.version() / "java.vm.version", which are different from build to build, if there is no seed specified by "jdk.test.lib.random.seed" property.

      a version-based seed is used only for promotable builds (i.e. ones that have build number and it's greater than 0); local and remote/mach5 ad-hoc builds (by default) don't specify a build number, so a random seed value will be used for them. and as before, if "jdk.test.lib.random.seed" is set, its value will be used as seed oblivious to build type.

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

              Created:
              Updated:
              Resolved: