On Tue, 20 Oct 2020 21:53:10 GMT, Richard Reingruber <rr...@openjdk.org> wrote:

> The following test cases try to provoke VMOutOfMemoryException during object 
> reallocation:
> 
> EAPopFrameNotInlinedReallocFailure
> EAPopInlinedMethodWithScalarReplacedObjectsReallocFailure
> EAForceEarlyReturnOfInlinedMethodWithScalarReplacedObjectsReallocFailure
> 
> This is not 100% reliable therefore it should not be treated as test failure 
> if no oom was raised.

If the test does not throw OOME, has it actually tested anything in that case? 
My concern with any test that allows for
what is suppose to be an occasional failure it that it will not detect if 
something breaks and causes that failure to
happen every time, often rendering the test useless.

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

PR: https://git.openjdk.java.net/jdk/pull/775

Reply via email to