[jdk18] Integrated: 8269425: 2 jdk/jfr/api/consumer/streaming tests failed to attach
Erik Gahlin
egahlin at openjdk.java.net
Fri Dec 17 09:54:35 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
This pull request has now been integrated.
Changeset: fffa73c1
Author: Erik Gahlin <egahlin at openjdk.org>
URL: https://git.openjdk.java.net/jdk18/commit/fffa73c1ef377eb28371fc4094eea8725850de7d
Stats: 7 lines in 3 files changed: 1 ins; 1 del; 5 mod
8269425: 2 jdk/jfr/api/consumer/streaming tests failed to attach
Reviewed-by: mgronlun
-------------
PR: https://git.openjdk.java.net/jdk18/pull/38
More information about the hotspot-jfr-dev
mailing list