RFR: 8273100: Improve AbstractStringBuilder.append(String) when using CompactStrings [v3]

Claes Redestad redestad at openjdk.java.net
Mon Aug 30 11:49:49 UTC 2021


> Refactor to improve inlining, which helps some microbenchmarks exer StringBuilder.append(String)

Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:

  Simplify and call getBytes(String, int, byte) when possible

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5291/files
  - new: https://git.openjdk.java.net/jdk/pull/5291/files/e5052256..6dfaff5a

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5291&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5291&range=01-02

  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5291.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5291/head:pull/5291

PR: https://git.openjdk.java.net/jdk/pull/5291


More information about the core-libs-dev mailing list