Skip to content

closure_flags[] contains wrong _BTM data (whether the layout is bitmap or pointer first)

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.

Trac metadata
Trac field Value
Version 7.4.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information