You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Follow-up work on shared allocation helpers #116191
PR #115339 enables sharing of the allocation helpers written in assembly between CoreCLR and NativeAOT runtimes. This is a tracking issue for follow-up work that came up during review of the PR:
Change managed signatures of new array helpers to take nint (1)
Optimization: Enable the RhpNewObjectArrayFast helper on NativeAOT and teach JIT interface to use it.
Cleanup: Extract the 0x40000000 magic constant in RhpNewObjectArrayFast to a named constant like FAST_OBJECT_ARRAY_ALLOCATION_THRESHOLD (1)
Activity
dotnet-policy-service commentedon Jun 1, 2025
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.
kant2002 commentedon Oct 28, 2025
FAST_OBJECT_ARRAY_ALLOCATION_THRESHOLDif it would be in comments?RhpNewObjectArrayFastis nowRhpNewPtrArrayFast. That's for passerbuys.Use JIT assumptions when passing to RhpNewArray* helpers (#121139)
am11 commentedon Oct 29, 2025
That's only for amd64, other assemblies have the constant in use: