<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 05/11/2024 14:56, Ioannis Tsakpinis
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAL=VLdVrj4+Ki75ZxnTDk8zJ4uFvA1mm7mKf1Z8VZLNDiDQOFw@mail.gmail.com">
      <pre><blockquote type="cite" style="color: #8c8c8c;"><pre class="moz-quote-pre" wrap="">It's a bit more complex than that, as that code really likes having a
single implementation for all the liveness checks - otherwise you get
bad profile pollution when multiple session kinds are involved. We're
working on a solution:
</pre></blockquote><pre class="moz-quote-pre" wrap="">Interesting, thanks!
</pre></pre>
    </blockquote>
    <p>I wonder if the PR mentioned there makes a difference, and shifts
      the scale towards the approach where a single static segment is
      used. I'm assuming that approach is not as sensitive to inlining
      as the other one?</p>
    <p>Our benchmark (in the PR) show that we get much closer to Unsafe,
      although we can't fully eliminate the sign check (in the general
      case where the offset is truly random):</p>
    <p><a class="moz-txt-link-freetext" href="https://github.com/openjdk/jdk/pull/21810#issuecomment-2450511880">https://github.com/openjdk/jdk/pull/21810#issuecomment-2450511880</a><br>
    </p>
    <p>Maurizio<br>
    </p>
  </body>
</html>