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

Issue 724023002: Soft fail for invalid cache data. (Closed)

Created:
6 years, 1 month ago by Yang
Modified:
6 years, 1 month ago
Reviewers:
vogelheim1, vogelheim
CC:
v8-dev, Paweł Hajdan Jr.
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Soft fail for invalid cache data. API=ScriptCompiler::CachedData::rejected LOG=Y R=vogelheim@google.com, vogelheim@chromium.org Committed: https://chromium.googlesource.com/v8/v8/+/eafce666f49f13011849b6c0c40b271676ec91cf

Patch Set 1 #

Total comments: 4

Patch Set 2 : use flag to indicate rejection #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -45 lines) Patch
M include/v8.h View 2 chunks +6 lines, -1 line 0 comments Download
M src/api.cc View 1 2 chunks +6 lines, -1 line 0 comments Download
M src/compiler.h View 1 2 chunks +5 lines, -1 line 0 comments Download
M src/compiler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/parser.h View 1 3 chunks +16 lines, -3 lines 0 comments Download
M src/parser.cc View 1 8 chunks +10 lines, -13 lines 0 comments Download
M src/serialize.h View 1 3 chunks +11 lines, -4 lines 0 comments Download
M src/serialize.cc View 1 5 chunks +15 lines, -14 lines 0 comments Download
M test/cctest/test-api.cc View 1 chunk +25 lines, -0 lines 1 comment Download
M test/cctest/test-parsing.cc View 1 3 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Yang
6 years, 1 month ago (2014-11-13 12:28:10 UTC) #1
vogelheim
https://codereview.chromium.org/724023002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/724023002/diff/1/src/api.cc#newcode1759 src/api.cc:1759: source->cached_data->rejected = (script_data == NULL); I find this a ...
6 years, 1 month ago (2014-11-13 13:01:15 UTC) #2
vogelheim
https://codereview.chromium.org/724023002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/724023002/diff/1/src/api.cc#newcode1759 src/api.cc:1759: source->cached_data->rejected = (script_data == NULL); If ScriptData is the ...
6 years, 1 month ago (2014-11-13 13:03:01 UTC) #3
Yang
On 2014/11/13 13:03:01, vogelheim wrote: > https://codereview.chromium.org/724023002/diff/1/src/api.cc > File src/api.cc (right): > > https://codereview.chromium.org/724023002/diff/1/src/api.cc#newcode1759 > ...
6 years, 1 month ago (2014-11-13 13:04:19 UTC) #4
Yang
On 2014/11/13 13:04:19, Yang wrote: > On 2014/11/13 13:03:01, vogelheim wrote: > > https://codereview.chromium.org/724023002/diff/1/src/api.cc > ...
6 years, 1 month ago (2014-11-13 13:14:11 UTC) #5
vogelheim1
lgtm https://codereview.chromium.org/724023002/diff/20001/test/cctest/test-api.cc File test/cctest/test-api.cc (right): https://codereview.chromium.org/724023002/diff/20001/test/cctest/test-api.cc#newcode24223 test/cctest/test-api.cc:24223: CHECK(cached_data->rejected); Maybe there should also be a test ...
6 years, 1 month ago (2014-11-13 13:50:22 UTC) #7
Yang
Committed patchset #2 (id:20001) manually as eafce666f49f13011849b6c0c40b271676ec91cf (presubmit successful).
6 years, 1 month ago (2014-11-13 15:42:57 UTC) #8
vogelheim
6 years, 1 month ago (2014-11-13 16:35:58 UTC) #9
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/724083003/ by vogelheim@chromium.org.

The reason for reverting is: Build bots break due to memory leak..

Powered by Google App Engine
This is Rietveld 408576698