Closed
Bug 743436
Opened 13 years ago
Closed 12 years ago
remove XPCJSRuntime::mJSCycleCollectionContext and related code
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: igor, Assigned: igor)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
10.70 KB,
patch
|
mccr8
:
review+
|
Details | Diff | Splinter Review |
With the bugs 737364, 723286 the xpconnect implementation no longer needs a JSContext instance to run the cycle collection and XPCJSRuntime::mJSCycleCollectionContext becomes unnecessary and should be removed.
Assignee | ||
Comment 1•13 years ago
|
||
The patch removes no longer used XPCJSRuntime::mJSCycleCollectionContext,
nsXPConnect::mCycleCollectionContext and related code to create/destroy
contexts. As that made nsCycleCollectionLanguageRuntime::FinishTraverse()
empty in all cases I removed that method as well. In couple of places I
also fixed rotten DEBUG_CC code to adjust that for recent JS API changes.
Assignee: nobody → igor
Attachment #613114 -
Flags: review?(peterv)
Comment 2•13 years ago
|
||
Nice cleanup! Could you also remove the line
timeLog.Checkpoint("mRuntimes[*]->FinishTraverse()");
from nsCycleCollector::BeginCollection, as there's no finish traverse to time any more.
Updated•13 years ago
|
Attachment #613114 -
Flags: review?(peterv) → review+
Comment 3•12 years ago
|
||
Any particular reason this never landed, Igor? I've unbitrotted this patch and I'll go ahead and land it assuming it passes a try run.
Comment 4•12 years ago
|
||
Carrying forward peterv's review.
https://tbpl.mozilla.org/?tree=Try&rev=30903f420b15
Attachment #613114 -
Attachment is obsolete: true
Attachment #719153 -
Flags: review+
Comment 5•12 years ago
|
||
My try push failed because of some kind of warnings-as-errors thing in editor, so that's awesome...
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #3)
> Any particular reason this never landed, Igor?
I missed peterv review
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Did Igor leave Mozilla? I have not seen him on any bugs in a long time, but I don't follow everything.
Assignee | ||
Comment 9•12 years ago
|
||
(In reply to Paul Wright from comment #8)
> Did Igor leave Mozilla?
Yes, a year ago.
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•