RFR: CODETOOLS-7903756 - jcstress shuld not pass debugging parameters to subproceses [v3]
Jiří Vaněk
jvanek at openjdk.org
Wed Jul 3 08:56:57 UTC 2024
> No longer passing any -agentlib to subprocesses, unless it is part of -jvmArgsPrepend, thus allowing to debug both jcstress itself or wrked vm as expected:
>
> java -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005 -jar tests-all/target/jcstress.jar -c 1 -jvmArgsPrepend "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5006"
>
> works.
Jiří Vaněk has updated the pull request incrementally with one additional commit since the last revision:
Moved removeJdwpAgentLib from Options to VMSupport
-------------
Changes:
- all: https://git.openjdk.org/jcstress/pull/150/files
- new: https://git.openjdk.org/jcstress/pull/150/files/41426036..23291cb3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jcstress&pr=150&range=02
- incr: https://webrevs.openjdk.org/?repo=jcstress&pr=150&range=01-02
Stats: 9 lines in 2 files changed: 4 ins; 4 del; 1 mod
Patch: https://git.openjdk.org/jcstress/pull/150.diff
Fetch: git fetch https://git.openjdk.org/jcstress.git pull/150/head:pull/150
PR: https://git.openjdk.org/jcstress/pull/150
More information about the jcstress-dev
mailing list