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

Erik Gahlin egahlin at openjdk.java.net
Thu Jan 7 12:25:12 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

Erik Gahlin has updated the pull request incrementally with one additional commit since the last revision:

  Update comment

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

Changes:
  - all: https://git.openjdk.java.net/jdk16/pull/87/files
  - new: https://git.openjdk.java.net/jdk16/pull/87/files/5271aab2..4bb65d1d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk16&pr=87&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk16&pr=87&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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