RFR: CODETOOLS-7903756 - jcstress shuld not pass debugging parameters to subproceses

Jiří Vaněk jvanek at openjdk.org
Tue Jul 2 10:42:54 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.

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

Commit messages:
 - CODETOOLS-7903756 - jcstress shuld not pass debugging parameters to subproceses

Changes: https://git.openjdk.org/jcstress/pull/150/files
  Webrev: https://webrevs.openjdk.org/?repo=jcstress&pr=150&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903756
  Stats: 14 lines in 3 files changed: 13 ins; 0 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