RFR: 8265103: Remove unnecessary inclusion of oopMap.hpp [v2]

Ioi Lam iklam at openjdk.java.net
Wed Apr 14 02:46:24 UTC 2021


> oopMap.hpp is included by about 585 out of about 1000 .o files in HotSpot. In turn, it pulls in other complex headers such as vmreg.hpp, register.hpp and their cpu-dependent headers.
> 
> There are only 4 header files that include oopMap.hpp. All of these can be replaced for forward declarations.
> 
> According to https://github.com/iklam/tools/tree/main/headers
> 
> 
> [before]

Ioi Lam has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Merge branch 'master' into 8265103-reduce-inclusion-oopMap.hpp
 - fixed copyright year
 - removed unrelated changes
 - 8265103: Remove unnecessary inclusion of oopMap.hpp

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3446/files
  - new: https://git.openjdk.java.net/jdk/pull/3446/files/80a7f91d..2ee7d02e

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3446&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3446&range=00-01

  Stats: 8870 lines in 576 files changed: 4450 ins; 3988 del; 432 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3446.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3446/head:pull/3446

PR: https://git.openjdk.java.net/jdk/pull/3446


More information about the shenandoah-dev mailing list