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

Issue 219413002: Hash iterators: Check for concurrent modification and fix 1 place where it happened (Closed)

Created:
6 years, 8 months ago by Erik Corry
Modified:
6 years, 8 months ago
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), Mikhail, abarth-chromium, dstockwell, Timothy Loh, adamk+blink_chromium.org, darktears, Steve Block, dino_apple.com, Inactive, Eric Willigers
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 11

Patch Set 2 : CR feedback #

Total comments: 1

Patch Set 3 : Revert DocumentTimeline checks and make asserts more lenient #

Total comments: 6

Patch Set 4 : Move a few calls to registerModification #

Patch Set 5 : Fix incorrect use of iterators and remove() in HistoryController.cpp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -12 lines) Patch
M Source/core/page/HistoryController.cpp View 1 2 3 4 2 chunks +10 lines, -2 lines 0 comments Download
M Source/wtf/HashTable.h View 1 2 3 17 chunks +65 lines, -10 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Erik Corry
6 years, 8 months ago (2014-03-31 13:35:42 UTC) #1
Mikhail
interesting how much the debug build binary size is affected (maybe this check is even ...
6 years, 8 months ago (2014-03-31 14:08:08 UTC) #2
Mads Ager (chromium)
LGTM This check definitely seems worth adding. https://codereview.chromium.org/219413002/diff/1/Source/wtf/HashTable.h File Source/wtf/HashTable.h (right): https://codereview.chromium.org/219413002/diff/1/Source/wtf/HashTable.h#newcode377 Source/wtf/HashTable.h:377: void checkModifications(int64_t ...
6 years, 8 months ago (2014-03-31 14:18:47 UTC) #3
Erik Corry
https://codereview.chromium.org/219413002/diff/1/Source/wtf/HashTable.h File Source/wtf/HashTable.h (right): https://codereview.chromium.org/219413002/diff/1/Source/wtf/HashTable.h#newcode102 Source/wtf/HashTable.h:102: #ifndef NDEBUG On 2014/03/31 14:08:09, mikhail.pozdnyakov wrote: > Since ...
6 years, 8 months ago (2014-03-31 19:45:37 UTC) #4
Timothy Loh
https://codereview.chromium.org/219413002/diff/20001/Source/core/animation/DocumentTimeline.h File Source/core/animation/DocumentTimeline.h (right): https://codereview.chromium.org/219413002/diff/20001/Source/core/animation/DocumentTimeline.h#newcode102 Source/core/animation/DocumentTimeline.h:102: // over it (this happens during pauseAnimationsForTesting). So the ...
6 years, 8 months ago (2014-03-31 23:33:22 UTC) #5
Erik Corry
On 2014/03/31 23:33:22, Timothy Loh wrote: > https://codereview.chromium.org/219413002/diff/20001/Source/core/animation/DocumentTimeline.h > File Source/core/animation/DocumentTimeline.h (right): > > https://codereview.chromium.org/219413002/diff/20001/Source/core/animation/DocumentTimeline.h#newcode102 ...
6 years, 8 months ago (2014-04-01 08:43:25 UTC) #6
Erik Corry
Size of out/*/lib/libblink_web.so Debug with asserts: 953483232 Debug without asserts: 949805304 Size increase 0.38%
6 years, 8 months ago (2014-04-01 09:18:14 UTC) #7
Mikhail
Thanks, the patch looks nice but it seems some of 'registerModification()' calls can be omitted ...
6 years, 8 months ago (2014-04-01 09:28:32 UTC) #8
Erik Corry
https://codereview.chromium.org/219413002/diff/40001/Source/wtf/HashTable.h File Source/wtf/HashTable.h (right): https://codereview.chromium.org/219413002/diff/40001/Source/wtf/HashTable.h#newcode564 Source/wtf/HashTable.h:564: registerModification(); On 2014/04/01 09:28:33, mikhail.pozdnyakov wrote: > 'lookupForWriting()' does ...
6 years, 8 months ago (2014-04-01 10:21:28 UTC) #9
Mikhail
LGTM
6 years, 8 months ago (2014-04-01 10:28:53 UTC) #10
Erik Corry
The CQ bit was checked by erik.corry@gmail.com
6 years, 8 months ago (2014-04-01 10:30:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erik.corry@gmail.com/219413002/50001
6 years, 8 months ago (2014-04-01 10:30:33 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-01 10:37:59 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on blink_presubmit
6 years, 8 months ago (2014-04-01 10:38:00 UTC) #14
jochen (gone - plz use gerrit)
lgtm
6 years, 8 months ago (2014-04-01 10:58:46 UTC) #15
Erik Corry
The CQ bit was checked by erik.corry@gmail.com
6 years, 8 months ago (2014-04-01 11:28:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erik.corry@gmail.com/219413002/50001
6 years, 8 months ago (2014-04-01 11:28:42 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-01 11:42:14 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-01 11:42:15 UTC) #19
Erik Corry
The CQ bit was checked by erik.corry@gmail.com
6 years, 8 months ago (2014-04-02 10:01:26 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erik.corry@gmail.com/219413002/50001
6 years, 8 months ago (2014-04-02 10:01:39 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-02 11:13:15 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_dbg
6 years, 8 months ago (2014-04-02 11:13:16 UTC) #23
Erik Corry
The CQ found a place where we were updating a collection while iterating over it. ...
6 years, 8 months ago (2014-04-02 13:41:58 UTC) #24
Nate Chapin
On 2014/04/02 13:41:58, Erik Corry wrote: > The CQ found a place where we were ...
6 years, 8 months ago (2014-04-02 16:10:25 UTC) #25
Erik Corry
The CQ bit was checked by erik.corry@gmail.com
6 years, 8 months ago (2014-04-02 17:36:20 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erik.corry@gmail.com/219413002/70001
6 years, 8 months ago (2014-04-02 17:36:23 UTC) #27
commit-bot: I haz the power
6 years, 8 months ago (2014-04-02 18:44:18 UTC) #28
Message was sent while issue was closed.
Change committed as 170679

Powered by Google App Engine
This is Rietveld 408576698