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

MethodHandle bimorphic inlining should consider the frequency

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: hs22
    • Fix Version/s: hs22
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b05
    • CPU:
      x86
    • OS:
      solaris_10
    • Verification:
      Not verified

      Backports

        Description

        The fix for 7050554 added a bimorphic inline path but didn't take into account the frequency of the guarding test. This ends up treating both sides of the if as equally frequent which can lead to over inlining and overflowing the method inlining limits.

          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: