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

Exclude RTM tests when running with +UseHeavyMonitors

XMLWordPrintable

    • generic
    • generic

      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.

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

              Created:
              Updated: