RFR: 8265240: runtime/Thread/SuspendAtExit.java needs updating [v3]

Daniel D.Daugherty dcubed at openjdk.java.net
Thu Apr 22 17:20:43 UTC 2021


> 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.

Daniel D. Daugherty has updated the pull request incrementally with one additional commit since the last revision:

  dholmes CR - delete unused N_THREADS.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3576/files
  - new: https://git.openjdk.java.net/jdk/pull/3576/files/8235e5f2..a4aac0d2

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3576&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3576&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3576.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3576/head:pull/3576

PR: https://git.openjdk.java.net/jdk/pull/3576


More information about the hotspot-runtime-dev mailing list