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

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


On Mon, 25 Nov 2024 18:51:48 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: Do not create Cleaner for temporary buffers

One thing we'll need to think about is observability. There may be an argument to track the usage as a buffer pool "temporary-direct" to add to the 3 pools that are currently exposed by BufferPoolMXBean.

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

PR Comment: https://git.openjdk.org/jdk/pull/22339#issuecomment-2498828545


More information about the core-libs-dev mailing list