> ReferenceClassDescImpl caches internalName to avoid creating a new String > object for each call, which can also simplify the implementation of classfile.
Shaojin Wen has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision: - Merge remote-tracking branch 'upstream/master' into optim_internal_name_202410 - suggestion from @liach - stable - ReferenceClassDescImpl cache internalName ------------- Changes: - all: https://git.openjdk.org/jdk/pull/21373/files - new: https://git.openjdk.org/jdk/pull/21373/files/478f97f9..ef54ed21 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=21373&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21373&range=00-01 Stats: 9917 lines in 194 files changed: 8099 ins; 580 del; 1238 mod Patch: https://git.openjdk.org/jdk/pull/21373.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21373/head:pull/21373 PR: https://git.openjdk.org/jdk/pull/21373