Open Bug 803226 Opened 13 years ago Updated 1 year ago

Detect swapping when profiling

Categories

(Core :: Gecko Profiler, enhancement, P3)

x86
macOS
enhancement

Tracking

()

REOPENED

People

(Reporter: BenWa, Unassigned)

References

(Blocks 1 open bug)

Details

I though I was seeing a Gecko hang but turns out I was linking libxul.so and had ~10MB of ram free. We should detect this condition so we can easily weed out swapping performance bug. What's the best way to know we're swapping and can we quantify it?
This is a very specific case of the other bug that I've filed about detecting when our thread can be scheduled. I don't think this specific case is worth fixing before that.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Actually I've been looking at the API and it doesn't look like bug 791357 will get us there. There API are uncertain at this point. While tagging a profile with available memory is possible.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Blocks: 1329137
Severity: normal → N/A
Type: defect → enhancement
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.