Mercurial > hg > truffle
comparison src/share/vm/graal/graalCompiler.cpp @ 13103:c0b0974dd509
moved notification of Graal compilation statistics from VMToCompiler to CompilerToVM
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 21 Nov 2013 22:08:04 +0100 |
parents | b65b34c524cb |
children | dd941feb26cb |
comparison
equal
deleted
inserted
replaced
13102:f9f4503a4ab5 | 13103:c0b0974dd509 |
---|---|
100 } | 100 } |
101 VMToCompiler::finalizeOptions(CITime); | 101 VMToCompiler::finalizeOptions(CITime); |
102 | 102 |
103 if (UseCompiler) { | 103 if (UseCompiler) { |
104 bool bootstrap = GRAALVM_ONLY(BootstrapGraal) NOT_GRAALVM(false); | 104 bool bootstrap = GRAALVM_ONLY(BootstrapGraal) NOT_GRAALVM(false); |
105 jlong compilerStatisticsAddress = (jlong) ((address) (stats())); | 105 VMToCompiler::startCompiler(bootstrap); |
106 VMToCompiler::startCompiler(bootstrap, compilerStatisticsAddress); | |
107 _initialized = true; | 106 _initialized = true; |
108 CompilationPolicy::completed_vm_startup(); | 107 CompilationPolicy::completed_vm_startup(); |
109 if (bootstrap) { | 108 if (bootstrap) { |
110 VMToCompiler::bootstrap(); | 109 VMToCompiler::bootstrap(); |
111 } | 110 } |