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

Set probability FAIR for pre-, post- loops and ALWAYS for main loop

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs12
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      sparc
    • OS:
      solaris_10

      Backports

        Description

        C2 clone original loop's probability when it constructs pre-, main, post- loops.
        Then C2 adds zero-trip guard for main loop with probability FAIR.
        As result a main loop's probability could be half of a pre-loop's probability
        and RA may generates stack spills in the main loop and not in the pre-loop.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kvn Vladimir Kozlov
                  Reporter:
                  kvn Vladimir Kozlov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: