Uploaded image for project: 'JikesRVM'
  1. RVM-1078

SplitBasicBlock does not correctly count instructions when splitting basic blocks

    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

      Description

      The compiler phase SplitBasicBlock counts instructions in basic blocks to determine whether the block should be split. The count is incorrect because pseudo-instructions like LABEL are also counted.

      This can lead to infinite loops (which manifest as OutOfMemoryError), e.g. when using -X:opt:l2m_max_block_size=1.

        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: