RFR: 8305811: (bf) Improve performance of CharBuffer::append(CharSequence[,int,int]) [v8]

Brian Burkhalter bpb at openjdk.org
Fri Apr 14 16:56:46 UTC 2023


> Use the `getChars` method of `String`, `StringBuffer`, and `StringBuilder` to load the chars directly into the array of the heap buffer.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8305811: Remove fallback to append(CS) when start == 0 and end == csq.length() (caused failure in Appendable/Basic.java)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/13415/files
  - new: https://git.openjdk.org/jdk/pull/13415/files/72385b8c..ab5fe71c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=13415&range=07
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=13415&range=06-07

  Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13415.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13415/head:pull/13415

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


More information about the nio-dev mailing list