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

Thomas Stuefe stuefe at openjdk.org
Fri Jun 16 18:59:07 UTC 2023


On Fri, 16 Jun 2023 17:45:12 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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)

Good!

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

Marked as reviewed by stuefe (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14525#pullrequestreview-1484139116


More information about the hotspot-dev mailing list