Mercurial > hg > truffle
diff src/share/vm/compiler/compileBroker.cpp @ 13040:f8b56489e455
Merge
author | mgronlun |
---|---|
date | Fri, 01 Nov 2013 17:10:31 +0000 |
parents | a196f1aaec86 |
children | 78da3894b86f 2b8e28fdf503 |
line wrap: on
line diff
--- a/src/share/vm/compiler/compileBroker.cpp Fri Nov 01 10:32:36 2013 -0400 +++ b/src/share/vm/compiler/compileBroker.cpp Fri Nov 01 17:10:31 2013 +0000 @@ -780,6 +780,10 @@ void CompileBroker::compilation_init() { _last_method_compiled[0] = '\0'; + // No need to initialize compilation system if we do not use it. + if (!UseCompiler) { + return; + } #ifndef SHARK // Set the interface to the current compiler(s). int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple);