RFR: 8309878: Reduce inclusion of resolvedIndyEntry.hpp

Matias Saavedra Silva matsaave at openjdk.org
Tue Jun 13 15:13:42 UTC 2023


On Mon, 12 Jun 2023 19:52:36 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> resolvedIndyEntry.hpp was added in [JDK-8301995](https://bugs.openjdk.org/browse/JDK-8301995) and is included in the popular cpCache.hpp. As a result, resolvedIndyEntry.hpp is included in 807 out of about 1160 hotspot .o files.
> 
> The contents of resolvedIndyEntry.hpp is infrequently used. Its inclusion should be moved from cpCache.hpp to cpCache.inline.hpp. This improves hotspot build time.
> 
> After this PR, resolvedIndyEntry.hpp is included in only 30 hotspot .o files.

Looks good, thanks for this!

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

Marked as reviewed by matsaave (Committer).

PR Review: https://git.openjdk.org/jdk/pull/14427#pullrequestreview-1477437064


More information about the serviceability-dev mailing list