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
https://github.com/openjdk/jdk/blob/07c9ba74fa3baebffcc15d3ee6ef941edf6be1a3/src/hotspot/share/compiler/compilerDefinitions.hpp#L153
This reduces the inclusion of the above headers from 762 to 321.
- 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
https://github.com/openjdk/jdk/blob/07c9ba74fa3baebffcc15d3ee6ef941edf6be1a3/src/hotspot/share/compiler/compilerDefinitions.hpp#L153
This reduces the inclusion of the above headers from 762 to 321.
- relates to
-
JDK-8292919 Build failure due to UseJVMCICompiler was not declared when C2 is disabled after JDK-8292691
-
- Resolved
-