-
-
Notifications
You must be signed in to change notification settings - Fork 776
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Snapshots: allow snapshotting some user code (#4720)
This adds some basic ability to snapshot after executing user code. It is pretty brittle right now: 1. It will crash if the user loads any binary extensions before taking the snapshot 2. It doesn't track changes to the file system Snapshots will probably have to be experimental for quite a while. 1. I think I have a pretty good solution for this, which I will work on in a followup. 2. One possibility here is we could serialize the entire filesystem state into the memory snapshot. This would be hard and make the snapshot big, but we wouldn't have to load python_stdlib.zip when restoring from a snapshot so it probably wouldn't increase the total download size by much...
- Loading branch information
Showing
9 changed files
with
477 additions
and
121 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
Oops, something went wrong.