equal
deleted
inserted
replaced
280 /*if(freeMemory >= iGoodThreshold && !NeedToPostponeMemGood()) |
280 /*if(freeMemory >= iGoodThreshold && !NeedToPostponeMemGood()) |
281 { |
281 { |
282 iGOomActionList->MemoryGood(); |
282 iGOomActionList->MemoryGood(); |
283 } |
283 } |
284 */ |
284 */ |
285 iServer->CloseAppsFinished(freeMemory, ETrue); |
285 if(!iGOomActionList->UseSwRendering()) |
286 WaitAndSynchroniseMemoryState(); |
286 { |
287 return; |
287 iServer->CloseAppsFinished(freeMemory, ETrue); |
|
288 WaitAndSynchroniseMemoryState(); |
|
289 return; |
|
290 } |
288 } |
291 } |
289 |
292 |
290 // update wg list only when actually about to use it |
293 // update wg list only when actually about to use it |
291 //iGOomWindowGroupList->Refresh(); |
294 //iGOomWindowGroupList->Refresh(); |
292 |
295 |
476 //we reset the target when a memory free operation completes, to deal with the case |
479 //we reset the target when a memory free operation completes, to deal with the case |
477 //where the operation was initiated with a target larger than the current good threshold |
480 //where the operation was initiated with a target larger than the current good threshold |
478 iCurrentTarget = aTarget; |
481 iCurrentTarget = aTarget; |
479 iGOomActionList->SetCurrentTarget(iCurrentTarget); |
482 iGOomActionList->SetCurrentTarget(iCurrentTarget); |
480 if(!aTarget) |
483 if(!aTarget) |
|
484 { |
481 iTrigger = EGOomTriggerNone; //reset the trigger condition |
485 iTrigger = EGOomTriggerNone; //reset the trigger condition |
|
486 } |
|
487 iGOomActionList->SetUseSwRendering(EFalse); |
482 } |
488 } |
483 |
489 |
484 void CMemoryMonitor::SetPriorityBusy(TInt aWgId) |
490 void CMemoryMonitor::SetPriorityBusy(TInt aWgId) |
485 { |
491 { |
486 FUNC_LOG; |
492 FUNC_LOG; |