diff -r 8bd1ac54be56 -r ed8ab32a293d hotspot/src/share/vm/compiler/compileBroker.cpp --- a/hotspot/src/share/vm/compiler/compileBroker.cpp Thu Sep 18 08:47:07 2014 +0200 +++ b/hotspot/src/share/vm/compiler/compileBroker.cpp Thu Sep 18 08:32:12 2014 +0000 @@ -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;