[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: 8289607: Change hotspot/jtreg tests to not use Thread.suspend/resume
From: Leonid Mesnik <lmesnik () openjdk ! org>
Date: 2022-09-23 17:48:42
Message-ID: l7GNieWVQKxOMF3Nc1N1GMrsd2fV7FsRm9dY3FapUk0=.6166a444-ed39-49d9-a3f8-604591126c4f () github ! com
[Download RAW message or body]
On Mon, 19 Sep 2022 23:02:42 GMT, Leonid Mesnik <lmesnik@openjdk.org> wrote:
> The Thread.suspend/resume is replaced by JVM TI SuspendThread/ResumeThread whether \
> it is possible. Testcase from test \
> test/hotspot/jtreg/vmTestbase/nsk/jdi/ThreadReference/interrupt/interrupt001.java \
> was removed because only one environment can suspend threads so debugger is not \
> compatible with JVM TI agent suspending test.
> Test test/hotspot/jtreg/runtime/handshake/HandshakeSuspendExitTest.java starts \
> failing because it got JVMTI_ERROR_INTERNAL. The problem is that \
> JvmtiSuspendControl::resume() returned false. However, it might happen only if the \
> thread is not suspended, which means that it should be \
> JVMTI_ERROR_THREAD_NOT_SUSPENDED.
This pull request has now been integrated.
Changeset: 543851db
Author: Leonid Mesnik <lmesnik@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/543851db926469df57a8f4a2bd3458349012145f
Stats: 393 lines in 16 files changed: 163 ins; 168 del; 62 mod
8289607: Change hotspot/jtreg tests to not use Thread.suspend/resume
Reviewed-by: sspitsyn, cjplummer
-------------
PR: https://git.openjdk.org/jdk/pull/10351
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic