JDK-8305811 : (bf) Improve performance of CharBuffer::append(CharSequence[,int,int])
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2023-04-10
  • Updated: 2025-05-20
  • Resolved: 2023-04-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b19Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Aside from CharBuffer itself, the three main implementations of CharSequence, String, StringBuffer, and StringBuilder, have a getChars() method which could be used to load the characters of interest into the heap buffer's array.
Comments
Changeset: 8858d543 Author: Brian Burkhalter <bpb@openjdk.org> Date: 2023-04-17 20:17:23 +0000 URL: https://git.openjdk.org/jdk/commit/8858d54342bc52c8a2a986e1d35bfa4ddf9470e6
17-04-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/13415 Date: 2023-04-11 00:11:50 +0000
11-04-2023