RFR: 8341664: ReferenceClassDescImpl cache internalName [v4]

Shaojin Wen swen at openjdk.org
Thu Oct 10 15:26:48 UTC 2024


> 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 six 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
 - 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/a83b3d34..8da27b0f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21373&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21373&range=02-03

  Stats: 4 lines in 1 file changed: 3 ins; 0 del; 1 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


More information about the core-libs-dev mailing list