RFR: 8335007: Inline OopMapCache table

Thomas Stuefe stuefe at openjdk.org
Wed Jun 26 06:01:34 UTC 2024


OopMapCache uses a (closed hashing) table. The table is C-heap allocated. OopMapCache itself is also C-heap allocated. Since table size is fixed, we can just inline the table to OopMapCache and save one unnecessary pointer-hop on lookup.

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

Commit messages:
 - copyrights
 - start

Changes: https://git.openjdk.org/jdk/pull/19882/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19882&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335007
  Stats: 7 lines in 2 files changed: 0 ins; 4 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/19882.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19882/head:pull/19882

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


More information about the hotspot-runtime-dev mailing list