--- old/src/share/vm/compiler/compileBroker.cpp 2014-09-17 02:57:41.000000000 -0700 +++ new/src/share/vm/compiler/compileBroker.cpp 2014-09-17 02:57:41.000000000 -0700 @@ -1206,6 +1206,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;