<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 04/11/2025 03:17, Xialin Liu wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:tencent_21FD93BB9048E2F3E238124538CEED097706@qq.com">
      
      :
      <p style="text-align: left; text-indent: 0px; margin: 1.25em 0px; line-height: 1.43;"><span style="font-family: "Open Sans", "Open Sans Fallback: Arial", sans-serif; font-size: 16px; color: rgb(55, 65, 81);">Interestingly,
          the stack traces appear to be in normal Java code, which makes
          the root cause non-obvious at first glance.</span></p>
      <br>
    </blockquote>
    Just on this observation. I think your output/thread dump is from a
    build of JDK 21. It has been improved since then if you try JDK 25
    then it will clearly delineate the stack trace of the carrier from
    the stack trace of the mounted virtual thread. If a virtual thread
    is waiting for another thread to initialize a class then has the "-
    waiting on the Class initialization monitor for XXX" at the frame
    where the virtual thread is waiting.<br>
    <br>
    -Alan<br>
    <br>
    <br>
  </body>
</html>