Integrated: 8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int])

Brian Burkhalter bpb at openjdk.org
Wed Apr 26 16:57:24 UTC 2023


On Wed, 19 Apr 2023 00:29:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Use `getChars()` to copy characters to an intermediate local `char[]` array and then `putArray()` to copy the chars into the buffer itself.

This pull request has now been integrated.

Changeset: d0e8aec0
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d0e8aec041d7e0a8a8e72da079b428afff3fcd26
Stats:     142 lines in 6 files changed: 123 ins; 0 del; 19 mod

8306374: (bf) Improve performance of DirectCharBuffer::append(CharSequence[,int,int])

Reviewed-by: liach, alanb

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

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


More information about the nio-dev mailing list