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

Optimizing compiler never inserts checkstore checks in inlined code

    Details

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

      All (IA32 + PPC)

      Description

      When I investigated the bug with passing of command line arguments in test runs (see RVM-1035 Closed ), I discovered that the pre-commit test run was failing. In particular, the CheckStore subtest of InvokeReflect from the opttests test was failing: the test expected two ArrayStoreException to be thrown but none were thrown.

      This issue tracks the CheckStore bug.

      The bug is in the createChildContext(..) method. It does not set the doesCheckStore property so that property is false by default which leads to the checks not being inserted.

        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: