Integrated: 8292691: Move CompilerConfig::is_xxx() inline functions out of compilerDefinitions.hpp

Ioi Lam iklam at openjdk.org
Sat Aug 20 23:22:30 UTC 2022


On Fri, 19 Aug 2022 21:44:39 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Many of the `CompilerConfig::is_xxx()` inline functions in compilerDefinitions.hpp depend on the following headers
> 
> - compiler_globals.hpp
> - c1_globals.hpp
> - c2_globals.hpp
> - jvmci_globals.hpp
> 
> However, only a few files actually use these functions. To improve C++ compilation time, we should move these inline functions to compilerDefinitions.inline.hpp
> 
> This reduces the inclusion of the above headers from 762 to 321.

This pull request has now been integrated.

Changeset: 2fbb9362
Author:    Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2fbb9362032df26582c389b7114cf0a215ed3afd
Stats:     284 lines in 27 files changed: 174 ins; 98 del; 12 mod

8292691: Move CompilerConfig::is_xxx() inline functions out of compilerDefinitions.hpp

Reviewed-by: kvn, iveresov

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

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


More information about the hotspot-compiler-dev mailing list