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

Jiří Vaněk jvanek at openjdk.org
Wed Jul 3 08:49:42 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:

  Restricted -agentlib:jdwp filtering

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

Changes:
  - all: https://git.openjdk.org/jcstress/pull/150/files
  - new: https://git.openjdk.org/jcstress/pull/150/files/5266af04..41426036

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jcstress&pr=150&range=01
 - incr: https://webrevs.openjdk.org/?repo=jcstress&pr=150&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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