RFR: 7903756: jcstress: Skip debugging JVM options for sub-processes [v4]

Jiří Vaněk jvanek at openjdk.org
Mon Jul 8 10:46:18 UTC 2024


On Thu, 4 Jul 2024 06:25:05 GMT, Jiří Vaněk <jvanek at openjdk.org> wrote:

>> 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:
> 
>   Removed unused imports

hi! Ty!

The only reason to not inline the `removeJdwpAgentLib` is need of comment instead of separate method.   But I do not have strong preference.  TYVM for eyball and GH!

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

PR Comment: https://git.openjdk.org/jcstress/pull/150#issuecomment-2213662031


More information about the jcstress-dev mailing list