<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Hi Matthias,<br>
    </p>
    <p>Getting back to this far too late... Sorry.<br>
    </p>
    <p></p>
    <p>On 2025-04-30 15:28, Baesken, Matthias wrote:</p>
    <blockquote type="cite" cite="mid:AM9PR02MB6770B94C57A8FBD823BB223D93832@AM9PR02MB6770.eurprd02.prod.outlook.com">
      
      <meta name="Generator" content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Aptos;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="en-DE">I installed the llvm
            package to get the   /usr/bin/llvm-symbolizer   (this seems
            to be needed to get  meaningful stacks) .<br>
            <br>
            Brought back the visibility=hidden settings, seems they do
            no harm  to msan  .   However the removal  of 
          </span><span lang="en-DE">-Wl,--exclude-libs,ALL      is
            needed.</span></p>
      </div>
    </blockquote>
    <p>I think there might be ways around that to tell the linker to
      actually keep the symbols we need. If you want to pursue
      integrating msan into the JDK build properly, we can explore that.
      If so, we should also check for the presence of llvm-symbolizer in
      configure and warn if it is missing (though I guess the real
      question is if it is present at runtime...).<br>
    </p>
    <blockquote type="cite" cite="mid:AM9PR02MB6770B94C57A8FBD823BB223D93832@AM9PR02MB6770.eurprd02.prod.outlook.com">
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="en-DE"><o:p></o:p></span></p>
        <span lang="en-DE"><o:p></o:p></span>
        <p class="MsoNormal"><span lang="en-DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="en-DE">Seems msan is unhappy
            about the thread != nullptr   in line 81  of 
            jfrThreadLocal.cpp<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="en-DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="en-DE">  Thread* thread =
            Thread::current_or_null();<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="en-DE">  _parent_trace_id =
            thread != nullptr ? jvm_thread_id(thread) : (traceid)0;<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="en-DE"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="en-DE">Not sure why this is
            reported as  uninitialized ?</span></p>
      </div>
    </blockquote>
    <p>I have no idea.</p>
    <p>Did you pursue this any further, or did you give up?<br>
    </p>
    <p>/Magnus</p>
  </body>
</html>