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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs14
    • hs12
    • hotspot
    • b06
    • sparc
    • solaris_10

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: