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

C2: Control randomization in StressLCM and StressGCM

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: