LfhSubsegment

final class ntoseye.LfhSubsegment

Subclass of BaseRecord.

A segment-heap LFH subsegment (_HEAP_LFH_SUBSEGMENT).

property address: int
property bit_stride: int

1 where a word keeps only busy bits, 2 where each block’s busy bit has a second bit after it.

property bitmap: list[int]

The BlockBitmap words (a qword on x64, a dword on x86), each holding blocks_per_word blocks: block i’s bit (i % blocks_per_word) * bit_stride is set while the block is busy.

property block_count: int

Every block, those the subsegment withholds (WitheldBlockCount) with the rest (BlockCount).

property block_size: int

Bytes per block.

property blocks_per_word: int
property bucket: int | None

The LFH bucket of the subsegment. None while a subsegment without BucketRef is in its delayed-free state, which hides its owner.

property busy_count: int
property first_block: int
property free_count: int