RFR: 8320750: Allow a testcase to run with muliple -Xlog

Leo Korinth lkorinth at openjdk.org
Tue Nov 28 14:14:29 UTC 2023


On Mon, 27 Nov 2023 14:18:25 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> What exactly happens to a testcase which requires two arguments? I guess that we have none, as these would have crashed?

correct.

This bug is introduce by me in https://bugs.openjdk.org/browse/JDK-8317228 where I added support to `@require` on `-X` flags. If someone is running a test case and manually adds multiple JAVA_OPTIONS of the same type: `-Xlog:async -Xlog:gc=debug:file=gc.log -Xlog:safepoint=trace` It would crash.

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

PR Comment: https://git.openjdk.org/jdk/pull/16824#issuecomment-1827946261


More information about the hotspot-dev mailing list