Skip to content

Chunk large ResizeArrays in TcResultsSinkImpl so that they aren't promoted to the Large Object Heap #6127

@baronfel

Description

@baronfel

Following on from #6084 we should handle the cases where the unbounded ResizeArrays in TcResultsSinkImpl (and potentially elsewhere?) are changed to be a list-like data structure that self-chunks its elements into arrays that are below the LOH threshold.

Then we need to use that structure in place of at least the capturedNameResolutions member of TcResultsSinkImpl, potentially more.

Per @TIHan in #6089 the structure doesn't have to be threadsafe as the compiler service thread is the only accessor.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions