-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more release assertions in the MemoryCache to help identify crash…
…es root cause https://bugs.webkit.org/show_bug.cgi?id=259199 Reviewed by Ryosuke Niwa. Add more release assertions in the MemoryCache to help identify crashes root cause. We're seeing quite a few crashes in MemoryCache code. * Source/WebCore/loader/cache/MemoryCache.cpp: (WebCore::MemoryCache::singleton): (WebCore::MemoryCache::sessionResourceMap const): (WebCore::MemoryCache::ensureSessionResourceMap): (WebCore::MemoryCache::add): (WebCore::MemoryCache::revalidationSucceeded): (WebCore::MemoryCache::revalidationFailed): (WebCore::MemoryCache::resourceForRequest): (WebCore::MemoryCache::pruneLiveResources): (WebCore::MemoryCache::forEachResource): (WebCore::MemoryCache::forEachSessionResource): (WebCore::MemoryCache::destroyDecodedDataForAllImages): (WebCore::MemoryCache::pruneLiveResourcesToSize): (WebCore::MemoryCache::pruneDeadResources): (WebCore::MemoryCache::pruneDeadResourcesToSize): (WebCore::MemoryCache::remove): (WebCore::MemoryCache::lruListFor): (WebCore::MemoryCache::removeFromLRUList): (WebCore::MemoryCache::insertInLRUList): (WebCore::MemoryCache::resourceAccessed): (WebCore::MemoryCache::inLiveDecodedResourcesList const): (WebCore::MemoryCache::removeResourcesWithOrigin): (WebCore::MemoryCache::removeResourcesWithOrigins): (WebCore::MemoryCache::getOriginsWithCache): (WebCore::MemoryCache::originsWithCache const): (WebCore::MemoryCache::removeFromLiveDecodedResourcesList): (WebCore::MemoryCache::insertInLiveDecodedResourcesList): (WebCore::MemoryCache::addToLiveResourcesSize): (WebCore::MemoryCache::removeFromLiveResourcesSize): (WebCore::MemoryCache::adjustSize): (WebCore::MemoryCache::setDisabled): (WebCore::MemoryCache::evictResources): (WebCore::MemoryCache::prune): (WebCore::MemoryCache::pruneSoon): Canonical link: https://commits.webkit.org/266050@main
- Loading branch information
Showing
1 changed file
with
48 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters