--- old/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp 2015-11-02 17:07:00.000000000 -1000 +++ new/src/share/vm/runtime/simpleThresholdPolicy.inline.hpp 2015-11-02 17:07:00.000000000 -1000 @@ -68,6 +68,14 @@ method->is_constant_getter()) { return true; } +#if INCLUDE_JVMCI + if (UseJVMCICompiler) { + if (TieredCompilation && CompileBroker::compiler(CompLevel_full_optimization) != NULL && + CompileBroker::compiler(CompLevel_full_optimization)->is_trivial(method)) { + return true; + } + } +#endif if (method->has_loops() || method->code_size() >= 15) { return false; }