[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: 8269770: nsk tests should start IOPipe channel before launch debuggee - Debugee.prepareD
From: Alex Menkov <amenkov () openjdk ! java ! net>
Date: 2021-08-31 22:46:52
Message-ID: 0dx8z1T2zxQAbsZz5_SEKhWsf9WtFbP-hygT5RtiBXU=.9cd38b33-3edd-45dd-97c0-590b52551c8b () github ! com
[Download RAW message or body]
On Thu, 1 Jul 2021 23:21:03 GMT, Alex Menkov <amenkov@openjdk.org> wrote:
> The change fixes several hundreds tests which launch debugee by using uses \
> Debugee.prepareDebugee() method or use debugee = Binder.bindToDebugee(...);
> IOPipe pipe = debugee.createIOPipe();
> logic.
> Debugee.prepareDebugee() and Binder.bindToDebugee() launch debuggee by using \
> CommandLineLaunch JDI connector with suspend=="true" argument, so they return \
> debuggee suspended before the main class is loaded. The fix starts IOPipe listening \
> before debuggee VM is resumed.
> Simplified isPackagePrivate/accipp001.java test to use Debugee.prepareDebugee() - \
> it does exactly the same as Debugee.prepareDebugee() does (the only difference is \
> using deprecated IOPipe ctor instead of Debugee.createIOPipe())
> Tested all affected tests:
> test/hotspot/jtreg/vmTestbase/nsk/jdi
> test/hotspot/jtreg/vmTestbase/nsk/jdwp
> test/hotspot/jtreg/serviceability/dcmd
This pull request has now been integrated.
Changeset: 18a731a3
Author: Alex Menkov <amenkov@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/18a731a3e4ec85f0f3e8d6ff619b539c0daaf320
Stats: 31 lines in 3 files changed: 4 ins; 19 del; 8 mod
8269770: nsk tests should start IOPipe channel before launch debuggee - \
Debugee.prepareDebugee
Reviewed-by: sspitsyn, kevinw
-------------
PR: https://git.openjdk.java.net/jdk/pull/4659
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic