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

Jiří Vaněk jvanek at openjdk.org
Mon Jul 8 10:46:18 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:

  removed redundant space
  
  Co-authored-by: Aleksey Shipilëv <shipilev at amazon.de>

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

Changes:
  - all: https://git.openjdk.org/jcstress/pull/150/files
  - new: https://git.openjdk.org/jcstress/pull/150/files/6ffc620b..2b6b3be3

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

  Stats: 1 line in 1 file changed: 0 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