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

Issue 1051853003: Oilpan: like Vector<T>, restrict Deque<T> to certain part objects. (Closed)

Created:
5 years, 8 months ago by sof
Modified:
5 years, 3 months ago
Reviewers:
tkent, haraken
CC:
blink-reviews, blink-reviews-wtf_chromium.org, aandrey+blink_chromium.org, Mikhail
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: like Vector<T>, restrict Deque<T> to certain part objects. Impose the limitations put on Vector<T> on Deque<T> also. They're both backed by a vector buffer where unused slots are zero'ed so as to be safe when (conservatively) tracing the buffer contents or when finalizing it. In order to use a designated zero for cleared elements, certain conditions have to be placed on the kinds of T we can allow when T is a part object annotated with ALLOW_ONLY_INLINE_ALLOCATION(). Impose these statically by way of static_assert()s. R=tkent,haraken BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202574

Patch Set 1 #

Total comments: 2

Patch Set 2 : updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -0 lines) Patch
M Source/wtf/Deque.h View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
sof
Please take a look.
5 years, 8 months ago (2015-04-22 05:07:41 UTC) #2
haraken
LGTM https://codereview.chromium.org/1051853003/diff/1/Source/wtf/Deque.h File Source/wtf/Deque.h (right): https://codereview.chromium.org/1051853003/diff/1/Source/wtf/Deque.h#newcode232 Source/wtf/Deque.h:232: // destructor calls as long as the memory ...
5 years, 8 months ago (2015-04-22 05:29:40 UTC) #3
tkent
lgtm
5 years, 8 months ago (2015-04-22 05:40:07 UTC) #4
sof
https://codereview.chromium.org/1051853003/diff/1/Source/wtf/Deque.h File Source/wtf/Deque.h (right): https://codereview.chromium.org/1051853003/diff/1/Source/wtf/Deque.h#newcode232 Source/wtf/Deque.h:232: // destructor calls as long as the memory is ...
5 years, 8 months ago (2015-04-22 16:05:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051853003/1
5 years, 8 months ago (2015-04-22 16:05:55 UTC) #7
haraken
Let me stop the commit queue at the moment... I found more fundamental errors about ...
5 years, 8 months ago (2015-04-22 16:07:46 UTC) #9
sof
This one didn't quite make it in at the time.. shall we try to land ...
5 years, 3 months ago (2015-09-20 18:57:10 UTC) #10
haraken
LGTM
5 years, 3 months ago (2015-09-20 23:48:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051853003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1051853003/20001
5 years, 3 months ago (2015-09-21 05:34:29 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-21 05:38:48 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=202574

Powered by Google App Engine
This is Rietveld 408576698