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

Turn StressLCM/StressGCM flags to diagnostic

    Details

    • Subcomponent:
    • Resolved In Build:
      b127

      Description

      In order to better test the concurrency support in JVM, we introduced StressLCM/StressGCM flags that randomize C2's instruction scheduling:

        develop(bool, StressLCM, false, \
                "Randomize instruction scheduling in LCM") \
                                                                                  \
        develop(bool, StressGCM, false, \
                "Randomize instruction scheduling in GCM") \
                                                                                  \

      This, however, requires fastdebug build, which is not really fast for concurrency testing, as it does lots of asserts in VM codepaths (notably, GC). We would be better off turning these flags to diagnostic, to pop out in product builds.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: