RFR: 8310225: Reduce inclusion of oopMapCache.hpp and generateOopMap.hpp

Ioi Lam iklam at openjdk.org
Fri Jun 16 17:52:52 UTC 2023


These includes aren't necessary and should be removed:

frame_x86.inline.hpp -> oopMapCache.hpp -> generateOopMap.hpp.

Before:
frame_x86.inline.hpp included 571 times
oopMapCache.hpp included 571 times
generateOopMap.hpp included 571 times

After:
frame_x86.inline.hpp included 571 times
oopMapCache.hpp included 21 times
generateOopMap.hpp included 21 times

(as calculated by https://github.com/iklam/tools/blob/main/headers/whoincludes.tcl)

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

Commit messages:
 - 8310225: Reduce inclusion of oopMapCache.hpp and generateOopMap.hpp

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

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


More information about the hotspot-dev mailing list