Closed Bug 767488 Opened 12 years ago Closed 12 years ago

Cache windows handle used for stackwalking

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: BenWa, Assigned: ehsan.akhgari)

References

Details

Attachments

(1 file)

Currently we duplicate the handles every time we walk the stack: http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsStackWalk.cpp#459 We should cache these when start the profiler instead of duplicating them each time.
Comment on attachment 635929 [details] [diff] [review] Part 1: Cache the current process handle after reading it for the first time during stack walking r=dbaron
Attachment #635929 - Flags: review?(dbaron) → review+
Blocks: 713278
No longer blocks: 713278
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: