On Mon, 20 Jan 2025 15:00:55 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> wrote:
>> Matthias Ernst has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Implementation notes. > > src/java.base/share/classes/jdk/internal/foreign/abi/CallBufferCache.java > line 75: > >> 73: >> 74: @SuppressWarnings("restricted") >> 75: public static long allocate(long size) { > > I don't think we should expose allocation/release methods (see related > comment in `SharedUtils`) Done. These were only visible for the unit test, changed that. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23142#discussion_r1922645500