Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
4978:99d3d8a72252 | 4979:18a5539bf19b |
---|---|
150 _invocations = _method->invocation_count() + _method->backedge_count(); | 150 _invocations = _method->invocation_count() + _method->backedge_count(); |
151 } | 151 } |
152 | 152 |
153 void RFrame::print(const char* kind) { | 153 void RFrame::print(const char* kind) { |
154 #ifndef PRODUCT | 154 #ifndef PRODUCT |
155 //#ifdef COMPILER2 | 155 #if defined(COMPILER2) || defined(GRAAL) |
156 int cnt = top_method()->interpreter_invocation_count(); | 156 int cnt = top_method()->interpreter_invocation_count(); |
157 //#else | 157 #else |
158 // int cnt = top_method()->invocation_count(); | 158 int cnt = top_method()->invocation_count(); |
159 //#endif | 159 #endif |
160 tty->print("%3d %s ", _num, is_interpreted() ? "I" : "C"); | 160 tty->print("%3d %s ", _num, is_interpreted() ? "I" : "C"); |
161 top_method()->print_short_name(tty); | 161 top_method()->print_short_name(tty); |
162 tty->print_cr(": inv=%5d(%d) cst=%4d", _invocations, cnt, cost()); | 162 tty->print_cr(": inv=%5d(%d) cst=%4d", _invocations, cnt, cost()); |
163 #endif | 163 #endif |
164 } | 164 } |