src/share/vm/compiler/compileBroker.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/compiler/compileBroker.cpp	Wed Sep 17 16:06:58 2014
--- new/src/share/vm/compiler/compileBroker.cpp	Wed Sep 17 16:06:58 2014

*** 1204,1213 **** --- 1204,1219 ---- // by a compiler thread), and compiled method registration. if (InstanceRefKlass::owns_pending_list_lock(JavaThread::current())) { 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; CompileQueue* queue = compile_queue(comp_level);

src/share/vm/compiler/compileBroker.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File