> 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 five additional commits since the last revision: - Merge remote-tracking branch 'upstream/master' into optim_internal_name_202410 - 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/ef54ed21..a83b3d34 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=21373&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21373&range=01-02 Stats: 1697 lines in 37 files changed: 1035 ins; 555 del; 107 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