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

Issue 2641953002: Trigger OOM crash if no memory returned in v8::ArrayBuffer::New and v8::SharedArrayBuffer::New. (Closed)

Created:
3 years, 11 months ago by jbroman
Modified:
3 years, 11 months ago
Reviewers:
Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Trigger OOM crash if no memory returned in v8::ArrayBuffer::New and v8::SharedArrayBuffer::New. This API does not allow reporting failure, but we should crash rather than have the caller get an ArrayBuffer that isn't properly set up. BUG=chromium:681843 Review-Url: https://codereview.chromium.org/2641953002 Cr-Commit-Position: refs/heads/master@{#42511} Committed: https://chromium.googlesource.com/v8/v8/+/ca0f957329828c61f02437f640ed8004a549018a

Patch Set 1 #

Patch Set 2 : is a GTEST_HAS_DEATH_TEST guard needed? #

Patch Set 3 : remove msg on windows #

Patch Set 4 : remove test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M src/api.cc View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (17 generated)
jbroman
3 years, 11 months ago (2017-01-18 21:17:50 UTC) #14
Jakob Kummerow
LGTM, thanks for fixing this. I'm not convinced of the usefulness of the test. If ...
3 years, 11 months ago (2017-01-19 13:44:15 UTC) #15
jbroman
On 2017/01/19 at 13:44:15, jkummerow wrote: > LGTM, thanks for fixing this. > > I'm ...
3 years, 11 months ago (2017-01-19 15:32:46 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2641953002/60001
3 years, 11 months ago (2017-01-19 15:38:27 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-19 16:13:08 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/ca0f957329828c61f02437f640ed8004a54...

Powered by Google App Engine
This is Rietveld 408576698