7100165: JSR 292: leftover printing code in methodHandleWalk.cpp
Reviewed-by: kvn, twisti
--- a/hotspot/src/share/vm/prims/methodHandleWalk.cpp Wed Oct 12 21:00:13 2011 -0700
+++ b/hotspot/src/share/vm/prims/methodHandleWalk.cpp Thu Oct 13 14:08:15 2011 -0700
@@ -1387,10 +1387,8 @@
int total = count1 + count2;
if (count1 != -1 && count2 != -1 && total != 0) {
// Normalize the collect counts to the invoke_count
- tty->print("counts %d %d scaled by %d = ", count2, count1, _invoke_count);
if (count1 != 0) _not_taken_count = (int)(_invoke_count * count1 / (double)total);
if (count2 != 0) _taken_count = (int)(_invoke_count * count2 / (double)total);
- tty->print_cr("%d %d", _taken_count, _not_taken_count);
return true;
}
return false;