Mercurial > hg > truffle
comparison src/share/vm/compiler/compileBroker.cpp @ 13018:fc1632f5021a
Merge
author | iveresov |
---|---|
date | Mon, 28 Oct 2013 17:32:02 -0700 |
parents | a196f1aaec86 |
children | 78da3894b86f 2b8e28fdf503 |
comparison
equal
deleted
inserted
replaced
12994:f94a9f0746d8 | 13018:fc1632f5021a |
---|---|
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 |