Mercurial > hg > truffle
diff src/share/vm/runtime/simpleThresholdPolicy.inline.hpp @ 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 | 7848fc12602b |
children |
line wrap: on
line diff
--- a/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp Wed May 27 13:43:27 2015 +0200 +++ b/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp Thu May 28 15:36:48 2015 +0200 @@ -58,10 +58,10 @@ method->is_constant_getter()) { return true; } -#ifdef COMPILERGRAAL - if (TieredCompilation && GraalCompileWithC1Only && - SystemDictionary::graal_loader() != NULL && - method->method_holder()->class_loader() == SystemDictionary::graal_loader()) { +#ifdef COMPILERJVMCI + if (TieredCompilation && JVMCICompileWithC1Only && + SystemDictionary::jvmci_loader() != NULL && + method->method_holder()->class_loader() == SystemDictionary::jvmci_loader()) { return true; } #endif