[Webkit-unassigned] [Bug 115631] New: MemoryChache::prune() unnecessarily tries prune resources if m_maxDeadCapacity == 0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 6 03:57:10 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=115631

           Summary: MemoryChache::prune() unnecessarily tries prune
                    resources if m_maxDeadCapacity == 0
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: m.bychawski at samsung.com


If the m_maxDeadCapacity == 0, MemoryCache::prune() always tries to prune Resources.
But if m_deadSize is also 0, pruning is unnecessary.
I removed one condition in the "fast path".

Is it possible that in some case this condition is required for properly work?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list