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

Erik Gahlin egahlin at openjdk.java.net
Tue Jan 5 20:27:05 UTC 2021


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

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

Commit messages:
 - Initial

Changes: https://git.openjdk.java.net/jdk16/pull/87/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk16&pr=87&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8250903
  Stats: 14 lines in 1 file changed: 0 ins; 9 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/87.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/87/head:pull/87

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


More information about the hotspot-jfr-dev mailing list