Closed
Bug 1158257
Opened 9 years ago
Closed 9 years ago
Gecko should always provide SpiderMonkey with a debuggerMallocSizeOf
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
Attachments
(1 file, 1 obsolete file)
3.61 KB,
patch
|
fitzgen
:
review+
|
Details | Diff | Splinter Review |
Right now only the shell calls JS::dbg::SetDebuggerMallocSizeOf, meaning that we can't use JS::ubi::Node::size meaningfully outside of shell builds. I think CycleCollectedJSRuntime is the right place.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8597416 -
Flags: review?(continuation)
Comment 2•9 years ago
|
||
Comment on attachment 8597416 [details] [diff] [review] Gecko should always provide SpiderMonkey with a debuggerMallocSizeOf Review of attachment 8597416 [details] [diff] [review]: ----------------------------------------------------------------- Yay, tests! ::: js/src/vm/DebuggerMemory.cpp @@ +337,5 @@ > /* Debugger.Memory.prototype.takeCensus */ > > void > JS::dbg::SetDebuggerMallocSizeOf(JSRuntime* rt, mozilla::MallocSizeOf mallocSizeOf) { > + printf("FITZGEN: inside JS::dbg::SetDebuggerMallocSizeOf\n"); remove this
Attachment #8597416 -
Flags: review?(continuation) → review+
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #2) > @@ +337,5 @@ > > /* Debugger.Memory.prototype.takeCensus */ > > > > void > > JS::dbg::SetDebuggerMallocSizeOf(JSRuntime* rt, mozilla::MallocSizeOf mallocSizeOf) { > > + printf("FITZGEN: inside JS::dbg::SetDebuggerMallocSizeOf\n"); > > remove this >_< sorry
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8597416 -
Attachment is obsolete: true
Attachment #8597420 -
Flags: review+
Assignee | ||
Comment 5•9 years ago
|
||
Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=fdbb558c6c52
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 6•9 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/600207b62020
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 7•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/600207b62020
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•