[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: 8327704: Update nsk/jdi tests to use driver instead of othervm
From: Leonid Mesnik <lmesnik () openjdk ! org>
Date: 2024-03-21 22:38:28
Message-ID: mWJiMHcJtxfxE9CJGN4g9OxWThJWa2ZjoYd1eCSRHPE=.5b53b221-83f6-418f-aec5-fd8d2ee51095 () github ! com
[Download RAW message or body]
On Fri, 8 Mar 2024 20:33:37 GMT, Leonid Mesnik <lmesnik@openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 771f6a2f
Author: Leonid Mesnik <lmesnik@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/771f6a2f8e236e224b0e33b89f664c4bfc49e595
Stats: 7430 lines in 2080 files changed: 2794 ins; 228 del; 4408 mod
8327704: Update nsk/jdi tests to use driver instead of othervm
Reviewed-by: sspitsyn, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/18174
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic