Uh oh!
There was an error while loading. Please reload this page.
[wasm][coreclr] Add RhpNewFast allocators - #120896
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR implements three previously stubbed-out fast allocation functions (RhpNewFast, RhpNewFastAlign8, and RhpNewFastMisalign) in the portable CoreCLR runtime. These functions provide optimized object allocation paths by attempting to allocate directly from the thread's allocation context before falling back to slower allocation methods.
Key Changes:
- Replaced
PORTABILITY_ASSERTstubs with full implementations for all three allocator functions - Added thread-local allocation context management with fast-path allocation logic
- Implemented alignment handling for 8-byte aligned and misaligned allocations using dummy objects
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Tagging subscribers to this area: @mangod9 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jkotas
commented
Oct 20, 2025
I have noticed that a few of the existing helpers in this file have unnecessary |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jkotas
commented
Oct 21, 2025
Could you please fix this too? |
radekdoulik
commented
Oct 21, 2025
Hope I didn't forget anything else. |
radekdoulik
commented
Oct 21, 2025
Ah, I did, I wanted to ifdef the align8/misalign |
No description provided.