RFR(S): 8240634: event/runtime/TestMetaspaceAllocationFailure.java times out

Erik Gahlin erik.gahlin at oracle.com
Wed Mar 25 12:25:43 UTC 2020


Hi Misha,

Looks OK

Relying on OOM and parameters being correct to trigger the event seem 
fragile, but let's try this and if it fails again, let's remove the test 
or come up with another approach.

Thanks
Erik

On 2020-03-18 02:24, mikhailo.seledtsov at oracle.com wrote:
> This test timed out occasionally, about 1/100 runs, on Linux only. 
> Please review this change that mitigates occasional test failure
> by limiting the number of iterations attempting to fill up metaspace, 
> and throwing SkippedException when the max number
> of iterations is reached.
>
>     JBS: https://bugs.openjdk.java.net/browse/JDK-8240634
>     Webrev: http://cr.openjdk.java.net/~mseledtsov/8240634.00/
>     Testing:
>         Ran 100 times on Linux, 1 skipped, rest PASS
>
>
> Thank you,
> Misha
>


More information about the hotspot-jfr-dev mailing list