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

GC: Make TestDisableDefaultGC use createTestJvm

    XMLWordPrintable

Details

    • gc
    • b20

    Backports

      Description

        There seems there is no need to strip external vm flags. The `@requires vm.gc=="null"` will handle the case when we iterate different GCs and we will then just skip the test.

        Tested with:
        `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestDisableDefaultGC.java JTREG='RETAIN=all;VERBOSE=all;JAVA_OPTIONS=-XX:+UseG1GC'` -> total 0
        `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestDisableDefaultGC.java` -> success

        started tier 1-5

        Attachments

          Issue Links

            Activity

              People

                lkorinth Leo Korinth
                lkorinth Leo Korinth
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: