-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider including GC calls in vat transcript #5564
Comments
I realized that an even better argument for this is our hope for deterministic heap snapshots. The contents of a heap snapshot are more sensitive to vat execution than the metering results, because we can (and do) disable metering during deserialization operations which might probe a WeakRef. But the state (full/empty) of that WeakRef depends upon whether GC has happened or not, and that state is obviously included in the heap snapshot. If we want all validators to get the same heap snapshot, we can't afford to allow them to perform GC at different times. A related issue is transcript replay for debugging, where we take the original ( Omitting/ignoring GC syscalls in the transcript used to be a sort of workaround for that bug: before we introduced But once we introduced So I think our "replay locally" (under Node) story depends upon finding and fixing the Node/V8 "GC sometimes happens too late" bug (#3240 , #5575, #5202), otherwise our So actions to take:
|
What is the Problem Being Solved?
In #5557, @warner suggested:
Description of the Design
Include GC syscalls in the transcript and expect identical replay during BOYD.
Test Plan
TBD
The text was updated successfully, but these errors were encountered: