runtime icon indicating copy to clipboard operation
runtime copied to clipboard

ARM JIT support for "jump stamps" for ReJIT

Open RussKeldorph opened this issue 9 years ago • 8 comments

ReJIT sometimes needs to replace the first bytes of a JIT-generated method's prologue with a branch to replacement code. We need to decide what that branch looks like to determine the minimum size of a prologue when ReJIT support is required. Also, enable support for generating said minimum-sized prologues.

category:reach theme:runtime skill-level:expert cost:small

RussKeldorph avatar Oct 26 '17 20:10 RussKeldorph

@dotnet/jit-contrib

RussKeldorph avatar Oct 26 '17 20:10 RussKeldorph

@dotnet/arm32-contrib

RussKeldorph avatar Oct 26 '17 20:10 RussKeldorph

Is there code related to ReJIT branch in ARM64 ? If so, please let us know, it would be helpful for this discussion :)

hqueue avatar Oct 30 '17 10:10 hqueue

@noahfalk confirmed that this is not required for 2.1.

RussKeldorph avatar Feb 01 '18 20:02 RussKeldorph

Let me know if you guys have any further questions about it.

noahfalk avatar Feb 01 '18 22:02 noahfalk

@noahfalk Is this required for 3.0? (For arm32 or other, e.g., arm64)

BruceForstall avatar Jan 09 '19 23:01 BruceForstall

So far I haven't heard any profiler ask for ReJIT on ARM, so you can probably still get away with skipping it for now.

noahfalk avatar Jan 10 '19 07:01 noahfalk

We are no longer using jump stamps after https://github.com/dotnet/coreclr/pull/26740

jkotas avatar Feb 01 '20 18:02 jkotas