#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):
Replying to [comment:19 GregoryCollins]:
> Can you use a BTS instruction to do bitwise marking atomically? It'd be
nice to see if there was a performance improvement, in theory you trade
some bookkeeping complexity for 8x fewer cache line loads.
BTS is only atomic with a LOCK prefix, and that would make it a lot more
expensive than doing byte operations.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/650#comment:20>
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