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)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox60 --- affected

People

(Reporter: bhackett1024, Unassigned)

References

Details

Attachments

(4 files)

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.
Blocks: 1444110
Infrastructure changes to avoid taking snapshots when diverging from the recording.
Assignee: nobody → bhackett1024
Deal with unhandled divergences in the debugger.
Attached patch Part 3 - Tests.Splinter Review
Fix a crash where nursery objects referred to by the middleman process weren't being traced. https://hg.mozilla.org/projects/ash/rev/2c915dae95e8a53121ab278fa9cd662871d124ba

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: bhackett1024 → nobody

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.

Attachment

General

Created:
Updated:
Size: