[Mono-bugs] [Bug 648831] New: Thread.MemoryBarrier() needs to be implemented on x86 and x86-64

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 23 04:18:42 EDT 2010



           Summary: Thread.MemoryBarrier() needs to be implemented on x86
                    and x86-64
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.8.x
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: jeroen at sumatra.nl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64;

The Mono JIT incorrectly assumes that a memory barrier isn't needed on x86.

The .NET JIT does an interlocked memory operation to create a full memory
barrier. I believe that an mfence x86 opcode is a better implementation (an
CPUs where it is available).

Reproducible: Always

Steps to Reproduce:

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list