RFR: 8334886: jdk/jfr/api/recording/time/TestTimeMultiple.java failed with RuntimeException: getStopTime() > afterStop

Erik Gahlin egahlin at openjdk.org
Tue Jun 25 23:53:17 UTC 2024


Could I have a review of a PR that fixes an intermittent failure. I have not been able to reproduce the failure after running the test 10 000 times, but it does reproduce quite easily without the fix. 

It could be that the method awaitUniqueTimestamp() could be removed completely with the introduction of a similar method in https://github.com/openjdk/jdk/pull/19799 (which happens before the chunk rotation), but I rather fix it separately. 

I want this change to be suitable for a backport to JDK 23 and without additional regressions. 

Thanks
Erik

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

Commit messages:
 - Remove accidentally added file
 - Initial

Changes: https://git.openjdk.org/jdk/pull/19892/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19892&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334886
  Stats: 3 lines in 2 files changed: 0 ins; 3 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/19892.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19892/head:pull/19892

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


More information about the hotspot-jfr-dev mailing list