RFR: 8329150: Remove CDS support for LatestMethodCache

Ioi Lam iklam at openjdk.org
Wed Mar 27 15:33:32 UTC 2024


The CDS support for LatestMethodCache has no meaningful performance benefit. I am removing it for simplcity.

I also cleaned up the code a bit
- No need to put LatestMethodCache in universe.hpp.
- No need to use TRAPS in the init function
- No need to malloc the LatestMethodCache objects

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

Commit messages:
 - 8329150: Remove CDS support for LatestMethodCache

Changes: https://git.openjdk.org/jdk/pull/18516/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18516&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8329150
  Stats: 147 lines in 2 files changed: 32 ins; 76 del; 39 mod
  Patch: https://git.openjdk.org/jdk/pull/18516.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18516/head:pull/18516

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


More information about the hotspot-runtime-dev mailing list