< prev index next >

src/hotspot/share/compiler/compileBroker.cpp

Print this page

        

*** 528,538 **** return NULL; } void CompileBroker::print_compile_queues(outputStream* st) { st->print_cr("Current compiles: "); - MutexLocker locker(MethodCompileQueue_lock); char buf[2000]; int buflen = sizeof(buf); Threads::print_threads_compiling(st, buf, buflen); --- 528,537 ----
*** 544,554 **** _c2_compile_queue->print(st); } } void CompileQueue::print(outputStream* st) { ! assert(MethodCompileQueue_lock->owned_by_self(), "must own lock"); st->print_cr("%s:", name()); CompileTask* task = _first; if (task == NULL) { st->print_cr("Empty"); } else { --- 543,553 ---- _c2_compile_queue->print(st); } } void CompileQueue::print(outputStream* st) { ! assert_locked_or_safepoint(MethodCompileQueue_lock); st->print_cr("%s:", name()); CompileTask* task = _first; if (task == NULL) { st->print_cr("Empty"); } else {
< prev index next >