Skip to content

Net5 should support something like Windows.Foundation.Metadata.GCPressure #36762

@Scottj1s

Description

@Scottj1s

This attribute, when attached to lightweight RCWs, provides the GC with a t-shirt size description of native payload backing the RCW. This prevents pathological heap freeing of heavy objects. With the removal of WinRT from the runtime and adoption of C#/WinRT, the WinUI effort still requires this capability. The name of the attribute and supporting types can certainly be changed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions