[jdk16] Integrated: 8250903: jdk/jfr/javaagent/TestLoadedAgent.java fails with Mismatch in TestEvent count

Erik Gahlin egahlin at openjdk.java.net
Thu Jan 7 12:25:13 UTC 2021


On Tue, 5 Jan 2021 20:20:43 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> Hi,
> 
> Could I have review of a test fix? 
> 
> Tests fails intermittently, most likely due to JFR not able to keep up with the high event rate. Purpose of the test is not to stress JFR, so events are now only emitted from one thread. I also changed the assert, so it is easier to see how much off the count is. 
> 
> Tested by running it 100 times without failure.
> 
> Thanks
> Erik

This pull request has now been integrated.

Changeset: 4a478b8a
Author:    Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.java.net/jdk16/commit/4a478b8a
Stats:     15 lines in 1 file changed: 0 ins; 9 del; 6 mod

8250903: jdk/jfr/javaagent/TestLoadedAgent.java fails with Mismatch in TestEvent count

Reviewed-by: mgronlun

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

PR: https://git.openjdk.java.net/jdk16/pull/87


More information about the hotspot-jfr-dev mailing list