Mercurial > hg > graal-compiler
diff src/share/vm/c1/c1_Runtime1.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 | f9c6d9bc4fbc |
line wrap: on
line diff
--- a/src/share/vm/c1/c1_Runtime1.cpp Wed Jun 08 14:50:55 2011 +0200 +++ b/src/share/vm/c1/c1_Runtime1.cpp Wed Jun 08 17:01:16 2011 +0200 @@ -661,7 +661,7 @@ JRT_ENTRY_NO_ASYNC(void, Runtime1::monitorenter(JavaThread* thread, oopDesc* obj, BasicObjectLock* lock)) NOT_PRODUCT(_monitorenter_slowcase_cnt++;) #ifdef ASSERT - if (Tracegraal >= 3) { + if (TraceGraal >= 3) { tty->print_cr("entered locking slow case with obj=" INTPTR_FORMAT " and lock= " INTPTR_FORMAT, obj, lock); } if (PrintBiasedLockingStatistics) { @@ -689,7 +689,7 @@ } } #ifdef ASSERT - if (Tracegraal >= 3) { + if (TraceGraal >= 3) { tty->print_cr("exiting locking lock state: obj=" INTPTR_FORMAT, lock->obj()); lock->lock()->print_on(tty); tty->print_cr("");