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

Add ability to skip tests when libgraal is used by default

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Withdrawn
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:

      Description

      Currently ProblemList-graal.txt is used to control which tests should be skipped when testing environment enable Graal JIT (-XX:+UseJVMCICompiler).

      Unfortunately it does not work when you enable Graal by default in VM. In such cases we can use @requires !vm.graal.enabled

      In addition we need separate property for case when JDK has libgraal (AOTed Graal) and it is used by default. The test exclusion could be different from Java Graal case.
       
      I am suggesting to add vm.libgraal.enabled property to use in @requires and set it by checking VM flag UseJVMCINativeLibrary.

        Attachments

          Activity

            People

            Assignee:
            kvn Vladimir Kozlov
            Reporter:
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: