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

C2: Control randomization in StressLCM and StressGCM

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • hotspot
    • b20

    Description

      StressLCM and StressGCM use a global random number generator, which makes it difficult to repeat a certain execution (for example, for debugging purposes) in the face of concurrent method compilations. They could instead use the compilation-local random generator (Compile::random()) introduced in JDK-8252219 for StressIGVN, which introduces more variability (as it initializes the seed differently in each run) while making stress runs repeatable.

      Note that this would affect the default behavior of StressLCM and StressGCM, as Compile::random() is initialized differently in each run by default (unless StressSeed is used).

      Attachments

        Issue Links

          Activity

            People

              rcastanedalo Roberto Castaneda Lozano
              rcastanedalo Roberto Castaneda Lozano
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: