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

Remove RTM test VMProps

XMLWordPrintable

      In test/jtreg-ext/requires/VMProps.java I don't think these are used anymore with RTM removal.

          /**
           * @return "true" if compiler in use supports RTM and "false" otherwise.
           * Note: Lightweight locking does not support RTM (for now).
           */
          protected String vmRTMCompiler() {
              boolean isRTMCompiler = false;

              if (Compiler.isC2Enabled() &&
                  (Platform.isX86() || Platform.isX64() || Platform.isPPC()) &&
                  is_LM_LIGHTWEIGHT().equals("false")) {
                  isRTMCompiler = true;
              }
              return "" + isRTMCompiler;
          }

          /**
           * @return true if VM runs RTM supported CPU and false otherwise.
           */
          protected String vmRTMCPU() {
              return "" + CPUInfo.hasFeature("rtm");
          }

            Unassigned Unassigned
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: