RFR: 8299193: Micro-optimization in Buffer

David Holmes dholmes at openjdk.org
Wed Dec 21 23:55:49 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.

I agree with Roger. If you're positioning this as a micro-optimization then you need to back it up with numbers, not just hope a final field improves  something. The field should be final from a semantics point of view.

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

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


More information about the nio-dev mailing list