Skip to content

Avoid unnecessary extra indirection in allocation helpers #99661

Closed
@jkotas

Description

@jkotas

Context: #99552 (comment)

The allocation helpers in CoreCLR have an unnecessary extra indirection. The alloc_context can be thread static directly. The extra indirection via Thread is unnecessary. The allocation helpers in native AOT do not have this indirection. It would be nice to port the improvement to regular CoreCLR and unify how the allocation helpers work.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions