Skip to content
  • Ömer Sinan Ağacan's avatar
    Fix new compact block allocation in allocateForCompact · 8a254d6b
    Ömer Sinan Ağacan authored and Marge Bot's avatar Marge Bot committed
    allocateForCompact() is called when nursery of a compact region is
    full, to add new blocks to the compact. New blocks added to an existing
    region needs a StgCompactNFDataBlock header, not a StgCompactNFData.
    
    This fixes allocateForCompact() so that it now correctly allocates space
    for StgCompactNFDataBlock instead of StgCompactNFData as before.
    
    Fixes #17044.
    
    A regression test T17044 added.
    8a254d6b