On Tue, 28 Feb 2023 00:28:42 GMT, Phil Race <p...@openjdk.org> wrote:
> If the default collector started ignoring System.gc() it would trigger lots > of test failures which would make It is up to you, but I disagree. There was an agreement in the team to use one approach to trigger the gc, that approach was used in most of our tests, and was used in this test as well. >I would absolutely explore this route and would be happy to update other tests >but this is out of scope for this issue. I agree that it is out of the scope of this issue, which actually fixed by adding the "retry" step to the test. The bug is unrelated to the replacing of OOM by the System.gc(). When why did you change it? ------------- PR: https://git.openjdk.org/jdk/pull/12594