Mercurial > hg > graal-compiler
comparison src/share/vm/compiler/compileBroker.cpp @ 19943:5119e7f07d93
Log dequeue of methods from CompileQueue
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 17 Mar 2015 19:21:22 -0700 |
parents | c3d9637c98ed |
children | 6a0692faf9fd |
comparison
equal
deleted
inserted
replaced
19926:575d7607f827 | 19943:5119e7f07d93 |
---|---|
552 } | 552 } |
553 if (_hot_count != 0) { | 553 if (_hot_count != 0) { |
554 xtty->print(" hot_count='%d'", _hot_count); | 554 xtty->print(" hot_count='%d'", _hot_count); |
555 } | 555 } |
556 xtty->end_elem(); | 556 xtty->end_elem(); |
557 } | |
558 | |
559 | |
560 // ------------------------------------------------------------------ | |
561 // CompileTask::log_task_dequeued | |
562 void CompileTask::log_task_dequeued(const char* comment) { | |
563 if (LogCompilation && xtty != NULL) { | |
564 Thread* thread = Thread::current(); | |
565 ttyLocker ttyl; | |
566 ResourceMark rm(thread); | |
567 | |
568 xtty->begin_elem("task_dequeued"); | |
569 log_task(xtty); | |
570 if (comment != NULL) { | |
571 xtty->print(" comment='%s'", comment); | |
572 } | |
573 xtty->end_elem(); | |
574 } | |
557 } | 575 } |
558 | 576 |
559 | 577 |
560 // ------------------------------------------------------------------ | 578 // ------------------------------------------------------------------ |
561 // CompileTask::log_task_start | 579 // CompileTask::log_task_start |