Skip to content

Reconcile how LOH allocations are tracked in allocation contexts #13734

@VSadov

Description

@VSadov

Alloc uses per-thread context
AllocLHeap uses per-heap context.

We probably should use only one way. Using per-heap context consistently is attractive, since we can make allocation contexts smaller by removing alloc_bytes_loh

However, consider GetAllocatedBytesForCurrentThread API - does it actually see allocations done via AllocLHeap ? Should it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions