Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 1269563003: Revert of Revalidate using the same Resource, attempt #2 (Closed)

Created:
5 years, 4 months ago by Nate Chapin
Modified:
5 years, 3 months ago
Reviewers:
Yoav Weiss, Mike West
CC:
blink-reviews, blink-reviews-bindings_chromium.org, krit, f(malita), fs, gavinp+loader_chromium.org, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, tyoshino+watch_chromium.org, vivekg_samsung, vivekg
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Revert of Revalidate using the same Resource, attempt #2 (patchset #1 id:1 of https://codereview.chromium.org/1237983003/) Reason for revert: This caused several different regressions that are not quick and easy to fix. https://code.google.com/p/chromium/issues/detail?id=512459 https://code.google.com/p/chromium/issues/detail?id=512405 https://code.google.com/p/chromium/issues/detail?id=511939 https://code.google.com/p/chromium/issues/detail?id=513572 Original issue's description: > Revalidate using the same Resource, attempt #2 > > Currently, when we perform a revalidation, we create a new resource and put it in the MemoryCache in place of the resource being revalidated. If the revalidation results in a 304, we silently swap all of the clients of the revalidation to the now-revalidated resource and swap which Resource is in the MemoryCache. > > This changes the behavior to use the existing resource to revalidate itself, which simplifies the logic quite a bit. It also gives us the option of removing ResourcePtr (which is used to implement the silent client swap in the 304 case) and make Resources simply RefCounted in a future change. > > BUG= > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199145 TBR=mkwst@chromium.org,yoav@yoav.ws NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Committed: https://crrev.com/89cd85cccd999cf98e112821b54bf05660575b3b git-svn-id: svn://svn.chromium.org/blink/trunk@199677 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -83 lines) Patch
M Source/bindings/core/v8/ScriptStreamer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/FontResource.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/fetch/RawResourceTest.cpp View 1 chunk +18 lines, -16 lines 0 comments Download
M Source/core/fetch/Resource.h View 6 chunks +18 lines, -6 lines 0 comments Download
M Source/core/fetch/Resource.cpp View 17 chunks +133 lines, -38 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 4 chunks +13 lines, -5 lines 0 comments Download
M Source/core/fetch/ResourceLoader.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/fetch/ScriptResource.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/fetch/ScriptResource.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M Source/core/svg/graphics/SVGImage.cpp View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Nate Chapin
Created Revert of Revalidate using the same Resource, attempt #2
5 years, 4 months ago (2015-07-29 18:01:52 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269563003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269563003/1
5 years, 4 months ago (2015-07-29 18:02:24 UTC) #2
commit-bot: I haz the power
Failed to apply patch for Source/core/fetch/Resource.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
5 years, 4 months ago (2015-07-29 18:02:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1269563003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1269563003/1
5 years, 4 months ago (2015-07-29 19:58:59 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=199677
5 years, 4 months ago (2015-07-29 19:59:34 UTC) #8
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 11:54:12 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/89cd85cccd999cf98e112821b54bf05660575b3b

Powered by Google App Engine
This is Rietveld 408576698