comparison src/share/vm/runtime/compilationPolicy.cpp @ 21559:be896a1983c0

recast all Graal native code as JVMCI code (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Thu, 28 May 2015 15:36:48 +0200
parents 8f2fb6bec986
children 9d78d44d3aac
comparison
equal deleted inserted replaced
21558:d563baeca9df 21559:be896a1983c0
198 // - if only COMPILER1 is defined (client build), zero should be returned for 198 // - if only COMPILER1 is defined (client build), zero should be returned for
199 // the c2 level. 199 // the c2 level.
200 // - if neither is defined - always return zero. 200 // - if neither is defined - always return zero.
201 int NonTieredCompPolicy::compiler_count(CompLevel comp_level) { 201 int NonTieredCompPolicy::compiler_count(CompLevel comp_level) {
202 assert(!TieredCompilation, "This policy should not be used with TieredCompilation"); 202 assert(!TieredCompilation, "This policy should not be used with TieredCompilation");
203 #if defined(COMPILER2) || defined(COMPILERGRAAL) 203 #if defined(COMPILER2) || defined(COMPILERJVMCI)
204 if (is_c2_compile(comp_level)) { 204 if (is_c2_compile(comp_level)) {
205 return _compiler_count; 205 return _compiler_count;
206 } else { 206 } else {
207 return 0; 207 return 0;
208 } 208 }