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

Issue 1650123002: Keep (Heap)TerminatedArray in a consistent state while building. (Closed)

Created:
4 years, 10 months ago by sof
Modified:
4 years, 10 months ago
Reviewers:
haraken, tkent
CC:
chromium-reviews, oilpan-reviews, Mads Ager (chromium), blink-reviews, kinuko+watch, kouhei+heap_chromium.org, blink-reviews-wtf_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Keep (Heap)TerminatedArray in a consistent state while building. When building a (Heap)TerminatedArray<T>, be careful to always have a 'last marker' set while doing so. Otherwise, should a conservative GC strike while building, there's no last marker to terminate the tracing of the HeapTerminatedArray<> elements. R=haraken BUG=581698 Committed: https://crrev.com/dbab3f0a4938a7c3bf9ff9d84858e98f2a11a8ee Cr-Commit-Position: refs/heads/master@{#372367}

Patch Set 1 #

Total comments: 4

Patch Set 2 : add assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M third_party/WebKit/Source/platform/heap/HeapTest.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h View 1 3 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
sof
please take a look.
4 years, 10 months ago (2016-01-29 15:44:09 UTC) #2
haraken
https://codereview.chromium.org/1650123002/diff/1/third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h File third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h (right): https://codereview.chromium.org/1650123002/diff/1/third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h#newcode34 third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h:34: m_array = ArrayType<T>::Allocator::create(m_capacity); What happens if a conservative GC ...
4 years, 10 months ago (2016-01-29 16:00:32 UTC) #3
sof
https://codereview.chromium.org/1650123002/diff/1/third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h File third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h (right): https://codereview.chromium.org/1650123002/diff/1/third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h#newcode34 third_party/WebKit/Source/wtf/TerminatedArrayBuilder.h:34: m_array = ArrayType<T>::Allocator::create(m_capacity); On 2016/01/29 16:00:32, haraken wrote: > ...
4 years, 10 months ago (2016-01-29 16:28:44 UTC) #4
haraken
LGTM
4 years, 10 months ago (2016-01-29 16:33:54 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1650123002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1650123002/20001
4 years, 10 months ago (2016-01-29 16:39:23 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-01-29 17:35:57 UTC) #10
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 17:36:51 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dbab3f0a4938a7c3bf9ff9d84858e98f2a11a8ee
Cr-Commit-Position: refs/heads/master@{#372367}

Powered by Google App Engine
This is Rietveld 408576698