AllocationList::only_group_allocations_at_most

fn only_group_allocations_at_most(
    self: AllocationList,
    threshold: Integer
) -> AllocationList

Returns a new AllocationList with only the allocations that come from a stack trace which produced at most threshold allocations.