RFR: 8292691: Move unnecessary inline methods out of compilerDefinitions.hpp [v2]

Ioi Lam iklam at openjdk.org
Sat Aug 20 05:57:48 UTC 2022


> Many of the inline functions in compilerDefinitions.hpp don't seem to be performance critical. They should be moved into compilerDefinitions.cpp to improve C++ compilation time
> 
> This reduces the inclusion of the following headers from 762 to 319:
> 
> - compiler_globals.hpp
> - c1_globals.hpp
> - c2_globals.hpp
> - jvmci_globals.hpp

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  added compilerDefinitions.inline.hpp

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9953/files
  - new: https://git.openjdk.org/jdk/pull/9953/files/adda27ae..a58b448b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9953&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9953&range=00-01

  Stats: 285 lines in 25 files changed: 155 ins; 105 del; 25 mod
  Patch: https://git.openjdk.org/jdk/pull/9953.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9953/head:pull/9953

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


More information about the hotspot-compiler-dev mailing list