RFR: 8343188: Investigate ways to simplify MemorySegment::ofBuffer

Per Minborg pminborg at openjdk.org
Thu Oct 31 07:15:31 UTC 2024


On Tue, 29 Oct 2024 14:51:33 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposes to improve `MemorySegment::ofBuffer` making it more amenable to inlining and generally improving performance.
> 
> Testing successfully on tier1-3

It might be possible to move even more logic into the various Buffer implementations. This is a tradeoff between performance and complexity.

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

PR Comment: https://git.openjdk.org/jdk/pull/21764#issuecomment-2449177736


More information about the core-libs-dev mailing list