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

Issue 1086413003: Oilpan: HeapVectorBacking should call destructors for its elements (Closed)

Created:
5 years, 8 months ago by sof
Modified:
5 years, 8 months ago
CC:
blink-reviews, Mads Ager (chromium), oilpan-reviews, blink-reviews-wtf_chromium.org, aandrey+blink_chromium.org, kouhei+heap_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: HeapVectorBacking should call destructors for its elements Currently HeapVectorBacking does not call destructors of its elements and is leaking the objects. We must call them. R=tkent BUG=475801 TEST=HeapTest.VectorDestructors TEST=HeapTest.DequePartObjectsExpand TEST=HeapTest.HeapVectorPartObjects Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194100

Patch Set 1 #

Patch Set 2 : extend to Deque + unit tests #

Patch Set 3 : add test comment #

Total comments: 2

Patch Set 4 : Check that unused portion of VectorBuffer is in a cleared state #

Patch Set 5 : Mac compile fix #

Patch Set 6 : do not check unused slots if ASan contig. container checking is enabled #

Patch Set 7 : reuploaded #

Patch Set 8 : rebased past r194046 (upto r194085.) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -19 lines) Patch
M Source/platform/heap/GCInfo.h View 1 chunk +3 lines, -16 lines 0 comments Download
M Source/platform/heap/Heap.h View 1 2 3 4 5 6 7 2 chunks +19 lines, -1 line 0 comments Download
M Source/platform/heap/HeapTest.cpp View 1 2 3 4 5 6 7 2 chunks +232 lines, -0 lines 0 comments Download
M Source/wtf/Deque.h View 1 1 chunk +6 lines, -2 lines 0 comments Download
M Source/wtf/Vector.h View 1 2 3 4 5 6 12 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
haraken
LGTM tkent-san for wtf/. https://codereview.chromium.org/1086413003/diff/40001/Source/wtf/Vector.h File Source/wtf/Vector.h (right): https://codereview.chromium.org/1086413003/diff/40001/Source/wtf/Vector.h#newcode1290 Source/wtf/Vector.h:1290: for (const T* bufferEntry = ...
5 years, 8 months ago (2015-04-18 23:48:47 UTC) #2
sof
https://codereview.chromium.org/1086413003/diff/40001/Source/wtf/Vector.h File Source/wtf/Vector.h (right): https://codereview.chromium.org/1086413003/diff/40001/Source/wtf/Vector.h#newcode1290 Source/wtf/Vector.h:1290: for (const T* bufferEntry = bufferBegin; bufferEntry != bufferEnd; ...
5 years, 8 months ago (2015-04-19 20:10:52 UTC) #3
haraken
On 2015/04/19 20:10:52, sof wrote: > https://codereview.chromium.org/1086413003/diff/40001/Source/wtf/Vector.h > File Source/wtf/Vector.h (right): > > https://codereview.chromium.org/1086413003/diff/40001/Source/wtf/Vector.h#newcode1290 > ...
5 years, 8 months ago (2015-04-19 23:47:17 UTC) #4
tkent
Does this have runtime performance impact?
5 years, 8 months ago (2015-04-20 00:16:47 UTC) #5
haraken
On 2015/04/20 00:16:47, tkent wrote: > Does this have runtime performance impact? Worth measuring. In ...
5 years, 8 months ago (2015-04-20 00:19:53 UTC) #6
tkent
On 2015/04/20 00:19:53, haraken wrote: > On 2015/04/20 00:16:47, tkent wrote: > > Does this ...
5 years, 8 months ago (2015-04-20 00:22:50 UTC) #7
sof
On 2015/04/20 00:22:50, tkent wrote: > On 2015/04/20 00:19:53, haraken wrote: > > On 2015/04/20 ...
5 years, 8 months ago (2015-04-20 05:12:16 UTC) #8
sof
On 2015/04/20 05:12:16, sof wrote: > On 2015/04/20 00:22:50, tkent wrote: > > On 2015/04/20 ...
5 years, 8 months ago (2015-04-20 10:00:37 UTC) #9
haraken
On 2015/04/20 00:22:50, tkent wrote: > On 2015/04/20 00:19:53, haraken wrote: > > On 2015/04/20 ...
5 years, 8 months ago (2015-04-20 10:01:55 UTC) #10
sof
On 2015/04/20 10:01:55, haraken wrote: > On 2015/04/20 00:22:50, tkent wrote: > > On 2015/04/20 ...
5 years, 8 months ago (2015-04-20 10:29:40 UTC) #11
haraken
On 2015/04/20 10:29:40, sof wrote: > On 2015/04/20 10:01:55, haraken wrote: > > On 2015/04/20 ...
5 years, 8 months ago (2015-04-20 11:51:23 UTC) #12
tkent
> No discernible regressions there (events and shadow_dom was the two I was most > ...
5 years, 8 months ago (2015-04-20 22:43:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1086413003/120001
5 years, 8 months ago (2015-04-20 22:44:49 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/52674)
5 years, 8 months ago (2015-04-20 23:30:59 UTC) #17
sof
On 2015/04/20 22:43:53, tkent wrote: > > No discernible regressions there (events and shadow_dom was ...
5 years, 8 months ago (2015-04-21 06:12:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1086413003/140001
5 years, 8 months ago (2015-04-21 06:12:54 UTC) #21
commit-bot: I haz the power
5 years, 8 months ago (2015-04-21 10:09:35 UTC) #22
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194100

Powered by Google App Engine
This is Rietveld 408576698