-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
With the introduction of `CodeInstance` serialization support in JuliaLang/julia#52852, it's now reasonable to experiment with persisting the analysis cache during precompilation. There's an important consideration: the `codeinst.max_world` might occasionally be set to `WORLD_AGE_REVALIDATION_SENTINEL` on the C side under certain conditions. This assignment should ideally be reserved for proper `CodeInstance`s (but it is not currently) and supposed to be fixed up by a subsequent serialization pass. To address this, this commit also adds an `__init__` hook that overrides such `max_world`s at package loading time.
- Loading branch information
Showing
3 changed files
with
22 additions
and
3 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