Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Teo Camarasu's avatar
    60f97ccb
    nonmoving: introduce a family of dense allocators · 60f97ccb
    Teo Camarasu authored and Ben Gamari's avatar Ben Gamari committed
    Supplement the existing power 2 sized nonmoving allocators with a family
    of dense allocators up to a configurable threshold.
    
    This should reduce waste from rounding up block sizes while keeping the
    amount of allocator sizes manageable.
    
    This patch:
      - Adds a new configuration option `--nonmoving-dense-allocator-count`
        to control the amount of these new dense allocators.
      - Adds some constants to `NonmovingAllocator` in order to keep
        marking fast with the new allocators.
    
    Resolves #23340
    
    (cherry picked from commit f830d5a34c4c972cced73b6dc25954cedf336747)
    (cherry picked from commit 47e02c2ae0ea4713a2f22edf21b9a4eb5fe635be)
    60f97ccb
    History
    nonmoving: introduce a family of dense allocators
    Teo Camarasu authored and Ben Gamari's avatar Ben Gamari committed
    Supplement the existing power 2 sized nonmoving allocators with a family
    of dense allocators up to a configurable threshold.
    
    This should reduce waste from rounding up block sizes while keeping the
    amount of allocator sizes manageable.
    
    This patch:
      - Adds a new configuration option `--nonmoving-dense-allocator-count`
        to control the amount of these new dense allocators.
      - Adds some constants to `NonmovingAllocator` in order to keep
        marking fast with the new allocators.
    
    Resolves #23340
    
    (cherry picked from commit f830d5a34c4c972cced73b6dc25954cedf336747)
    (cherry picked from commit 47e02c2ae0ea4713a2f22edf21b9a4eb5fe635be)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.