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

Issue 456633002: Oilpan: Assert that updator functions of HashMap, HashSet, and Vector should not be used during wea… (Closed)

Created:
6 years, 4 months ago by tkent
Modified:
6 years, 4 months ago
CC:
blink-reviews, aandrey+blink_chromium.org, blink-reviews-wtf_chromium.org, Mikhail, abarth-chromium
Project:
blink
Visibility:
Public.

Description

Oilpan: Assert that updator functions of HashMap, HashSet, and Vector should not be used during weak processing. We already have assertions in Heap::allocate and Heap::reallocate. However the member functions of HashMap, HashSet, and Vector don't always call Heap::allocate or Heap::reallocate, and it's very hard to detect allocation-in-weak-processing. BUG=400652 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179899

Patch Set 1 #

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

Messages

Total messages: 9 (0 generated)
tkent
Please review this.
6 years, 4 months ago (2014-08-11 00:46:52 UTC) #1
haraken
Can we add the ASSERT further down the call stack (e.g., expand(), expandCapacity() etc)?
6 years, 4 months ago (2014-08-11 00:49:44 UTC) #2
tkent
On 2014/08/11 00:49:44, haraken wrote: > Can we add the ASSERT further down the call ...
6 years, 4 months ago (2014-08-11 01:52:03 UTC) #3
haraken
On 2014/08/11 01:52:03, tkent wrote: > On 2014/08/11 00:49:44, haraken wrote: > > Can we ...
6 years, 4 months ago (2014-08-11 01:52:43 UTC) #4
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 4 months ago (2014-08-11 02:10:26 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/456633002/1
6 years, 4 months ago (2014-08-11 02:10:44 UTC) #6
commit-bot: I haz the power
Change committed as 179899
6 years, 4 months ago (2014-08-11 02:14:12 UTC) #7
Mads Ager (chromium)
LGTM!
6 years, 4 months ago (2014-08-11 06:33:31 UTC) #8
zerny-chromium
6 years, 4 months ago (2014-08-11 07:28:53 UTC) #9
Message was sent while issue was closed.
lgtm2. thanks!

Powered by Google App Engine
This is Rietveld 408576698