Closed
Bug 53310
Opened 25 years ago
Closed 25 years ago
implement nsMemoryImpl::IsLowMemory() for MacOS
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: waterson, Assigned: sfraser_bugs)
References
Details
(Keywords: memory-footprint, Whiteboard: [rtm++] patch)
Attachments
(2 files)
1.77 KB,
patch
|
Details | Diff | Splinter Review | |
1.77 KB,
patch
|
Details | Diff | Splinter Review |
Need to implement this routine on MacOS for memory flusher thread to be useful.
Alternatively, add calls to nsIMemory::heapMinimize() in appropriate places.
Reporter | ||
Updated•25 years ago
|
Comment 4•25 years ago
|
||
Simon, please include the required information per the rtm checkin rules
Whiteboard: [rtm+ NEED INFO]
Assignee | ||
Comment 5•25 years ago
|
||
Assignee | ||
Comment 6•25 years ago
|
||
Looking for an r= (scc?) and sr= (waterson?) on that patch. There is some risk
here, since we'll be spinning up an extra thread on Mac that we didnt' have
before. But some debugging shows that the thread runs fine, and doesn't seem to
cause any problems. If anything, I think it needs to run a little more often.
Status: NEW → ASSIGNED
Whiteboard: [rtm+ NEED INFO] → [rtm+ NEED INFO] patch
Comment 7•25 years ago
|
||
removing + per pdt sw rules
Whiteboard: [rtm+ NEED INFO] patch → [rtm NEED INFO] patch
Reporter | ||
Comment 8•25 years ago
|
||
Use spaces, not tabs ;-). Fix that, and r=waterson
Assignee | ||
Comment 9•25 years ago
|
||
Oops, copy-pasted from tabified code (sorry). Will fix the tabs.
Comment 10•25 years ago
|
||
...yeah, fix the tabs, and the spelling of |kReserveHeapContigSpace| and all is
well; sr=scc.
Assignee | ||
Comment 11•25 years ago
|
||
Comment 12•25 years ago
|
||
rtm++ on the theory that low memory handling will reduce crashers.
Whiteboard: [rtm NEED INFO] patch → [rtm++] patch
Comment 13•25 years ago
|
||
Phil: I'm glad you're ++ing this, but I think this one needs some mileage on it
before landing it on the branch -- just to make sure there isn't some
side-effect of flushing that we didn't forsee. Mac is the only platform that
calls flushers when allocation fails (in addition to on the timer like
on unix/win).
Assignee | ||
Comment 14•25 years ago
|
||
Fix checked into trunk and branch.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
OS: All
Resolution: --- → FIXED
Comment 15•25 years ago
|
||
sfraser: suggestions on how to verify this?
You need to log in
before you can comment on or make changes to this bug.
Description
•