comparison src/share/vm/compiler/compileBroker.cpp @ 2901:d577d07cedec

Added time measurement for phases.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 08 Jun 2011 17:01:16 +0200
parents 75a99b4f1c98
children 8b0236cbed14
comparison
equal deleted inserted replaced
2897:be276884eec0 2901:d577d07cedec
658 bool compiling = false; 658 bool compiling = false;
659 while (current != NULL) { 659 while (current != NULL) {
660 if (current->is_Compiler_thread()) { 660 if (current->is_Compiler_thread()) {
661 CompilerThread* comp_thread = current->as_CompilerThread(); 661 CompilerThread* comp_thread = current->as_CompilerThread();
662 if (comp_thread->is_compiling()) { 662 if (comp_thread->is_compiling()) {
663 if (Tracegraal >= 4) { 663 if (TraceGraal >= 4) {
664 tty->print_cr("Compile queue empty, but following thread is still compiling:"); 664 tty->print_cr("Compile queue empty, but following thread is still compiling:");
665 comp_thread->print(); 665 comp_thread->print();
666 } 666 }
667 compiling = true; 667 compiling = true;
668 } 668 }
671 } 671 }
672 if (!compiling) { 672 if (!compiling) {
673 break; 673 break;
674 } 674 }
675 } 675 }
676 if (Tracegraal >= 5) { 676 if (TraceGraal >= 5) {
677 _c1_method_queue->print(); 677 _c1_method_queue->print();
678 } 678 }
679 } 679 }
680 680
681 { 681 {