Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
13038:910026b800b8 | 13040:f8b56489e455 |
---|---|
778 // | 778 // |
779 // Initialize the Compilation object | 779 // Initialize the Compilation object |
780 void CompileBroker::compilation_init() { | 780 void CompileBroker::compilation_init() { |
781 _last_method_compiled[0] = '\0'; | 781 _last_method_compiled[0] = '\0'; |
782 | 782 |
783 // No need to initialize compilation system if we do not use it. | |
784 if (!UseCompiler) { | |
785 return; | |
786 } | |
783 #ifndef SHARK | 787 #ifndef SHARK |
784 // Set the interface to the current compiler(s). | 788 // Set the interface to the current compiler(s). |
785 int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple); | 789 int c1_count = CompilationPolicy::policy()->compiler_count(CompLevel_simple); |
786 int c2_count = CompilationPolicy::policy()->compiler_count(CompLevel_full_optimization); | 790 int c2_count = CompilationPolicy::policy()->compiler_count(CompLevel_full_optimization); |
787 #ifdef COMPILER1 | 791 #ifdef COMPILER1 |