Integrated: 8265103: Remove unnecessary inclusion of oopMap.hpp

Ioi Lam iklam at openjdk.java.net
Wed Apr 14 05:15:03 UTC 2021


On Tue, 13 Apr 2021 01:55:13 GMT, Ioi Lam <iklam at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: ea5c55a4
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/ea5c55a4
Stats:     75 lines in 53 files changed: 58 ins; 4 del; 13 mod

8265103: Remove unnecessary inclusion of oopMap.hpp

Reviewed-by: dholmes, stefank

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

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


More information about the shenandoah-dev mailing list