RFR: 8370519: C2: Hit MemLimit when running with +VerifyLoopOptimizations [v6]

Roland Westrelin roland at openjdk.org
Fri Jan 30 13:35:17 UTC 2026


On Wed, 28 Jan 2026 10:22:01 GMT, Benoît Maillard <bmaillard at openjdk.org> wrote:

> I was able to come up with this test, which is a bit more that 2 times faster than the original one on my machine. Its `memlimit` is set to `600M`, which is enough to make the old version fail. With the new one, the test passes even with a `memlimit` of `200M`, so this should be a good enough margin.

Great. The new test looks good to me. I replaced the existing test with that one. Thanks for taking the time to do that.

> While looking into this I have also found out that some programs have an unexpectedly high usage of `output` (as was the case in the test case that I initially suggested). I am trying to get a good reproducer and will most likely file a follow-up.

Can you post links to the bugs? Thanks.

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

PR Comment: https://git.openjdk.org/jdk/pull/28581#issuecomment-3823765937


More information about the hotspot-dev mailing list