-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use preferred region from PAL for JIT reloc hints (#60747)
We currently have two schemes that try to ensure jitted code and statics end up close to each other and close to coreclr. In Windows, we have USE_UPPER_ADDRESS that lazily will reserve memory for loader heaps that is close to coreclr. For PAL, we eagerly reserve a large chunk of memory nearby during start up. However for PAL we were not using this region to report back to the JIT that addresses in this range can use rip-relative addressing. Add this support. I have also cleaned up some of the code around USE_UPPER_ADDRESS: I have renamed it to USE_LAZY_PREFERRED_RANGE and removed some dead code.
- Loading branch information
1 parent
23d734e
commit 7084d44
Showing
9 changed files
with
171 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.