RFR: 8314831: NMT tests ignore vm flags

Mikhailo Seledtsov mseledtsov at openjdk.org
Wed Sep 6 02:58:18 UTC 2023


Some NMT tests do not pass Java/JVM test command line options (flags) to the child process. Such tests should be examined and broken down into 2 categories:
  - a test intentionally does not pass flags to child process - mark such tests with "@requires vm.flagless"
  - tests did not pass flags to child process by mistake - fix them to use the right ProcessTools method that passes test flags to child process

For details see the JBS issue, including on how the tests were assigned to each category and the reasoning behind it.

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

Commit messages:
 - Updated copyright year
 - Fixed compilation error
 - 8314831: NMT tests ignore vm flags

Changes: https://git.openjdk.org/jdk/pull/15576/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15576&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8314831
  Stats: 29 lines in 11 files changed: 11 ins; 0 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/15576.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15576/head:pull/15576

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


More information about the hotspot-runtime-dev mailing list