Open
Bug 1025953
Opened 10 years ago
Updated 2 years ago
Add debug asserts in places where we shouldn't malloc
Categories
(Core :: Gecko Profiler, task, P3)
Core
Gecko Profiler
Tracking
()
NEW
People
(Reporter: snorp, Unassigned)
Details
The profiler has a lot of places where we are not allowed to use malloc() due to signal safety issues. We should add debug asserts in mozalloc (or wherever) so that if we do in fact try to malloc() in this places we'll abort. I'm imagining a nice RAII wrapper that we can just stick into critical regions.
Updated•5 years ago
|
Assignee: nchen → nobody
Severity: normal → N/A
Type: defect → task
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•