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

Issue 199733009: Oilpan: tighten DISALLOW_ALLOCATION so it does not allow inline (Closed)

Created:
6 years, 9 months ago by Mads Ager (chromium)
Modified:
6 years, 9 months ago
CC:
blink-reviews, haraken, kouhei+heap_chromium.org
Visibility:
Public.

Description

Oilpan: tighten DISALLOW_ALLOCATION so it does not allow inline allocation by user-defined placement new operators. Removing the placement new operators will lead to redefinition errors if a class is marked as DISALLOW_ALLOCATION or STACK_ALLOCATED and at the same time defines placement new operators. R=oilpan-reviews@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169642

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix STACK_ALLOCATED #

Total comments: 6

Patch Set 3 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -11 lines) Patch
M Source/heap/Heap.h View 1 2 2 chunks +30 lines, -11 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
Mads Ager (chromium)
6 years, 9 months ago (2014-03-20 07:24:30 UTC) #1
Mads Ager (chromium)
https://codereview.chromium.org/199733009/diff/1/Source/heap/Heap.h File Source/heap/Heap.h (right): https://codereview.chromium.org/199733009/diff/1/Source/heap/Heap.h#newcode1069 Source/heap/Heap.h:1069: DISALLOW_ALLOCATION() This doesn't work. I'll have to add them ...
6 years, 9 months ago (2014-03-20 07:28:04 UTC) #2
zerny-chromium
https://codereview.chromium.org/199733009/diff/1/Source/heap/Heap.h File Source/heap/Heap.h (right): https://codereview.chromium.org/199733009/diff/1/Source/heap/Heap.h#newcode1069 Source/heap/Heap.h:1069: DISALLOW_ALLOCATION() I'm not sure if this will work now ...
6 years, 9 months ago (2014-03-20 07:30:02 UTC) #3
zerny-chromium
> This doesn't work. I'll have to add them all here with annotations. :-) Yeah. ...
6 years, 9 months ago (2014-03-20 07:32:58 UTC) #4
Mads Ager (chromium)
On 2014/03/20 07:30:02, zerny-chromium wrote: > https://codereview.chromium.org/199733009/diff/1/Source/heap/Heap.h > File Source/heap/Heap.h (right): > > https://codereview.chromium.org/199733009/diff/1/Source/heap/Heap.h#newcode1069 > ...
6 years, 9 months ago (2014-03-20 07:33:13 UTC) #5
Mads Ager (chromium)
On 2014/03/20 07:32:58, zerny-chromium wrote: > > This doesn't work. I'll have to add them ...
6 years, 9 months ago (2014-03-20 07:35:28 UTC) #6
zerny-chromium
On 2014/03/20 07:35:28, Mads Ager (chromium) wrote: > On 2014/03/20 07:32:58, zerny-chromium wrote: > > ...
6 years, 9 months ago (2014-03-20 07:37:09 UTC) #7
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 9 months ago (2014-03-20 07:38:30 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/199733009/10002
6 years, 9 months ago (2014-03-20 07:38:33 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 07:38:34 UTC) #10
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 9 months ago (2014-03-20 07:38:35 UTC) #11
Vyacheslav Egorov (Chromium)
lgtm
6 years, 9 months ago (2014-03-20 07:41:54 UTC) #12
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 9 months ago (2014-03-20 07:45:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/199733009/10002
6 years, 9 months ago (2014-03-20 07:45:55 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 07:46:00 UTC) #15
commit-bot: I haz the power
Failed to apply patch for Source/heap/Heap.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-20 07:46:01 UTC) #16
Erik Corry
LGTM with comments. https://codereview.chromium.org/199733009/diff/10002/Source/heap/Heap.h File Source/heap/Heap.h (right): https://codereview.chromium.org/199733009/diff/10002/Source/heap/Heap.h#newcode1032 Source/heap/Heap.h:1032: void* operator new (size_t, void*) = ...
6 years, 9 months ago (2014-03-20 07:46:41 UTC) #17
Mads Ager (chromium)
Thanks Erik. Those were silly. :-) https://codereview.chromium.org/199733009/diff/10002/Source/heap/Heap.h File Source/heap/Heap.h (right): https://codereview.chromium.org/199733009/diff/10002/Source/heap/Heap.h#newcode1032 Source/heap/Heap.h:1032: void* operator new ...
6 years, 9 months ago (2014-03-20 07:54:22 UTC) #18
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 9 months ago (2014-03-20 07:54:27 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/199733009/30001
6 years, 9 months ago (2014-03-20 07:54:30 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 07:55:31 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_compile_dbg
6 years, 9 months ago (2014-03-20 07:55:31 UTC) #22
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 9 months ago (2014-03-20 07:56:16 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/199733009/30001
6 years, 9 months ago (2014-03-20 07:56:20 UTC) #24
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-20 09:06:38 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 9 months ago (2014-03-20 09:06:38 UTC) #26
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 9 months ago (2014-03-20 09:55:55 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/199733009/30001
6 years, 9 months ago (2014-03-20 09:56:06 UTC) #28
commit-bot: I haz the power
6 years, 9 months ago (2014-03-20 11:00:50 UTC) #29
Message was sent while issue was closed.
Change committed as 169642

Powered by Google App Engine
This is Rietveld 408576698