#2934: HEAP_ALLOCED() is not thread-safe
----------------------------------+-----------------------------------------
Reporter: anish | Owner: igloo
Type: merge | Status: new
Priority: high | Milestone: 6.10.2
Component: Runtime System | Version: 6.10.1
Severity: normal | Resolution:
Keywords: garbage collector | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: x86_64 (amd64) |
----------------------------------+-----------------------------------------
Changes (by simonmar):
* owner: simonmar => igloo
* type: bug => merge
Comment:
Fixed:
{{{
Mon Mar 9 12:13:00 GMT 2009 Simon Marlow <[email protected]>
* Redesign 64-bit HEAP_ALLOCED (FIX #2934 at the same time)
After much experimentation, I've found a formulation for HEAP_ALLOCED
that (a) improves performance, and (b) doesn't have any race
conditions when used concurrently. GC performance on x86_64 should be
improved slightly. See extensive comments in MBlock.h for the
details.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2934#comment:7>
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