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

Issue 2996006: Http Cache: Enable some checks to track a low volume crash.... (Closed)

Created:
10 years, 5 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
eroman
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Http Cache: Enable some checks to track a low volume crash. BUG=47895 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52779

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -10 lines) Patch
M net/http/http_cache.cc View 5 chunks +19 lines, -10 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
rvargas (doing something else)
10 years, 5 months ago (2010-07-14 18:51:31 UTC) #1
eroman
LGTM. Do you think it is necessary to have a TODO to remove them afterwards? ...
10 years, 5 months ago (2010-07-14 19:00:30 UTC) #2
rvargas (doing something else)
10 years, 5 months ago (2010-07-14 19:11:59 UTC) #3
On 2010/07/14 19:00:30, eroman wrote:
> LGTM.
> 
> Do you think it is necessary to have a TODO to remove them afterwards? I like
> the idea of leaving DCHECKs as CHECKs when they don't have an impact on
> performance, since they can be useful again.

Thanks.

I thinks it is better to remove them later. I think it is simple enough to
enable the relevant checks when there is a bug that needs some care, but I don't
think our CHECK macro is that lightweight, especially from the point of view of
how much extra code is added to the function (with the subsequent burden of
making the assembled code almost impossible to understand in a crash dump).

Powered by Google App Engine
This is Rietveld 408576698