RFR: 8357959: (bf) ByteBuffer.allocateDirect initialization can result in large TTSP spikes [v5]
Alan Bateman
alanb at openjdk.org
Wed Jun 4 17:59:51 UTC 2025
On Fri, 30 May 2025 13:05:12 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Rohitash Kumar has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Remove redundant comment
>
> Moving it to Bits.setMemory looks good.
> I think this looks fine. @AlanBateman -- do you think it is worth having in JDK 25? I do. If you agree, we need to integrate this soon.
I don't see anything wrong with the current change but it does feel like a change for early in a release rather than the day before forking. Also this issue has existed for 20+ years so maybe better to hold off to after the fork.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25487#issuecomment-2940903717
More information about the nio-dev
mailing list