[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: RFR: 8288907: serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java fails with
From:       Serguei Spitsyn <sspitsyn () openjdk ! org>
Date:       2022-09-30 6:41:20
Message-ID: vetMtLi3J8myZv52ZkPRqV9Jq8evs7M63Fk-aykeQJ4=.b97ed189-3806-4ea2-acf7-75676d3fc3ef () github ! com
[Download RAW message or body]

On Thu, 29 Sep 2022 07:21:46 GMT, Serguei Spitsyn <sspitsyn@openjdk.org> wrote:

> The test SuspendResume fails on linux-aarch64 with timeouts.
> However, it never fails when test timeout is set to a bigger value:
> 
> diff --git a/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java \
> b/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java
>  index cd5b8251fce..562f2eae921 100644
> --- a/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java
>                 
> +++ b/test/hotspot/jtreg/serviceability/jvmti/vthread/SuspendResume1/SuspendResume1.java
>  @@ -29,7 +29,7 @@
> * @library /test/lib
> * @compile --enable-preview -source ${jdk.version} SuspendResume1.java
> * @run driver jdk.test.lib.FileInstaller . .
> - * @run main/othervm/native
> + * @run main/othervm/native/timeout=600
> *      --enable-preview
> *      -Djava.util.concurrent.ForkJoinPool.common.parallelism=1
> *      -agentlib:SuspendResume1
> 
> 
> I'd like to push this as a trivial fix.
> 
> Testing: Submitted mach5 test runs on multiple platforms.

Thank you for the comment, Chris. I agree, this test is executed on linux-aarch64 \
much slower than on other platforms. Now, I can move this bug to the Compiler team \
plate or push my fix and open a Compiler bug separately. It feels like you prefer the \
former.

-------------

PR: https://git.openjdk.org/jdk/pull/10480


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic