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

List:       openjdk-serviceability-dev
Subject:    Integrated: 8265240: runtime/Thread/SuspendAtExit.java needs updating
From:       Daniel D.Daugherty <dcubed () openjdk ! java ! net>
Date:       2021-04-23 14:23:30
Message-ID: K7UYZXx8RcnRYilrYRHl5bwteZBP87lskJSLvCiW8aI=.024e9b1b-0d85-4d8b-8500-f9cda1422d40 () github ! com
[Download RAW message or body]

On Mon, 19 Apr 2021 19:15:18 GMT, Daniel D. Daugherty <dcubed@openjdk.org> wrote:

> I'm updating the runtime/Thread/SuspendAtExit.java test:
> 
> - switch from java.lang.Thread.suspend() to JVM/TI SuspendThread()
> - switch from java.lang.Thread.resume() to JVM/TI ResumeThread()
> - switch from counter-based to time-based testing
> - improve error checking since we're now using an API with error codes!
> 
> I've used this test to stress @robehn's fix for JDK-8257831 using both
> invocation styles for 9 hours each in {fastdebug, release, slowdebug}
> configs without any issues.
> 
> I've run the updated test thru Mach5 Tier[134567] testing; one timeout
> was observed in a single Tier6 run on Win-X64. I believe this is a case of
> a lost Thread.interrupt() call.

This pull request has now been integrated.

Changeset: c9b70c80
Author:    Daniel D. Daugherty <dcubed@openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c9b70c80
Stats:     186 lines in 2 files changed: 144 ins; 12 del; 30 mod

8265240: runtime/Thread/SuspendAtExit.java needs updating

Reviewed-by: rehn, dholmes

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

PR: https://git.openjdk.java.net/jdk/pull/3576
[prev in list] [next in list] [prev in thread] [next in thread] 

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