Closed
Bug 917982
Opened 11 years ago
Closed 11 years ago
threadLifetimePool should actually be the lifetime of the thread actor
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 28
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
2.21 KB,
patch
|
jimb
:
review+
|
Details | Diff | Splinter Review |
Right now we blow away the threadLifetimePool on every navigation (including refresh), but the RDP spec says it should have the same lifetime as the thread actor. This is contributing to race conditions like bug 833618, and the reason why we are forced to put the breakpoint actors in the connection's pool, when they should really be in the threadLifetimePool. Plus, the thread-lifetime-promoted objects should still be alive and inspectable on navigation due to them still being alive via the bfcache.
Assignee | ||
Updated•11 years ago
|
Priority: -- → P2
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → nfitzgerald
Assignee | ||
Comment 1•11 years ago
|
||
Jim, this should be a pretty quick and easy review, we just talked about this on IRC. https://tbpl.mozilla.org/?tree=Try&rev=20155e0ec587
Attachment #8337156 -
Flags: review?(jimb)
Comment 2•11 years ago
|
||
Comment on attachment 8337156 [details] [diff] [review] bug-917982-threadlifetimepool.patch Review of attachment 8337156 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/devtools/server/actors/script.js @@ +538,5 @@ > } > + if (!aKeepThreadLifetimePool && this._threadLifetimePool) { > + this.conn.removeActorPool(this._threadLifetimePool); > + this._threadLifetimePool = null; > + } I think it would be fine to actually just move the 'removeActorPool' call to ThreadActor.prototype.disconnect, and then leave this function mysterious-boolean-argument-free. (With a doc fix, obv.)
Attachment #8337156 -
Flags: review?(jimb) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/96af68a913f4
Whiteboard: [fixed-in-fx-team]
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/96af68a913f4
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
Updated•10 years ago
|
Whiteboard: [qa-]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•