RFR: 8292691: Move unnecessary inline methods out of compilerDefinitions.hpp
Ioi Lam
iklam at openjdk.org
Sat Aug 20 06:05:28 UTC 2022
On Fri, 19 Aug 2022 23:29:10 GMT, Igor Veresov <iveresov at openjdk.org> wrote:
> It is reasonably hot. The interpreter calls it for every 128th invocation of a method and every 1024th back branch in a particular method. C1 calls it every 1024th invocation and 8192th back branch.
I moved the inline functions to compilerDefinitions.inline.hpp. I had to add the inclusion of this file to a few source files, but most of them were missing an include of compilerDefinitions.hpp anyway.
I also moved CompilerConfig::is_interpreter_only() from compilerDefinitions.cpp into compilerDefinitions.inline.hpp, since it's called by some of the CompilerConfig::is_xxx() inline functions.
-------------
PR: https://git.openjdk.org/jdk/pull/9953
More information about the hotspot-compiler-dev
mailing list