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

Correct implementation of full memory fences in the compilers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4
    • Labels:
      None
    • Environment:

      IA32 opt compiler, PPC compilers

      Description

      Full memory fences are currently not correctly implemented in the Jikes RVM. The FENCE operator is missing the acquire trait, which is fixed by the attached patch by Michael Bond.

      Additionally, the PPC compilers ought to use hwsync for full memory fences instead of lwsync which is emitted by default when using the emitSYNC function of the PPC assembler.

        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: