--- old/src/share/vm/compiler/compileBroker.cpp 2014-09-19 11:48:30.000000000 -0700 +++ new/src/share/vm/compiler/compileBroker.cpp 2014-09-19 11:48:30.000000000 -0700 @@ -1175,6 +1175,12 @@ return; } + if (TieredCompilation) { + // Tiered policy requires MethodCounters to exist before adding a method to + // the queue. Create if we don't have them yet. + method->get_method_counters(thread); + } + // Outputs from the following MutexLocker block: CompileTask* task = NULL; bool blocking = false;