#650: Improve interaction between mutable arrays and GC
--------------------------------------+-------------------------------------
  Reporter:  simonmar                 |          Owner:  simonmar        
      Type:  bug                      |         Status:  new             
  Priority:  normal                   |      Milestone:  6.14.1          
 Component:  Runtime System           |        Version:  6.4.1           
Resolution:                           |       Keywords:                  
Difficulty:  Difficult (2-5 days)     |             Os:  Unknown/Multiple
  Testcase:                           |   Architecture:  Unknown/Multiple
   Failure:  Runtime performance bug  |  
--------------------------------------+-------------------------------------
Comment (by simonmar):

 cmpxchg is also only atomic with a LOCK prefix.  Typically a LOCK prefix
 adds on the order of 100 cycles, even without contention.  Apprently it's
 better on Nehalem CPUs, but still we need something that works well across
 a variety of hardware.  I don't think using byte writes are a big problem
 in practice.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/650#comment:22>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to