[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: JDK-8328303: 3 JDI tests timed out with UT enabled
From: Alex Menkov <amenkov () openjdk ! org>
Date: 2024-03-22 23:33:26
Message-ID: qtSH4tvBqNmqWQxB__GNDDv7eQ44cK04xHtfIgoVE94=.c09388d8-631c-4781-aad9-ddecded410f5 () github ! com
[Download RAW message or body]
On Thu, 21 Mar 2024 22:25:23 GMT, Alex Menkov <amenkov@openjdk.org> wrote:
> The change fixes 3 nsk JDI tests.
> Root cause in all 3 tests is the same - the tests requests JDI event with \
> SUSPEND_ALL policy, but event handler thread stops handle incoming event and this \
> causes debuggee to hang (suspended by JDI event).
> All 3 tests are updated to exit event handler thread after getting VMDeathEvent or \
> VMDisconnectEvent (and resume debuggee after any other events). ClassPrepareEvent \
> tests need to wait some time to allow handle all expected events before terminate \
> the debuggee. The logic was implemented by using CountDownLatch.
> All tests are passed with "--test-repeat 20"
This pull request has now been integrated.
Changeset: bc739639
Author: Alex Menkov <amenkov@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/bc73963974a824d77d54b8b0edbf8f05262b721c
Stats: 97 lines in 3 files changed: 37 ins; 22 del; 38 mod
8328303: 3 JDI tests timed out with UT enabled
Reviewed-by: cjplummer, sspitsyn, dcubed
-------------
PR: https://git.openjdk.org/jdk/pull/18442
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic