Skip to content
Discussion options

You must be logged in to vote

Thanks for reporting this issue, it seems to be running into an edge case - stackalloc inside a method with loops, jit conservatively immediately self-promotes itself to the final tier (FullOpts):

**** JIT Tier0 jit request switching to Tier1 because: OSR can't handle localloc

It is something we want to eventually fix, for now, we can workaround it - JIT shouldn't give up on small constant sized stackallocs (<=32b) as we promote those to locals.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@KPHIBYE
Comment options

@EgorBo
Comment options

EgorBo Dec 6, 2025
Collaborator

@KPHIBYE
Comment options

Answer selected by KPHIBYE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants