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

Issue 291933002: Initialize the memory allocated by Vector<IsPod<T>> (Closed)

Created:
6 years, 7 months ago by Julien - ping for review
Modified:
6 years, 7 months ago
CC:
blink-reviews, blink-reviews-wtf_chromium.org, Mikhail, abarth-chromium, Erik Corry
Visibility:
Public.

Description

Initialize the memory allocated by Vector<IsPod<T>> For performance reasons (see https://bugs.webkit.org/show_bug.cgi?id=101649#c5), Vector used not to initialize the memory allocated for POD types. This yielded to several use of uninitialized memory in our code and potentially more of them so it makes sense to just zero the allocated the memory. This change just remove the previous initialization so Vector now initialize the memory to 0 for POD. BUG=364675, 158510 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174384

Patch Set 1 #

Patch Set 2 : Better change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -12 lines) Patch
M Source/wtf/Vector.h View 1 3 chunks +4 lines, -10 lines 0 comments Download
M Source/wtf/VectorTraits.h View 1 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Julien - ping for review
Attached is a general fix for a table issue (deeper context is https://bugs.webkit.org/show_bug.cgi?id=101649). I haven't ...
6 years, 7 months ago (2014-05-19 16:27:43 UTC) #1
eseidel
Erik Corry or mikhail are your best reviewers.
6 years, 7 months ago (2014-05-20 00:48:11 UTC) #2
Erik Corry
LGTM, I assume you will keep an eye on the perf bots.
6 years, 7 months ago (2014-05-20 08:20:57 UTC) #3
Mikhail
lgtm let's see how much the performance will be affected with it. We might consider ...
6 years, 7 months ago (2014-05-20 11:20:36 UTC) #4
Erik Corry
With Oilpan the memory is pre-zapped by the GC, so we will probably want to ...
6 years, 7 months ago (2014-05-20 12:08:15 UTC) #5
Julien - ping for review
On 2014/05/20 11:20:36, mikhail.pozdnyakov wrote: > lgtm > let's see how much the performance will ...
6 years, 7 months ago (2014-05-20 13:45:26 UTC) #6
Julien - ping for review
The CQ bit was checked by jchaffraix@chromium.org
6 years, 7 months ago (2014-05-20 13:45:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jchaffraix@chromium.org/291933002/20001
6 years, 7 months ago (2014-05-20 13:45:51 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-20 15:04:37 UTC) #9
Message was sent while issue was closed.
Change committed as 174384

Powered by Google App Engine
This is Rietveld 408576698