On Sat, 8 Aug 2026 12:38:53 GMT, David Holmes <[email protected]> wrote:

> > I don't mind bumping the size. I think this happens because the test uses 
> > jweaks, and that artificially retains transient heap memory until an major 
> > collection cycle runs.
> 
> I thought GC was supposed to try everything to reclaim memory before failing 
> an allocation with OOME ??

That's a good point. It won't try "everything", but it should at least run 
enough old generation collections to be able to clear the jweaks. I need to see 
gc logs to be able to say more.

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

PR Comment: https://git.openjdk.org/jdk/pull/32229#issuecomment-5238113911

Reply via email to