<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We could exclude it by setting <o:p></o:p></p>
<p class="MsoNormal">@requires !(sun.arch.data.model == "32")<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The other test I mentioned, java/lang/String/StringRepeat.java, already
<o:p></o:p></p>
<p class="MsoNormal">sets<o:p></o:p></p>
<p class="MsoNormal">@requires !(os.family == "windows" & sun.arch.data.model == "32")<o:p></o:p></p>
<p class="MsoNormal">but now fails on linux.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards, Goetz<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> jdk-dev <jdk-dev-retn@openjdk.org> <b>On Behalf Of
</b>Thomas Stüfe<br>
<b>Sent:</b> Friday, March 15, 2024 2:20 PM<br>
<b>To:</b> Severin Gehwolf <sgehwolf@redhat.com><br>
<b>Cc:</b> Andrew Haley <aph-open@littlepinkcloud.com>; jdk-dev@openjdk.org<br>
<b>Subject:</b> Re: Tier1 failure: test machine short of memory?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Fri, Mar 15, 2024 at 11:59 AM Severin Gehwolf <<a href="mailto:sgehwolf@redhat.com">sgehwolf@redhat.com</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">On Fri, 2024-03-15 at 10:12 +0000, Andrew Haley wrote:<br>
> In java/util/HashMap/WhiteBoxResizeTest.jtr:<br>
> <br>
> Error occurred during initialization of VM<br>
> Could not reserve enough space for 2097152KB object heap<br>
> <br>
> So we're seeing red on the tier1 runs on Linux-i686. I'm not sure what we can<br>
> do about this, perhaps we should disable the test for x86-32?<br>
<br>
The test seems to need a 2GB heap:<br>
<br>
run=USER_SPECIFIED testng/othervm -Xmx2g WhiteBoxResizeTest<br>
<br>
So perhaps this as a fix?<br>
<br>
@requires (os.maxMemory > 2g)<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">A 2GB allocation on 23-bit is more likely to run out of address space than out of physical memory.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I think excluding this for 32-bit makes the most sense.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Thanks,<br>
Severin<o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>