changeset 26800 | ed8ab32a293d |
parent 26798 | 8bd1ac54be56 |
parent 26799 | 0c349e16bbe8 |
child 26807 | 843ea33eb963 |
--- 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;