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

Ioi Lam iklam at openjdk.org
Fri Aug 19 22:30:23 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

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

Commit messages:
 - 8292691: Move unnecessary inline methods out of compilerDefinitions.hpp

Changes: https://git.openjdk.org/jdk/pull/9953/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9953&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292691
  Stats: 217 lines in 4 files changed: 120 ins; 94 del; 3 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