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

Issue 799693002: Oilpan: clear out AsyncCallChainMaps in an orderly manner. (Closed)

Created:
6 years ago by sof
Modified:
6 years ago
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Oilpan: clear out AsyncCallChainMaps in an orderly manner. Follow up r186955 and avoid delaying clearing an ExecutionContextData's AsyncCallChainMaps until the next GC, as that's not safe due to it touching other possibly-finalized heap objects at that time. Handle it instead when the ExecutionContextData is notified of impending destruction instead. R=haraken,aandrey BUG=439376 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187025

Patch Set 1 #

Total comments: 8

Patch Set 2 : tidying #

Patch Set 3 : clear->dispose #

Total comments: 5

Patch Set 4 : review update #

Total comments: 4

Patch Set 5 : tweaks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M Source/core/inspector/AsyncCallStackTracker.h View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/inspector/AsyncCallStackTracker.cpp View 1 2 3 4 6 chunks +30 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (7 generated)
sof
Please take a look.
6 years ago (2014-12-11 22:55:03 UTC) #2
sof
please take a look (if rietveld is willing..)
6 years ago (2014-12-12 06:15:58 UTC) #4
haraken
LGTM
6 years ago (2014-12-12 06:30:53 UTC) #5
aandrey
https://codereview.chromium.org/799693002/diff/1/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/799693002/diff/1/Source/core/inspector/AsyncCallStackTracker.cpp#newcode77 Source/core/inspector/AsyncCallStackTracker.cpp:77: void clear() nit: clear -> dispose https://codereview.chromium.org/799693002/diff/1/Source/core/inspector/AsyncCallStackTracker.cpp#newcode79 Source/core/inspector/AsyncCallStackTracker.cpp:79: if ...
6 years ago (2014-12-12 08:40:52 UTC) #7
aandrey
6 years ago (2014-12-12 08:41:15 UTC) #9
sof
https://codereview.chromium.org/799693002/diff/1/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/799693002/diff/1/Source/core/inspector/AsyncCallStackTracker.cpp#newcode77 Source/core/inspector/AsyncCallStackTracker.cpp:77: void clear() On 2014/12/12 08:40:52, aandrey wrote: > nit: ...
6 years ago (2014-12-12 09:16:33 UTC) #10
aandrey
https://codereview.chromium.org/799693002/diff/40001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/799693002/diff/40001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode77 Source/core/inspector/AsyncCallStackTracker.cpp:77: void dispose() turns out, we also need clear(), see ...
6 years ago (2014-12-12 10:18:53 UTC) #11
sof
https://codereview.chromium.org/799693002/diff/40001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/799693002/diff/40001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode458 Source/core/inspector/AsyncCallStackTracker.cpp:458: data->m_executionContextTaskCallChains.dispose(); On 2014/12/12 10:18:53, aandrey wrote: > this should ...
6 years ago (2014-12-12 10:26:06 UTC) #12
sof
https://codereview.chromium.org/799693002/diff/40001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/799693002/diff/40001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode77 Source/core/inspector/AsyncCallStackTracker.cpp:77: void dispose() On 2014/12/12 10:18:53, aandrey wrote: > turns ...
6 years ago (2014-12-12 10:32:47 UTC) #13
aandrey
https://codereview.chromium.org/799693002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/799693002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode79 Source/core/inspector/AsyncCallStackTracker.cpp:79: clear(); nit: ASSERT(m_tracker); https://codereview.chromium.org/799693002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode93 Source/core/inspector/AsyncCallStackTracker.cpp:93: m_tracker = nullptr; remove
6 years ago (2014-12-12 10:57:47 UTC) #14
sof
https://codereview.chromium.org/799693002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/799693002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode79 Source/core/inspector/AsyncCallStackTracker.cpp:79: clear(); On 2014/12/12 10:57:47, aandrey wrote: > nit: ASSERT(m_tracker); ...
6 years ago (2014-12-12 11:04:31 UTC) #15
aandrey
LGTM. Thanks for fixing this!
6 years ago (2014-12-12 11:15:24 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/799693002/80001
6 years ago (2014-12-12 11:34:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/799693002/80001
6 years ago (2014-12-12 13:17:11 UTC) #21
commit-bot: I haz the power
6 years ago (2014-12-12 14:11:07 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187025

Powered by Google App Engine
This is Rietveld 408576698