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

Parallel: Make TestAggressiveHeap use createTestJvm

XMLWordPrintable

    • gc
    • b16

        Make TestAggressiveHeap use createTestJvm (so that the test forwards VM/JAVA_OPTIONS). The TestAggressiveHeap flag implicitly turns on the parallel gc, thus `@requires vm.gc.Parallel`.

        Tested with:
        `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java JTREG="JAVA_OPTIONS=-XX:+UseParallelGC"` (PASS 1)
        `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java JTREG="JAVA_OPTIONS=-XX:+UseSerialGC"` (PASS 0)
        `make run-test TEST=open/test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java`(PASS 1)


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

                Created:
                Updated:
                Resolved: