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

GenerationContext.resync() deletes all null check guards

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Lowest
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4
    • Component/s: Compiler: Optimizing
    • Labels:
      None

      Description

      GenerationContext.resync() is supposed to make sure that all null check guards have a valid register. However, there is a bug in the implementation. The line

      if (!(regPool.contains(entry.getValue()))) i.remove();

      from the current implementation is wrong (the contains test will always return false). It should read

      if (!(regPool.contains(entry.getKey()))) i.remove();

        Attachments

          Activity

            People

            • Assignee:
              ebrangs Erik Brangs
              Reporter:
              ebrangs Erik Brangs
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: