[jdk23u] RFR: 8334229: Optimize InterpreterOopMap layout

Aleksey Shipilev shade at openjdk.org
Wed Aug 21 17:30:16 UTC 2024


Semi-clean backport to improve OopMapCache. I actually want this change in 21u-dev, so I am backporting to 23u on its way there. The change is pretty simple, so there is only a little risk.

It is different from mainline change, because [JDK-8335409](https://bugs.openjdk.org/browse/JDK-8335409) went into 23u first. It removes one of the definitions we move: https://github.com/openjdk/jdk/commit/7ab96c74e2c39f430a5c2f65a981da7314a2385b#diff-d47427bcae3d32d55540df020532bf223ed3cdc6496c3277068e0125fa7be22cL91-L93

Applying this backport yields no difference in `oopMapCache.hpp` with mainline version, which is what we want.

Additional testing:
 - [ ] Confirm `pahole` improvements

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

Commit messages:
 - Backport fac74b118f5fda4ec297e46238d34ce5b9be1e21

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

PR: https://git.openjdk.org/jdk23u/pull/81


More information about the jdk-updates-dev mailing list