RFR: 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm

Leo Korinth lkorinth at openjdk.org
Mon Sep 11 12:50:08 UTC 2023


Make TestArrayAllocatorMallocLimit use createTestJvm (so that the test forwards VM/JAVA_OPTIONS). It seems there is no problem to propagate `-XX:+UnlockExperimentalVMOptions`.

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

Started hs_tier1-5 to see that we do not propagate conflicting flags.

-------------

Commit messages:
 - 8316001: GC: Make TestArrayAllocatorMallocLimit use createTestJvm

Changes: https://git.openjdk.org/jdk/pull/15659/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15659&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316001
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15659.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15659/head:pull/15659

PR: https://git.openjdk.org/jdk/pull/15659


More information about the hotspot-gc-dev mailing list