Closed
Bug 903212
Opened 12 years ago
Closed 12 years ago
Remove nsIScriptContext::ScriptEvaluated
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(5 files, 1 obsolete file)
3.74 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
1.62 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
12.48 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
12.91 KB,
patch
|
mrbkap
:
review+
|
Details | Diff | Splinter Review |
6.83 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Once bug 901364 lands and the slow script dialog machinery is no longer tangled up in nsJSContext, ScriptEvaluted can more or less go away, which is awesome. It does a few more vestigial things, but those can be handled relatively easily, I think.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Assuming that try-opt builds and tinderbox m-c builds are comparable, this does not affect sunspider times:
Baseline: http://bit.ly/13XtFwT
Patches: http://bit.ly/1czFmQ6
Assignee | ||
Comment 3•12 years ago
|
||
This only has an impact when we enable explict compartmental GCs, which have
been preffed off for a while.
Attachment #790005 -
Flags: review?(bugs)
Assignee | ||
Comment 4•12 years ago
|
||
I think that this is more or less isomorphic with the MaybeGC we do in
ScriptEvaluated in the cases that matter. And doing it in a spec-defined
place is helpful in getting rid of spec-nonsensical machinery.
Attachment #790006 -
Flags: review?(mrbkap)
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #790007 -
Flags: review?(mrbkap)
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #790008 -
Flags: review?(mrbkap)
Comment 7•12 years ago
|
||
Comment on attachment 790005 [details] [diff] [review]
Part 1 - Remove activity tracking from nsJSContext. v1
You should remove sDisableExplicitCompartmentGC everywhere, and the
pref controlling it from all.js (the pref has been true over a year)
javascript.options.mem.disable_explicit_compartment_gc
And remove NS_MAX_COMPARTMENT_GC_COUNT too.
And sCompartmentGCCount
And I think sContextList too.
Attachment #790005 -
Flags: review?(bugs) → review-
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 790005 [details] [diff] [review]
Part 1 - Remove activity tracking from nsJSContext. v1
(In reply to Olli Pettay [:smaug] from comment #7)
> You should remove sDisableExplicitCompartmentGC everywhere, and the
> pref controlling it from all.js (the pref has been true over a year)
> javascript.options.mem.disable_explicit_compartment_gc
> And remove NS_MAX_COMPARTMENT_GC_COUNT too.
> And sCompartmentGCCount
> And I think sContextList too.
Can I do that in a followup patch please?
Attachment #790005 -
Flags: review- → review?(bugs)
Comment 9•12 years ago
|
||
I'd prefer not leaving trivial stuff to followups.
Here is the patch which removes the pref and various variables.
Attachment #790005 -
Attachment is obsolete: true
Attachment #790005 -
Flags: review?(bugs)
Attachment #790324 -
Flags: review?(bobbyholley+bmo)
Assignee | ||
Comment 10•12 years ago
|
||
I need the context list stuff for my patches in bug 899367.
Attachment #790324 -
Attachment is obsolete: true
Attachment #790324 -
Flags: review?(bobbyholley+bmo)
Attachment #790348 -
Flags: review?(bugs)
Assignee | ||
Updated•12 years ago
|
Attachment #790005 -
Flags: review?(bugs)
Assignee | ||
Updated•12 years ago
|
Attachment #790005 -
Attachment is obsolete: false
Updated•12 years ago
|
Attachment #790006 -
Flags: review?(mrbkap) → review+
Updated•12 years ago
|
Attachment #790348 -
Flags: review?(bugs) → review+
Updated•12 years ago
|
Attachment #790005 -
Flags: review?(bugs) → review+
Updated•12 years ago
|
Attachment #790007 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 11•12 years ago
|
||
Green try push in comment 1, but I added an extra patch that smaug asked for, so doing a quick linux64 try push just to be safe:
https://tbpl.mozilla.org/?tree=Try&rev=f638d36d5a74
Updated•12 years ago
|
Attachment #790008 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 12•12 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/82f8c3925056
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/76cb6754a52e
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/355f9a21c432
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/8de0f0b74488
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/0b3cd7829be9
Comment 13•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/82f8c3925056
https://hg.mozilla.org/mozilla-central/rev/76cb6754a52e
https://hg.mozilla.org/mozilla-central/rev/355f9a21c432
https://hg.mozilla.org/mozilla-central/rev/8de0f0b74488
https://hg.mozilla.org/mozilla-central/rev/0b3cd7829be9
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•