Integrated: 8247776: JFR: TestThreadContextSwitches.java failed "RuntimeException: No events: expected false, was true"

Erik Gahlin egahlin at openjdk.org
Tue Oct 7 15:42:18 UTC 2025


On Mon, 6 Oct 2025 17:24:33 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Could I have a review of a PR that retries if a Thread Context Switch Rate event is not emitted on Windows? This is similar to TestCPULoad.
> 
> Testing: 500 * jdk/jdk/jfr/event/TestThreadContextSwitches.java
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: eb729f0a
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/eb729f0aaa2297c3b3dbadadf40a502d2d9ed124
Stats:     20 lines in 1 file changed: 11 ins; 0 del; 9 mod

8247776: JFR: TestThreadContextSwitches.java failed "RuntimeException: No events: expected false, was true"

Reviewed-by: mgronlun

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

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


More information about the hotspot-jfr-dev mailing list