Closed
Bug 1444619
Opened 7 years ago
Closed 3 years ago
Web Replay: Don't take snapshots when diverging from recording.
Categories
(Core :: General, enhancement)
Core
General
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
firefox60 | --- | affected |
People
(Reporter: bhackett1024, Unassigned)
References
Details
Attachments
(4 files)
10.77 KB,
patch
|
Details | Diff | Splinter Review | |
26.13 KB,
patch
|
Details | Diff | Splinter Review | |
3.81 KB,
patch
|
Details | Diff | Splinter Review | |
855 bytes,
patch
|
Details | Diff | Splinter Review |
Currently, Web Replay deals with recording divergence (when we are paused at e.g. a breakpoint and the debugger is trying to interact with the system in ways that differ from the recording) by taking snapshots on every operation that might diverge (certain debugger requests) and restoring those snapshots if an unhandled divergence occurs during the operation. This is simple but slow: hundreds of snapshots might be taken while paused at a breakpoint, and even though each of these is small in space, they involve a fair amount of overhead to produce (mainly in corralling other threads).
The following patches remove the need to take these snapshots. If an unhandled divergence occurs while processing a debugger request, we rewind to the most recent normal snapshot, execute forward to the breakpoint, and re-process any old debugger requests before indicating the failed one to the middleman. This adds a fair amount of bookkeeping requirements on the debugger but simplifies the record/replay infrastructure itself.
Reporter | ||
Comment 1•7 years ago
|
||
Infrastructure changes to avoid taking snapshots when diverging from the recording.
Assignee: nobody → bhackett1024
Reporter | ||
Comment 2•7 years ago
|
||
Deal with unhandled divergences in the debugger.
Reporter | ||
Comment 3•7 years ago
|
||
Reporter | ||
Comment 4•7 years ago
|
||
Reporter | ||
Comment 5•7 years ago
|
||
Fix a crash where nursery objects referred to by the middleman process weren't being traced.
https://hg.mozilla.org/projects/ash/rev/2c915dae95e8a53121ab278fa9cd662871d124ba
Comment 6•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: bhackett1024 → nobody
Comment 7•3 years ago
|
||
WebReplay has been removed.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•