RFR: 8243962: Various JVM TI tests time out using JFR on Windows

Markus Grönlund mgronlun at openjdk.java.net
Fri Oct 16 22:42:17 UTC 2020


Greetings,

JDK-8243962 has been a large effort to chase down intermittent timeouts for certain JVMTI tests when run on Windows
debug builds in combination with JFR. The background is long, included in JDK-8243962.

In short, the combination of some JVMTI thread suspension tests when run together with JFR on saturated Windows 2016
debug builds can intermittently time out.

There have been two major changes made to JFR derived from JDK-8243962 (linked therein) in an attempt to reduce the
poor scalability observed.

Unfortunately, the efforts have not fully resolved the situation entirely as there have still been intermittent
sightings for the following tests:

vmTestbase/nsk/jvmti/scenarios/sampling/SP04/sp04t002/TestDescription.java
vmTestbase/nsk/jvmti/scenarios/sampling/SP04/sp04t001/TestDescription.java
vmTestbase/nsk/jvmti/scenarios/sampling/SP03/sp03t001/TestDescription.java
vmTestbase/nsk/jvmti/scenarios/sampling/SP03/sp03t002/TestDescription.java

This change will add a requires expression to these tests to exclude the combination of running them with JFR on
Windows debug builds.

Thanks
Markus

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

Commit messages:
 - 8243962: Various JVM TI tests time out using JFR on Windows

Changes: https://git.openjdk.java.net/jdk/pull/712/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=712&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8243962
  Stats: 8 lines in 4 files changed: 8 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/712.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/712/head:pull/712

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


More information about the serviceability-dev mailing list