RFR: 8309878: Reduce inclusion of resolvedIndyEntry.hpp

Ioi Lam iklam at openjdk.org
Mon Jun 12 20:00:19 UTC 2023


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.

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

Commit messages:
 - fixed copyright
 - step2
 - step1

Changes: https://git.openjdk.org/jdk/pull/14427/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14427&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8309878
  Stats: 86 lines in 35 files changed: 61 ins; 13 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/14427.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14427/head:pull/14427

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


More information about the hotspot-dev mailing list