Skip to content

JIT should support custom ClassLayout instances with GC refs #103362

@jakobbotsch

Description

@jakobbotsch

Similar to the support for block layouts we should generalize the support to support arbitrary GC refs. This would be beneficial for object stack allocation to represent some layouts (like boxes). It would also potentially allow describing some more efficient handling of remainders in physical promotion.

We may also want to add the ability to describe the significant ranges of the layout such that physical promotion can efficiently handle padding in these custom layouts.

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions