Closed
Bug 637099
Opened 12 years ago
Closed 11 years ago
Remove JS_ClearScope calls on windows
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla13
Tracking | Status | |
---|---|---|
firefox13 | --- | fixed |
People
(Reporter: gal, Assigned: peterv)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 3 obsolete files)
22.83 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
JS_ClearScope is incompatible with modern JS language specifications that our JITs optimize against. We should remove it.
Reporter | ||
Comment 1•12 years ago
|
||
Work in progress. Incomplete. Not ready for review.
Assignee: general → gal
Comment 2•12 years ago
|
||
Andreas, do you still intend to work on this or should we find someone else. I really want it fixed because it keeps biting us. Bug 651030 is the latest.
Blocks: 651030
Assignee | ||
Comment 4•12 years ago
|
||
With the fixes for the 5 dependent bugs this is looking close, I think there's only one remaining leak in mochitest-a11y. Still tracking that one down.
![]() |
||
Comment 5•12 years ago
|
||
our hero!
Comment 6•12 years ago
|
||
Can't wait. /be
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to comment #6) > Can't wait. Your review of the patch in bug 659581 will make it happen sooner :-).
Comment 8•12 years ago
|
||
(In reply to comment #7) > (In reply to comment #6) > > Can't wait. > > Your review of the patch in bug 659581 will make it happen sooner :-). Done! Sorry for the hold-up. sfink is good for jsd reviews too, I think. timeless has moved on from Nokia and Mozilla stuff, FYI. /be
Comment 9•12 years ago
|
||
If you'd like me to fuzz this before it lands, attach an updated patch and let me know :)
Assignee | ||
Comment 10•12 years ago
|
||
There are a number of JS_ClearScope callers, and it's unclear to me if we can now remove them all. http://mxr.mozilla.org/mozilla-central/search?string=ClearScope&find=&findi=&filter=xpconnect|ipc|dom&hitlimit=&tree=mozilla-central Storage code uses it to remove all properties from a JS object, we'll need to do something else here. What should it do instead? I think the XPConnect module loader uses it at shutdown to avoid leaks, I haven't tried to remove that one yet. There might be more leaks to fix as a result of removing it :-/. We still need to make sure that removing the code that clears watchpoints is ok (bug 38959). The code that invalidates the "global scope polluter" looks like it was added to fix a leak (bug 256932), so that should be fine.
Assignee | ||
Comment 11•12 years ago
|
||
Still debugging a leak.
Assignee | ||
Comment 12•12 years ago
|
||
Attachment #515422 -
Attachment is obsolete: true
Attachment #557951 -
Flags: review?(mrbkap)
Comment 13•12 years ago
|
||
Comment on attachment 557951 [details] [diff] [review] v2 This looks awesome.
Attachment #557951 -
Flags: review?(mrbkap) → review+
Comment 14•12 years ago
|
||
It looks like there's been an r+'d patch here for about a month. Is that patch ready to land?
Assignee | ||
Comment 15•12 years ago
|
||
Unfortunately no, there's another mochitest leak that I'm tracking down.
Comment 16•11 years ago
|
||
Merged, still leaks.
Assignee | ||
Comment 17•11 years ago
|
||
Updated to trunk, needs leak fix from bug 731173.
Attachment #557951 -
Attachment is obsolete: true
Attachment #588405 -
Attachment is obsolete: true
Attachment #601285 -
Flags: review+
Assignee | ||
Comment 18•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/491ceed82be3
Updated•11 years ago
|
Summary: Remove JS_ClearScope → Remove JS_ClearScope calls on windows
Comment 19•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/491ceed82be3
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Updated•11 years ago
|
status-firefox13:
--- → fixed
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•