Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7100165

JSR 292: leftover printing code in methodHandleWalk.cpp

    Details

    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      x86
    • OS:
      solaris_10
    • Verification:
      Verified

      Backports

        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;

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  never Tom Rodriguez
                  Reporter:
                  never Tom Rodriguez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: