[jdk18] RFR: 8269425: 2 jdk/jfr/api/consumer/streaming tests failed to attach
Markus Grönlund
mgronlun at openjdk.java.net
Thu Dec 16 21:51:05 UTC 2021
On Thu, 16 Dec 2021 18:20:56 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> Hi,
>
> Could I have a review of this test fix?
>
> It could be this bug is no longer relevant due to fixes on linux-aarch64, but I don't think the fixes hurt either.
>
> The timeout of attach is increased from 10.5 second to 100 seconds, allowing more time to attach to the process. I also changed so the test detaches if it can't get the system property where the JFR repository is located. This can happen if attach happens before JFR is initialized.
>
> The alternative would be to close this bug as "could not reproduce".
>
> Testing:
> Running 300 times on Mac, Windows and Linux, including linux-aarch64-debug.
>
> Thanks
> Erik
Marked as reviewed by mgronlun (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk18/pull/38
More information about the hotspot-jfr-dev
mailing list