RVM
  1. RVM
  2. RVM-854

Failed to find a value to spill when

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.1
    • Component/s: Compiler: Optimizing
    • Labels:
      None
    • Number of attachments :
      0

      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?

        Activity

        Hide
        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
        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
        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
        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:
            Daniel Frampton
            Reporter:
            Daniel Frampton
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: