Closed
Bug 592774
Opened 14 years ago
Closed 7 years ago
Re-enable Jetpack's memory debugging infrastructure when platform issues are resolved
Categories
(Add-on SDK Graveyard :: General, defect, P2)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: avarma, Unassigned)
References
Details
Attachments
(1 file, 2 obsolete files)
2.31 KB,
patch
|
myk
:
review+
|
Details | Diff | Splinter Review |
Because the reliability of the entire memory debugging infrastructure of Jetpack is put in question by bug 592180, at the very least, I'm going to disable all of it by default and only re-enable it once that bug is fixed. Right now this means I will be setting cfx's '--profile-memory' option to default to 'false' and disabling test-memory.testMemory (bug 590284). Once bug 592180 is resolved, we'll re-enable these items and see where to go from there.
Reporter | ||
Comment 1•14 years ago
|
||
Reporter | ||
Updated•14 years ago
|
Attachment #471190 -
Flags: review?(myk)
Reporter | ||
Comment 2•14 years ago
|
||
Comment on attachment 471190 [details] [diff] [review] patch Holy cow, our tests run a lot faster when memory profiling is disabled.
Updated•14 years ago
|
Attachment #471190 -
Flags: review?(myk) → review+
Reporter | ||
Comment 3•14 years ago
|
||
Pushed: Bug 592774 - Disable Jetpack's memory debugging infrastructure until platform issues are resolved Atul Varma [:atul] http://hg.mozilla.org/labs/jetpack-sdk/rev/2dbc3c305f55
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 4•14 years ago
|
||
Er, I guess I'm going to re-open this bug as a reminder for us to apply a reverse-patch once the platform issues are resolved.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Disable Jetpack's memory debugging infrastructure until platform issues are resolved → Re-enable Jetpack's memory debugging infrastructure when platform issues are resolved
Comment 5•14 years ago
|
||
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product. To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
Comment 6•13 years ago
|
||
Here's a patch that reverses the change, now that bug 592180 has been fixed. Dietrich: alternately, we can reenable the test but leave --profile-memory false by default for speed (as I recall, testing sped up significantly when we disabled it).
Updated•13 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 7•13 years ago
|
||
yeah, performance (hurts when you're trying to rapidly debug something, eg doing cfx run 300x a day. also, IIRC the output obscured other things, require having to scroll the terminal, which was annoying.
Comment 8•13 years ago
|
||
bug 592180 isn't marked fixed, no comments since last august.
Comment 9•13 years ago
|
||
(In reply to comment #7) > yeah, performance (hurts when you're trying to rapidly debug something, eg > doing cfx run 300x a day. also, IIRC the output obscured other things, require > having to scroll the terminal, which was annoying. Ok, let's reenable the test but leave memory profiling disabled by default. Here's a patch that does that. (In reply to comment #8) > bug 592180 isn't marked fixed, no comments since last august. Erm, right, I meant bug 590284.
Attachment #521353 -
Attachment is obsolete: true
Attachment #521511 -
Flags: review?(dietrich)
Attachment #521353 -
Flags: review?(dietrich)
Updated•13 years ago
|
Priority: -- → P3
Target Milestone: --- → 1.0
Updated•13 years ago
|
Attachment #521511 -
Flags: review?(dietrich) → review+
Comment 10•13 years ago
|
||
https://github.com/mozilla/addon-sdk/commit/8b75b9a7f76410819d9abfec1f383480110ce99f
Status: ASSIGNED → RESOLVED
Closed: 14 years ago → 13 years ago
Resolution: --- → FIXED
Comment 11•13 years ago
|
||
Reopening. Apparently those platform issues haven't been completely resolved, as the fix broke tests on some platforms. https://github.com/mozilla/addon-sdk/commit/30e67fab5fefc4129188a1864555ca95433719ff http://tinderbox.mozilla.org/showlog.cgi?log=Jetpack/1303512147.1303512272.15189.gz&fulltext=1 http://tinderbox.mozilla.org/showlog.cgi?log=Jetpack/1303505544.1303506072.23425.gz&fulltext=1 In #jsapi: (04:03:23 PM) bhackett: myk: that test doesn't look like it's accounting for the conservative GC which spidermonkey uses
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12•13 years ago
|
||
Furthermore: (04:03:49 PM) bhackett: even if all references to an object from the JS stack and JS heap have been removed, there can be references on the C stack which the GC uses to keep the object alive
Comment 13•13 years ago
|
||
(automatic reprioritization of 1.0 bugs)
Priority: P3 → P2
Target Milestone: 1.0 → 1.1
(Pushing all open bugs to the --- milestone for the new triage system)
Target Milestone: 1.1 → ---
Comment 15•13 years ago
|
||
Unassigning myself from bugs I am not actively working on.
Assignee: myk → nobody
Updated•11 years ago
|
Attachment #521511 -
Attachment is obsolete: true
Comment 16•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: REOPENED → RESOLVED
Closed: 13 years ago → 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•