RFR: 8343188: Investigate ways to simplify MemorySegment::ofBuffer [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Thu Oct 31 10:32:33 UTC 2024
On Thu, 31 Oct 2024 10:25:11 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> Do you refer to char buffers backed by Strings?
If so, I wouldn't worry much about that -- after all, the logic in the code already detects this condition and throws an exception... so it's still heap buffer vs. direct buffer IMHO
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21764#discussion_r1824227728
More information about the core-libs-dev
mailing list