RFR: CODETOOLS-7903756 - jcstress shuld not pass debugging parameters to subproceses [v2]
Jiří Vaněk
jvanek at openjdk.org
Wed Jul 3 08:56:57 UTC 2024
On Wed, 3 Jul 2024 08:49:42 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:
>
> Restricted -agentlib:jdwp filtering
Hello! Thanx a lot for review.
The https://github.com/openjdk/jcstress/pull/119 can be closed with its corresponding bug of https://bugs.openjdk.org/browse/CODETOOLS-7903266 , if we agree on merging this (#150) . I had noticed the bug and the PR only I drafted my PR. Sorry.
-------------
PR Comment: https://git.openjdk.org/jcstress/pull/150#issuecomment-2205457780
More information about the jcstress-dev
mailing list