<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 03/08/2023 09:14, qia nxiao wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAPGG-77qOk9_gBdezkpBEgaLCEzh=SdGR+VKcKCBBXLkXAJgbg@mail.gmail.com">
      
      <div dir="ltr">
        <div>
          <p class="gmail-p1" style="margin:0px;text-align:justify;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10.5px;line-height:normal;font-family:Helvetica">Hello
            everyone, I have noticed that in certain situations, there
            is a probability that using the VM parameter
            -Djdk.tracePinnedThreads can cause the application to hang.</p>
          <p class="gmail-p1" style="margin:0px;text-align:justify;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10.5px;line-height:normal;font-family:Helvetica">I
            am not familiar with the exact reason behind this issue and
            I would like to know if there is a solution.<span class="gmail-Apple-converted-space"> </span></p>
          <p class="gmail-p1" style="margin:0px;text-align:justify;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10.5px;line-height:normal;font-family:Helvetica">Below
            is a test case that I have, and there is a certain
            probability of it getting stuck when using this parameter.</p>
          <p class="gmail-p2" style="margin:0px;text-align:justify;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10.5px;line-height:normal;font-family:Helvetica;min-height:12px"><br>
          </p>
          <p class="gmail-p3" style="margin:0px;text-align:justify;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10.5px;line-height:normal;font-family:Helvetica;color:rgb(5,99,193)"><span class="gmail-s1" style="text-decoration-line:underline"><a href="https://github.com/zenghu1chen/loom-compatibility-test/blob/main/src/main/java/org/example/TracePinnedThreadsOptionTest.java" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/zenghu1chen/loom-compatibility-test/blob/main/src/main/java/org/example/TracePinnedThreadsOptionTest.java</a></span></p>
          <p class="gmail-p4" style="margin:0px;text-align:justify;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:10.5px;line-height:normal;font-family:"Times
            New Roman";min-height:11px"><br>
          </p>
        </div>
      </div>
    </blockquote>
    <br>
    This looks to the same issue that was discussed recently [1] where
    the same j.u.c. lock is being used from threads that are pinned and
    not pinned.<br>
    <br>
    -Alan<br>
    <br>
    [1]
    <a class="moz-txt-link-freetext" href="https://mail.openjdk.org/pipermail/loom-dev/2023-July/005989.html">https://mail.openjdk.org/pipermail/loom-dev/2023-July/005989.html</a><br>
  </body>
</html>