[jdk20] RFR: 8298455: JFR: Add logging to TestClose.java

Erik Gahlin egahlin at openjdk.org
Fri Dec 9 10:04:43 UTC 2022


Hi,

Could I have a review of a test fix. 

The test jdk/jfr/api/consumer/recordingstream/TestClose.java times out intermittently, but the thread dump looks fine. One possibility is that the onEvent action is never registered. It would be good to verify that the registration mechanism works properly. This can be done by logging with -Xlog:jfr+streaming+system=trace

Testing: running test locally

Thanks
Erik

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

Commit messages:
 - Initial

Changes: https://git.openjdk.org/jdk20/pull/7/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=7&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8298455
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk20/pull/7.diff
  Fetch: git fetch https://git.openjdk.org/jdk20 pull/7/head:pull/7

PR: https://git.openjdk.org/jdk20/pull/7


More information about the hotspot-jfr-dev mailing list