<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div>
<div>
<div dir="ltr">OK, I get it now. Thank you for your detailed explanation!</div>
</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
<div style="direction: ltr;">陈上河</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> Lindenmaier, Goetz <goetz.lindenmaier@sap.com><br>
<b>发送时间:</b> Thursday, February 22, 2024 12:18:09 AM<br>
<b>收件人:</b> shanghe chen <chenshanghe@outlook.com>; jdk-dev@openjdk.org <jdk-dev@openjdk.org>; jdk-updates-dev <jdk-updates-dev-retn@openjdk.org><br>
<b>主题:</b> RE: Is JDK-8291919 refixed in JDK11u?</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Consolas}
@font-face
        {font-family:"Segoe UI"}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
pre
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New"}
span.x_HTMLPreformattedChar
        {font-family:Consolas}
span.x_link-summary
        {}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
        {}
ol
        {margin-bottom:0cm}
ul
        {margin-bottom:0cm}
-->
</style>
<div lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi, </p>
<p>The issue JDK-8291919 you are referring to is caused by “JDK-8279219 <span class="x_link-summary">
[REDO] C2 crash when allocating array of size too large</span>”. By backing out JDK-8279219, which was done by JDK-8292260, the excess memory consumption is fixed. The excess memory consumption issue was in 11 from 11.0.16 to 11.0.16.1.  As you have problems
 with 11.0.14.1, you cannot see this  bug.  </p>
<p>Further, “<a href="https://bugs.openjdk.org/browse/JDK-8292301">JDK-8292301</a>
<span class="x_link-summary">[REDO v2] C2 crash when allocating array of size too large</span>”, which is not backported to 11u as you found out, fixes a crash. So backporting JDK-8292301 will not fix your issue.</p>
<p>Best regards, Goetz.</p>
<p class="x_MsoNormal"> </p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b>From:</b> jdk-dev <jdk-dev-retn@openjdk.org> <b>On Behalf Of
</b>shanghe chen<br>
<b>Sent:</b> Mittwoch, 21. Februar 2024 07:25<br>
<b>To:</b> jdk-dev@openjdk.org<br>
<b>Subject:</b> Is JDK-8291919 refixed in JDK11u?</p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width:100.0%">
<tbody>
<tr>
<td style="background:#A6A6A6; padding:5.25pt 1.5pt 5.25pt 1.5pt"></td>
<td width="100%" style="width:100.0%; background:#EAEAEA; padding:5.25pt 3.75pt 5.25pt 11.25pt">
<div>
<p class="x_MsoNormal" style=""><span style="font-size:9.0pt; font-family:"Segoe UI",sans-serif; color:#212121">Some people who received this message don't often get email from
<a href="mailto:chenshanghe@outlook.com">chenshanghe@outlook.com</a>. <a href="https://aka.ms/LearnAboutSenderIdentification">
Learn why this is important</a></span></p>
</div>
</td>
<td width="75" style="width:56.25pt; background:#EAEAEA; padding:5.25pt 3.75pt 5.25pt 3.75pt">
</td>
</tr>
</tbody>
</table>
<div>
<div>
<pre style="white-space:pre-wrap"><span style="color:#212121">Hi! We occionally occurred in to docker oom with a java service running inside docker with java version</span></pre>
<pre><span style="color:#212121"> </span></pre>
<pre><span style="color:#212121">openjdk version "11.0.14.1" 2022-02-08</span></pre>
<pre><span style="color:#212121">OpenJDK Runtime Environment Temurin-11.0.14.1+1 (build 11.0.14.1+1)</span></pre>
<pre><span style="color:#212121">OpenJDK 64-Bit Server VM Temurin-11.0.14.1+1 (build 11.0.14.1+1, mixed mode)</span></pre>
<pre><span style="color:#212121"> </span></pre>
<pre><span style="color:#212121">Inspecting dmesg log we found the following lines:</span></pre>
<pre><span style="color:#212121"> </span></pre>
<pre><span style="color:#212121">[Mon Feb 19 13:14:16 2024] IPv6: ADDRCONF(NETDEV_CHANGE): lxca2a678a797cd: link becomes ready</span></pre>
<pre><span style="color:#212121">[Mon Feb 19 13:38:25 2024] C2 CompilerThre invoked oom-killer: gfp_mask=0x6000c0(GFP_KERNEL), nodemask=(null), order=0, oom_score_adj=-998</span></pre>
<pre><span style="color:#212121">[Mon Feb 19 13:38:25 2024] C2 CompilerThre cpuset=2cc0b0ba8e280972d0d5269810c52d911a5227aa5d0b4dbc4da6b7003988000d mems_allowed=0</span></pre>
<pre><span style="color:#212121">[Mon Feb 19 13:38:25 2024] CPU: 12 PID: 51367 Comm: C2 CompilerThre Tainted: G        W  O      4.19.118-2.el7.centos.x86_64 #1</span></pre>
<pre><span style="color:#212121"> </span></pre>
<pre><span style="color:#212121">And after some googling we found</span></pre>
<pre><span style="color:#212121">- </span><span style="color:#0078D4"><a href="https://mail.openjdk.org/pipermail/hotspot-runtime-dev/2019-March/033112.html">https://mail.openjdk.org/pipermail/hotspot-runtime-dev/2019-March/033112.html</a></span><span style="color:#212121"></span></pre>
<pre><span style="color:#212121">- and </span><span style="color:#0078D4"><a href="https://bugs.openjdk.org/browse/JDK-8291919">https://bugs.openjdk.org/browse/JDK-8291919</a></span><span style="color:#212121"></span></pre>
<pre><span style="color:#212121">- and </span><span style="color:#0078D4"><a href="https://bugs.openjdk.org/browse/JDK-8292260">https://bugs.openjdk.org/browse/JDK-8292260</a></span><span style="color:#212121"></span></pre>
<pre><span style="color:#212121">- and </span><span style="color:#0078D4"><a href="https://bugs.openjdk.org/browse/JDK-8292301">https://bugs.openjdk.org/browse/JDK-8292301</a></span><span style="color:#212121"></span></pre>
<pre><span style="color:#212121"> </span></pre>
<pre><span style="color:#212121">JDK-8292260 says that the fix in JDK-8291919 has beed reverted. And then JDK-8292301 fixed this again.</span></pre>
<pre><span style="color:#212121">But I cannot find any commits related to JDK-8292301 in jdk11u. Has it been fixed in jdk11 now?</span></pre>
<pre><span style="color:#212121"> </span></pre>
<pre><span style="color:#212121">Thank you for any response!</span></pre>
<pre style="white-space:pre-wrap"><span style="color:#212121">Shanghe Chen</span></pre>
<p class="x_MsoNormal" style="margin-bottom:12.0pt"> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>