<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 03/11/2022 14:55, Gavin Ray wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CAFtvWZMkc+tYKiUYAXKoCZn-t284=dwS-Or5rOCMjqQpPvGxjg@mail.gmail.com">
      <div>I recall at one point there being an open PR to add some kind
        of memory management/allocator interface (similar to Netty's
        MemoryManager IIRC)</div>
      <div><a href="https://urldefense.com/v3/__https://github.com/openjdk/panama-foreign/pull/509__;!!ACWV5N9M2RV99hQ!MGkwde_O1zcMAAqFsj5jOUAoqbw-JXW8ht4OYiP_Vx8YH3EScxEc5RJV4hMjkR5cRzQu1JfhGRhLJLrLqXlc5l4zvztN$" moz-do-not-send="true">Pull requests ยท openjdk/panama-foreign
          (github.com)</a><br>
      </div>
      <div><a href="https://urldefense.com/v3/__https://netty.io/5.0/api/io.netty5.buffer/io/netty5/buffer/api/MemoryManager.html__;!!ACWV5N9M2RV99hQ!MGkwde_O1zcMAAqFsj5jOUAoqbw-JXW8ht4OYiP_Vx8YH3EScxEc5RJV4hMjkR5cRzQu1JfhGRhLJLrLqXlc5n1FAbMP$" moz-do-not-send="true">MemoryManager (Netty API Reference
          (5.0.0.Alpha4))</a><br>
      </div>
      <div><br>
      </div>
      <div>Is this Arena interface filling the same sort of role that
        the "MemorySegmentPool + Allocator" PR would have played?</div>
      <div>It seemed like a useful PR, but it doesn't look like it had
        the intent to be merged, so I was just curious.</div>
    </blockquote>
    Hi Gavin,<br>
    Arena is a different thing. It can be used as a building block to
    implement custom allocators, such as the one you describe. But this
    is not about adding more custom allocators to the FFM API (that
    would be a separate discussion :-) ).<br>
    For now, the main thing is to make sure that the described proposal
    allows clients to cleanly build such custom allocators (see related
    email from Rado).<br>
    <p>Thanks<br>
      Maurizio<br>
    </p>
  </body>
</html>