Closed Bug 755574 Opened 13 years ago Closed 2 years ago

Do not GC when toggling debug mode

Categories

(Core :: JavaScript Engine, defect)

defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: sfink, Unassigned)

Details

(Whiteboard: [js:p2])

As billm pointed out with respect to bug 754201, it would be better if JSCompartment::updateForDebugMode did not need to run a GC at all. It was apparently added because it is insufficient to just call ReleaseScriptCode() and script->clearAnalysis(), even if you do it on all scripts in the compartment (rather than just the ones whose debug mode is changing). In particular, I believe someone said there is some shared type information?
Whiteboard: [js:p2]
Assignee: general → nobody
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.