Mercurial > hg > graal-compiler
diff src/share/vm/runtime/rframe.cpp @ 4979:18a5539bf19b
More diff vs hsx24 optimizations.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Mon, 27 Feb 2012 21:43:51 +0100 |
parents | 409ef3a68dc8 |
children | be896a1983c0 |
line wrap: on
line diff
--- a/src/share/vm/runtime/rframe.cpp Mon Feb 27 18:31:27 2012 +0100 +++ b/src/share/vm/runtime/rframe.cpp Mon Feb 27 21:43:51 2012 +0100 @@ -152,11 +152,11 @@ void RFrame::print(const char* kind) { #ifndef PRODUCT -//#ifdef COMPILER2 +#if defined(COMPILER2) || defined(GRAAL) int cnt = top_method()->interpreter_invocation_count(); -//#else -// int cnt = top_method()->invocation_count(); -//#endif +#else + int cnt = top_method()->invocation_count(); +#endif tty->print("%3d %s ", _num, is_interpreted() ? "I" : "C"); top_method()->print_short_name(tty); tty->print_cr(": inv=%5d(%d) cst=%4d", _invocations, cnt, cost());