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

Exclude RTM tests when running with +UseHeavyMonitors

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      compiler/rtm/locking/TestRTMTotalCountIncrRate.java
      compiler/rtm/locking/TestUseRTMAfterLockInflation.java
      compiler/rtm/locking/TestUseRTMForStackLocks.java
      compiler/rtm/method_options/TestNoRTMLockElidingOption.java
      compiler/rtm/method_options/TestUseRTMLockElidingOption.java

      The above RTM tests fail with:

      # fatal error: -XX:+UseHeavyMonitors and -XX:+UseRTMForStackLocks are mutually exclusive

      Which is expected. It should be possible to exclude the tests with @requires vm.opt.UseHeavyMonitors == true or similar.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: