RFR: 8299193: Micro-optimization in Buffer

Decencies duke at openjdk.org
Wed Dec 21 21:07:50 UTC 2022


On Wed, 21 Dec 2022 12:22:33 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> This PR proposed a micro-optimization in Buffer. This change will benefit several subclasses as well.

After pulling & compiling the JDK, I can see a noticeable improvement in NIO's Buffer performance. Thank you for discovering this optimization, I don't know what I would do if this optimization was not recognized and implemented into newer versions of the JDK. Thank you for the time and effort spent improving Java for developers like me!

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

PR: https://git.openjdk.org/jdk/pull/11755


More information about the nio-dev mailing list