Closed
Bug 927254
Opened 11 years ago
Closed 11 years ago
Purge the Skia texture cache when there is a memory-pressure event
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(blocking-b2g:koi+, firefox26 wontfix, firefox27 wontfix, firefox28 fixed, b2g-v1.2 fixed)
People
(Reporter: n.nethercote, Assigned: snorp)
References
Details
(Keywords: regression, Whiteboard: [MemShrink:P2])
Attachments
(2 files, 2 obsolete files)
9.08 KB,
patch
|
gw280
:
review+
|
Details | Diff | Splinter Review |
9.11 KB,
patch
|
sotaro
:
review+
|
Details | Diff | Splinter Review |
From bug 918978 comment 23:
> Another thing we need to do is purge the Skia texture cache entirely when there is a
> memory-pressure event. I had a patch for this a while back but I have no idea what I
> did with it.
Reporter | ||
Updated•11 years ago
|
Summary: Poppit abnormally terminates quickly after trying to play the game for a few seconds → Purge the Skia texture cache when there is a memory-pressure event
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #821760 -
Flags: review?(gwright)
Updated•11 years ago
|
Attachment #821760 -
Flags: review?(gwright) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/1b82e113f85e for breaking the build like this: https://tbpl.mozilla.org/php/getParsedLog.php?id=29944884&tree=Mozilla-Inbound
Also broke ASAN debug, if that helps with fixing it: https://tbpl.mozilla.org/php/getParsedLog.php?id=29945242&tree=Mozilla-Inbound
Comment 5•11 years ago
|
||
Basically was busted on all debug builds for the same reason.
Assignee | ||
Comment 6•11 years ago
|
||
I guess that's what I get for committing copy/pasted code at 11pm. Sorry. Repushed with fix:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e4cccf4390c6
Comment 7•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 8•11 years ago
|
||
From Bug 936285 Comment 18, this fix needs to uplift to b2g v1.2.
blocking-b2g: --- → koi?
Comment 9•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #8)
> From Bug 936285 Comment 18, this fix needs to uplift to b2g v1.2.
Okay. Blocks a blocker then.
blocking-b2g: koi? → koi+
Comment 10•11 years ago
|
||
A patch for b2g v1.2 made from attachment 821760 [details] [diff] [review].
Comment 11•11 years ago
|
||
Comment on attachment 8334008 [details] [diff] [review]
Purge SkiaGL texture cache on memory pressure for b2gv1.2
snorp, can you review the patch? It is just apply attachment 821760 [details] [diff] [review] to b2g v1.2.
Attachment #8334008 -
Flags: review?(snorp)
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8334008 [details] [diff] [review]
Purge SkiaGL texture cache on memory pressure for b2gv1.2
Review of attachment 8334008 [details] [diff] [review]:
-----------------------------------------------------------------
Were there any changes from the original patch? Looks fine to me.
Attachment #8334008 -
Flags: review?(snorp) → review+
Comment 13•11 years ago
|
||
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #12)
> Comment on attachment 8334008 [details] [diff] [review]
> Purge SkiaGL texture cache on memory pressure for b2gv1.2
>
> Review of attachment 8334008 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Were there any changes from the original patch? Looks fine to me.
Thanks. There is no change from the original. Just fix a conflict around the following. Master does not have '#include "nsReadableUtils.h"' line.
---------------------------------------
#include "nsILocaleService.h"
+#include "nsIObserverService.h"
#include "nsReadableUtils.h"
Comment 14•11 years ago
|
||
Committable patch. Carry 'snorp review+'.
Attachment #8334008 -
Attachment is obsolete: true
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
status-b2g-v1.2:
--- → affected
Comment 15•11 years ago
|
||
status-firefox26:
--- → wontfix
status-firefox27:
--- → wontfix
status-firefox28:
--- → fixed
Target Milestone: --- → 1.3 Sprint 5 - 11/22
Comment 16•11 years ago
|
||
Backed out for bustage.
https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/36becb933f78
https://tbpl.mozilla.org/php/getParsedLog.php?id=30722263&tree=Mozilla-B2g26-v1.2
Keywords: checkin-needed → branch-patch-needed
Comment 17•11 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM UTC-5] from comment #16)
> Backed out for bustage.
> https://hg.mozilla.org/releases/mozilla-b2g26_v1_2/rev/36becb933f78
>
> https://tbpl.mozilla.org/php/getParsedLog.php?id=30722263&tree=Mozilla-B2g26-
> v1.2
Build failure for Mac OS. It seems need to add header file.
Comment 18•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #17)
> > https://tbpl.mozilla.org/php/getParsedLog.php?id=30722263&tree=Mozilla-B2g26-
> > v1.2
>
> Build failure for Mac OS. It seems need to add header file.
Dependent on Comment 17, I did tryserver. But it failed because of error on debug build. 'NS_strcmp(aTopic, "memory-pressure")' part failed because of error. On b2g v1.2, it could not be compiled.
https://tbpl.mozilla.org/?tree=Try&rev=6a3a494ed965
Comment 19•11 years ago
|
||
Fix build error on b2g v1.2 debug build. Carry "snorp review+".
Attachment #8334034 -
Attachment is obsolete: true
Attachment #8335078 -
Flags: review+
Comment 20•11 years ago
|
||
Comment 21•11 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #20)
> https://tbpl.mozilla.org/?tree=Try&rev=6a3a494ed965
Build becomes OK.
Comment 23•11 years ago
|
||
Keywords: branch-patch-needed,
checkin-needed
You need to log in
before you can comment on or make changes to this bug.
Description
•