RFR: JDK-8310913 Move ReferencedKeyMap to jdk.internal so it may be shared [v3]

Jim Laskey jlaskey at openjdk.org
Tue Jul 4 12:55:22 UTC 2023


> java.lang.runtime.ReferencedKeyMap was introduced to provide a concurrent caching scheme for Carrier objects. The technique used is generally useful for a variety of caching schemes and is being moved to be shared in other parts of the jdk. The MethodType interning case is one example.

Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:

  Update to use VirtualThread friendly stale queue.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14684/files
  - new: https://git.openjdk.org/jdk/pull/14684/files/ed467b64..b05c232f

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

  Stats: 8 lines in 2 files changed: 2 ins; 5 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14684.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14684/head:pull/14684

PR: https://git.openjdk.org/jdk/pull/14684


More information about the core-libs-dev mailing list