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

Method inlining creates undefined returns with exceptions

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: 2.9.1, 2.9.0.1, 2.9.0
    • Fix Version/s: 1000
    • Component/s: Compiler: Optimizing
    • Labels:
      None

      Description

      Method inlining assumes a method that states it will return a value, returns a value. In Java this isn't always the case as a method can throw an exception. A common pattern is for a method to throw an unimplemented exception. This behavior is seen in benchmark code. For example running DaCapo jython with -X:aos:initial_compiler=opt and paranoid IR checking will result in a failure as uses are found for the result of a method that never defines the result value. A similar failure occurs in SPECjvm's javac.

      This tracker supersedes SF bug tracker 1358987:
      http://sourceforge.net/tracker/index.php?func=detail&aid=1358987&group_id=128805&atid=712768

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                ianrogers Ian Rogers
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: