United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7100165 JSR 292: leftover printing code in methodHandleWalk.cpp
JDK-7100165 : JSR 292: leftover printing code in methodHandleWalk.cpp

Details
Type:
Bug
Submit Date:
2011-10-12
Status:
Closed
Updated Date:
2012-12-05
Project Name:
JDK
Resolved Date:
2011-11-28
Component:
hotspot
OS:
solaris_10
Sub-Component:
compiler
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u2
Fixed Versions:
hs22 (b08)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
Left over printing code after 7071307

diff -r ec5ce9326985 src/share/vm/prims/methodHandleWalk.cpp
--- a/src/share/vm/prims/methodHandleWalk.cpp
+++ b/src/share/vm/prims/methodHandleWalk.cpp
@@ -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;

                                    

Comments
EVALUATION

It should be deleted.
                                     
2011-10-12
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/a786fdc79c5f
                                     
2011-10-14



Hardware and Software, Engineered to Work Together