RFR: 8258715: [JVMCI] separate JVMCI code install timers for CompileBroker and hosted compilations
Doug Simon
dnsimon at openjdk.java.net
Fri Dec 18 23:51:04 UTC 2020
On Fri, 18 Dec 2020 23:45:24 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> Currently, a single timer is used for timing JVMCI based installation of code into the code cache. This makes it impossible to work out how much time is for compilations requested by the CompileBroker and how much is for "hosted" compilations (i.e. requested from the JVMCI Java API). This PR separates out timers for each of these compilation types.
>
> Here's an example of how the JVMCI section in the output for `-XX:+CITime` now looks:
> JVMCI CompileBroker Time:
> Compile: 15.794 s
> Install Code: 0.182 s
>
> JVMCI Hosted Time:
> Install Code: 0.035 s
src/hotspot/share/compiler/compileBroker.cpp line 2774:
> 2772: }
> 2773: #if INCLUDE_JVMCI
> 2774: if (EnableJVMCI) {
The `!UseJVMCICompiler` condition has been removed as it's possible for both CompilerBroker and hosted compilations to be made in a single VM execution.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1847
More information about the hotspot-compiler-dev
mailing list