Skip to content

An allocating thread zeroes free blocks it cannot use while a collection is pending #141

Closed

Description

@dimensionscape

GetFreeBlock takes and zeroes a free block before checking gPauseForCollect, and CallAlloc then drops it and loops until no free block is left, so each stop-the-world can zero megabytes of blocks for nothing (about 120 blocks per collection with three allocating threads).

Activity

  1. added this to the 6.0.0 milestone on Oct 15, 2026
  2. added a commit that references this issue on Oct 15, 2026
    f04f013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions