<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=gb2312"><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:等线;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@等线";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:等线;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:等线;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:等线;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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=ZH-CN link="#0563C1" vlink="#954F72" style='text-justify-trim:punctuation'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Segoe UI",sans-serif;color:#24292E'>We found a native-image bug of duplicate static initialization at runtime.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Segoe UI",sans-serif;color:#24292E'>When a class is firstly recognized to initialize at RUN_TIME and later proven safe to initialize at BUILD_TIME, it misses the chance to set its DynamicHub.classInitializationInfo to INITIALIZED_INFO_SINGLETON, resulting duplicated initialization at runtime.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Segoe UI",sans-serif;color:#24292E'>A issue and reproduce test case is submitted at </span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#24292E'>ttps://github.com/oracle/graal/issues/1742#issue-506121221.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Segoe UI",sans-serif;color:#24292E'>A fix is proposed at <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_oracle_graal_pull_1741&d=DwMGaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=P1aEbpQqX18a0ssutGCeizsWEVvvJcWvSeSxdI9X3-o&m=QJvFu_cHizTXwkkLN_kiJKK_S6Ua0m3wwSlSOlFI5Fo&s=cih_eLY2nVCvFqK2iDoPxkY0J9qE-APSIb9YVQfSFD4&e=">https://github.com/oracle/graal/pull/1741</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Segoe UI",sans-serif;color:#24292E'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-family:"Segoe UI",sans-serif;color:#24292E'>Ziyi Lin</span><span lang=EN-US style='font-size:9.0pt;font-family:Consolas;color:#24292E'><o:p></o:p></span></p></div></body></html>