-
Notifications
You must be signed in to change notification settings - Fork 206
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
feat(swingset): xsnap vat worker #2225
Commits on Jan 24, 2021
-
feat(xsnap): setImmediate and print
In addition to detecting XS Machine quiescense so we can safely take snapshots, the supervisor has to detect vat queiscense so it can tell when a delivery is done. I have resorted to ad-hoc `fprintf()` at the C level for debugging enough to justify restoring print. Here we test that it's only available in the start compartment. note print() includes fflush()
Configuration menu - View commit details
-
Copy full SHA for 1ff6034 - Browse repository at this point
Copy the full SHA 1ff6034View commit details -
build(xsnap): don't set mxDebug in release builds
fixes Agoric#2216 only tested on lin, not mac nor win
Configuration menu - View commit details
-
Copy full SHA for 48d9b8b - Browse repository at this point
Copy the full SHA 48d9b8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aefa2f - Browse repository at this point
Copy the full SHA 6aefa2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7caa380 - Browse repository at this point
Copy the full SHA 7caa380View commit details -
feat(xsnap): return data from xsnap.evaluate()
Using the .result property of a mutable object rather than the resolution of a promise is a little awkward, but it seems to work.
Configuration menu - View commit details
-
Copy full SHA for 19ad452 - Browse repository at this point
Copy the full SHA 19ad452View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7119d81 - Browse repository at this point
Copy the full SHA 7119d81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98d0b2c - Browse repository at this point
Copy the full SHA 98d0b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ba6e65 - Browse repository at this point
Copy the full SHA 9ba6e65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51a30cd - Browse repository at this point
Copy the full SHA 51a30cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d08c7 - Browse repository at this point
Copy the full SHA 69d08c7View commit details -
feat(swingset): xsnap vat manager
- build xsnap bootstrap bundles - bytes to tagged array and back - setBundle, importBundle - syscall - delivery success symbol is ok, not deliverDone - Use Tagged type consistently; don't constrain tag to be string. - clean up logging: use parentLog(), trace(), ... - static typing for doProcess: capture dispatch while it's known to be not null - silence parentLog, workerLog for xsnap - no, handleSyscall doesn't return Tagged - inherit stdout, stderr in xsnap - vatid arg on doNotify is no more
Configuration menu - View commit details
-
Copy full SHA for 961f0b5 - Browse repository at this point
Copy the full SHA 961f0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a19da62 - Browse repository at this point
Copy the full SHA a19da62View commit details -
Configuration menu - View commit details
-
Copy full SHA for c16d6ce - Browse repository at this point
Copy the full SHA c16d6ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 454362d - Browse repository at this point
Copy the full SHA 454362dView commit details -
refactor: avoid 2nd round trip to xsnap
- manager: prune commandResult - supervisor: factor out "transport" logic as `ManagerPort`, separate from vat-worker `makeWorker()` - ManagerPort.handler provides `{ result?: ArrayBuffer }` idiom based on Promise<Tagged> - testLog uses ManagerPort.send - clean up redundant 'ok' tag in doMessage, doNotify - refactor: tagged -> item for consistency
Configuration menu - View commit details
-
Copy full SHA for 63e2eb1 - Browse repository at this point
Copy the full SHA 63e2eb1View commit details -
feat(xsnap worker): pass console log messages to manager
- prune 'starting xsnap' log msg (per code review) - handle rejection in ManagerPort.handler
Configuration menu - View commit details
-
Copy full SHA for 58dfb17 - Browse repository at this point
Copy the full SHA 58dfb17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7df4d3b - Browse repository at this point
Copy the full SHA 7df4d3bView commit details -
refactor(xsnap): fold in what's left of xs-vat-worker
- prune obsolete locate.js
Configuration menu - View commit details
-
Copy full SHA for f1b2000 - Browse repository at this point
Copy the full SHA f1b2000View commit details -
chore(xsnap): move lockdown-shim out of src/ to avoid tsc errors
move lockdown-shim.js and the rest of the SES bootstrap files from src/ to lib/ to avoid many tsc errors of the form... ``` Error: ../../node_modules/ses/src/error/assert.js(24,20): error TS2304: Cannot find name 'StringablePayload'. ```
Configuration menu - View commit details
-
Copy full SHA for 1ebf699 - Browse repository at this point
Copy the full SHA 1ebf699View commit details -
Configuration menu - View commit details
-
Copy full SHA for aab7d0d - Browse repository at this point
Copy the full SHA aab7d0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 701e2f4 - Browse repository at this point
Copy the full SHA 701e2f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d200428 - Browse repository at this point
Copy the full SHA d200428View commit details -
chore(xsnap): provide non-trivial console in start compartment
add TODO re other console methods with pointer to Agoric#2146
Configuration menu - View commit details
-
Copy full SHA for 37a658c - Browse repository at this point
Copy the full SHA 37a658cView commit details