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

Issue 2871143002: BodyStreamBuffer: Avoid calling into V8 during construction (Closed)

Created:
3 years, 7 months ago by Michael Lippautz
Modified:
3 years, 7 months ago
Reviewers:
haraken
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

BodyStreamBuffer: Avoid calling into V8 during construction ::toImpl ca call AdjustAmountOfExternalMemory for ArrayBuffers which can trigger a V8 GC. Avoid being in the constructor when creating a BodyStreamBuffer in Response creation. BUG=chromium:716364 Review-Url: https://codereview.chromium.org/2871143002 Cr-Commit-Position: refs/heads/master@{#470888} Committed: https://chromium.googlesource.com/chromium/src/+/e563fd2fa55fd2d327c0f44bcfe6c4c98805bb55

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -5 lines) Patch
M third_party/WebKit/Source/modules/fetch/Response.cpp View 1 chunk +10 lines, -5 lines 2 comments Download

Messages

Total messages: 27 (15 generated)
Michael Lippautz
ptal. one of the defensive CHECKs fired in the attached bug.
3 years, 7 months ago (2017-05-10 08:53:09 UTC) #3
haraken
https://codereview.chromium.org/2871143002/diff/1/third_party/WebKit/Source/modules/fetch/Response.cpp File third_party/WebKit/Source/modules/fetch/Response.cpp (left): https://codereview.chromium.org/2871143002/diff/1/third_party/WebKit/Source/modules/fetch/Response.cpp#oldcode153 third_party/WebKit/Source/modules/fetch/Response.cpp:153: V8ArrayBuffer::toImpl(body.As<v8::Object>()))); Isn't it guaranteed that V8ArrayBuffer::toImpl(body.As<v8::Object>()) gets called before ...
3 years, 7 months ago (2017-05-10 09:05:16 UTC) #4
Michael Lippautz
I could not reproduce with this fix. Medium-term, I would like to get to the ...
3 years, 7 months ago (2017-05-10 10:51:25 UTC) #5
haraken
On 2017/05/10 10:51:25, Michael Lippautz wrote: > I could not reproduce with this fix. > ...
3 years, 7 months ago (2017-05-10 11:19:27 UTC) #6
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/2871143002/1
3 years, 7 months ago (2017-05-10 11:20:26 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/449897)
3 years, 7 months ago (2017-05-10 12:50:30 UTC) #10
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/2871143002/1
3 years, 7 months ago (2017-05-10 20:23:32 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450684)
3 years, 7 months ago (2017-05-10 22:34:31 UTC) #18
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/2871143002/1
3 years, 7 months ago (2017-05-11 06:04:01 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/451417)
3 years, 7 months ago (2017-05-11 07:36:24 UTC) #22
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/2871143002/1
3 years, 7 months ago (2017-05-11 08:19:51 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 09:24:16 UTC) #27
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/e563fd2fa55fd2d327c0f44bcfe6...

Powered by Google App Engine
This is Rietveld 408576698