Tier1 failure: test machine short of memory?

Thomas Stüfe thomas.stuefe at gmail.com
Fri Mar 15 13:19:53 UTC 2024


On Fri, Mar 15, 2024 at 11:59 AM Severin Gehwolf <sgehwolf at redhat.com>
wrote:

> On Fri, 2024-03-15 at 10:12 +0000, Andrew Haley wrote:
> > In java/util/HashMap/WhiteBoxResizeTest.jtr:
> >
> > Error occurred during initialization of VM
> > Could not reserve enough space for 2097152KB object heap
> >
> > So we're seeing red on the tier1 runs on Linux-i686. I'm not sure what
> we can
> > do about this, perhaps we should disable the test for x86-32?
>
> The test seems to need a 2GB heap:
>
> run=USER_SPECIFIED testng/othervm -Xmx2g WhiteBoxResizeTest
>
> So perhaps this as a fix?
>
> @requires (os.maxMemory > 2g)
>

A 2GB allocation on 23-bit is more likely to run out of address space than
out of physical memory.

I think excluding this for 32-bit makes the most sense.


>
> Thanks,
> Severin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20240315/e6c12dc4/attachment.htm>


More information about the jdk-dev mailing list