Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-854

Failed to find a value to spill when

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.1
    • Component/s: Compiler: Optimizing
    • Labels:
      None

      Description

      The spill cost was being set to max int instead of max double, causing very expensive spills to be overlooked.

      The spill costs seem very high (~6E11), is this reasonable?

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            zyridium Daniel Frampton added a comment -

            I put in a fix in r15774 but I am leaving open until someone more familiar with this code has a chance to check.

            Show
            zyridium Daniel Frampton added a comment - I put in a fix in r15774 but I am leaving open until someone more familiar with this code has a chance to check.
            Hide
            dgrove David Grove added a comment -

            In the case of an "infinite" loop, guess it's possible that we've computed an unusually high weight for the basic block containing the spill, and that could inflate the spill cost.

            Does seem awfully high though...

            Show
            dgrove David Grove added a comment - In the case of an "infinite" loop, guess it's possible that we've computed an unusually high weight for the basic block containing the spill, and that could inflate the spill cost. Does seem awfully high though...

              People

              • Assignee:
                zyridium Daniel Frampton
                Reporter:
                zyridium Daniel Frampton
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: