[Webkit-unassigned] [Bug 30209] New: Cache::m_liveDecodedResource is not sorted by CachedResource::m_lastDecodedAccessTime

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 8 07:28:45 PDT 2009


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

           Summary: Cache::m_liveDecodedResource is not sorted by
                    CachedResource::m_lastDecodedAccessTime
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zecke at selfish.org


The Cache::pruneLiveResources is expecting the Cache::m_liveDecodedResource to
be sorted by m_lastDecodedAccessTime but this is not true because of
CachedResource::setDecodedSize inserting the resource with
m_lastDecodedAccessTime = 0.


The problem now is that inserting with sorting is killing performance and
updating m_lastDecodedAccessTime might have negative impact on the cache. I
have decided to update the m_lastDecodedAccessTime but have not done
measurement on my private PLT.

-- 
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