RFR: 8344882: (bf) Temporary direct buffers should not count against the upper limit on direct buffer memory [v3]

Alan Bateman alanb at openjdk.org
Mon Nov 25 19:28:15 UTC 2024


On Mon, 25 Nov 2024 19:22:51 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Make the memory used by internal temporary direct buffers not count towards the upper limit on direct buffer memory.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8344882: Remove DirectBuffer.temporary; rename JavaNioAccess temporary direct buffer allocation method

src/java.base/share/classes/java/nio/Direct-X-Buffer.java.template line 44:

> 42: #if[byte]
> 43: import jdk.internal.vm.annotation.Stable;
> 44: #end[byte]

I assume this isn't needed either.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22339#discussion_r1857232841


More information about the core-libs-dev mailing list