forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce support for unlimited trampolines.
With this new code there is no longer an AOT compiler limit on the number of trampolines, as they are allocated at runtime as necessary on iOS systems. We use iOS's ability to remap a page to a different address in memory and we replicate the trampolines we generate in the binary file to a location in memory near a writable page where the trampolines can find the specific runtime data needed (basically building writable constant pools). On a big app like bcltests, this saves more than 900KB of binary size. There is still the option to use the old code, by passing the "nopagetrampolines" option tp the AOT compiler (the new code is the default).
- Loading branch information
Showing
3 changed files
with
375 additions
and
13 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
Oops, something went wrong.