Closed
Bug 1382076
Opened 7 years ago
Closed 7 years ago
Make DMD usable on Win32
Categories
(Core :: DMD, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
(Keywords: perf, Whiteboard: [MemShrink])
Attachments
(1 file)
3.33 KB,
patch
|
erahm
:
review+
|
Details | Diff | Splinter Review |
DMD has been unusable on Win32 for a long time because it makes Firefox astonishingly slow to start-up, for complex reasons explained in bug 1241684.
The solution is that same as the solution for Mac in bug 1371397: change DMD so it uses FramePointerStackWalk() instead of MozStackWalk() on Win32. This is what the Gecko Profiler does, and it works well.
Assignee | ||
Comment 1•7 years ago
|
||
(In case it wasn't clear: DMD already works fine on Win64.)
Assignee | ||
Comment 2•7 years ago
|
||
The patch also uses a better value for skipFrames on Win64.
Attachment #8887743 -
Flags: review?(erahm)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Comment 3•7 years ago
|
||
Comment on attachment 8887743 [details] [diff] [review]
Use FramePointerStackWalk() in DMD on Win32
Review of attachment 8887743 [details] [diff] [review]:
-----------------------------------------------------------------
r+ with the mentioned fix.
::: memory/replace/dmd/DMD.cpp
@@ +814,1 @@
> bool ok = MozStackWalk(StackWalkCallback, /* skipFrames = */ 2,
Presumably this should be changed to |, skipFrames,|
Attachment #8887743 -
Flags: review?(erahm) → review+
Assignee | ||
Comment 4•7 years ago
|
||
> Presumably this should be changed to |, skipFrames,|
Yikes! Good catch. I retested after fixing this and it turns out that 1 is a better value for Win64.
Assignee | ||
Comment 5•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8b89d684f633977acdd317654d040a86ddef466b
Bug 1382076 - Use FramePointerStackWalk() in DMD on Win32. r=erahm.
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•