RFR: 8327704: Update nsk/jdi tests to use driver instead of othervm [v2]
Leonid Mesnik
lmesnik at openjdk.org
Fri Mar 8 22:59:46 UTC 2024
> vmtestbase nsk/jdi tests run 2 processes: debugger and debugee.
> There is not need to start debugger in the separate process for each test. Also, no need to run it with "-Xcomp" because the main goal is to test debugee behavior with different VM flags.
> This fix updates tests to run debugger as driver to optimize execution time.
> The fix also eliminates System.exit() which is not compatible with driver/agentvm mode and update shared classes to correctly add classpath when running debugee.
> There were few tests which still execute using othervm mode. They require some specific classpath/settings.
> Tested by running all tests, with '-Xcomp' and virtual thread test factory.
Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
don't classpath if set by test.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/18174/files
- new: https://git.openjdk.org/jdk/pull/18174/files/3c6eb52a..ce7bbb56
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=18174&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=18174&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/18174.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/18174/head:pull/18174
PR: https://git.openjdk.org/jdk/pull/18174
More information about the serviceability-dev
mailing list