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

Markus Grönlund mgronlun at openjdk.org
Fri Dec 9 13:17:00 UTC 2022


On Fri, 9 Dec 2022 09:52:34 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:

> 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

Marked as reviewed by mgronlun (Reviewer).

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

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


More information about the hotspot-jfr-dev mailing list