#5923: closure_flags[] contains wrong _BTM data (whether the layout is bitmap
or
pointer first)
------------------------------+---------------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.4.1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Other | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
After reading through source:rts/sm/Scav.c I find that among the objects
on the heap, only closures of type PAP and AP have a bitmap to describe
the pointer/data-layout of their payload, all others use the pointers-
first-convention.
This is in contrast to what source:rts/ClosureFlags.c claims in
closure_flags[] , which says that all THUNK_-types have this bit set.
It seems that the bitmap data in closure_flags[] is not used anywhere, so
this is but a source of confusion.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5923>
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