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

Issue 207613005: No longer OOM on invalid string length. (Closed)

Created:
6 years, 9 months ago by Yang
Modified:
6 years, 9 months ago
Reviewers:
Igor Sheludko
CC:
v8-dev
Visibility:
Public.

Description

No longer OOM on invalid string length. R=ishell@chromium.org BUG=v8:3060 LOG=Y Committed: https://code.google.com/p/v8/source/detail?r=20202

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase + addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -49 lines) Patch
M src/api.cc View 1 5 chunks +18 lines, -6 lines 0 comments Download
M src/bootstrapper.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/bootstrapper.cc View 1 5 chunks +9 lines, -1 line 0 comments Download
M src/contexts.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/debug.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/factory.cc View 3 chunks +4 lines, -1 line 0 comments Download
M src/heap.cc View 1 5 chunks +6 lines, -6 lines 0 comments Download
M src/heap-inl.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M src/json-parser.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M src/json-stringifier.h View 6 chunks +5 lines, -1 line 0 comments Download
M src/jsregexp.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/liveedit.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/parser.cc View 5 chunks +9 lines, -3 lines 0 comments Download
M src/runtime.cc View 1 14 chunks +25 lines, -16 lines 0 comments Download
M src/uri.h View 4 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/cctest.status View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/test-strings.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
M test/mjsunit/string-oom-replace-global-regexp-with-string.js View 1 chunk +14 lines, -2 lines 0 comments Download
M tools/lexer-shell.cc View 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yang
6 years, 9 months ago (2014-03-21 12:31:23 UTC) #1
Yang
https://codereview.chromium.org/207613005/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/207613005/diff/1/src/api.cc#newcode5423 src/api.cc:5423: CHECK(!result.is_null()); Not using CHECK_NOT_EMPTY_HANDLE because this could be called ...
6 years, 9 months ago (2014-03-21 12:32:17 UTC) #2
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/207613005/diff/1/src/ast.cc File src/ast.cc (right): https://codereview.chromium.org/207613005/diff/1/src/ast.cc#newcode1182 src/ast.cc:1182: return res; As the allocation size ...
6 years, 9 months ago (2014-03-24 13:43:16 UTC) #3
Yang
6 years, 9 months ago (2014-03-24 15:01:31 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r20202 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698