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

Issue 422273002: Oilpan: Prepare moving AsyncCallStackTracker to Oilpan (Closed)

Created:
6 years, 4 months ago by keishi
Modified:
6 years, 4 months 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
Project:
blink
Visibility:
Public.

Description

Oilpan: Prepare moving AsyncCallStackTracker to Oilpan BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180088

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Merged 413113003 #

Total comments: 4

Patch Set 4 : Fixed #

Total comments: 6

Patch Set 5 : #

Total comments: 2

Patch Set 6 : break long line #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -130 lines) Patch
M Source/core/inspector/AsyncCallStackTracker.h View 1 2 3 4 5 6 7 4 chunks +45 lines, -9 lines 1 comment Download
M Source/core/inspector/AsyncCallStackTracker.cpp View 1 2 3 4 5 6 6 chunks +48 lines, -51 lines 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.cpp View 1 10 chunks +71 lines, -69 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
keishi
6 years, 4 months ago (2014-08-11 10:13:23 UTC) #1
keishi
Merged CL from https://codereview.chromium.org/413113003/
6 years, 4 months ago (2014-08-11 10:48:52 UTC) #2
yurys
+aandrey - author of the async call stacks implementation.
6 years, 4 months ago (2014-08-11 10:59:48 UTC) #3
haraken
https://codereview.chromium.org/422273002/diff/20001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/20001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode75 Source/core/inspector/AsyncCallStackTracker.cpp:75: delete self; This would be wrong. We cannot explicitly ...
6 years, 4 months ago (2014-08-11 10:59:59 UTC) #4
aandrey
https://codereview.chromium.org/422273002/diff/20001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/20001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode72 Source/core/inspector/AsyncCallStackTracker.cpp:72: ExecutionContextData* self = m_tracker->m_executionContextDataMap.take(executionContext()); this should have been: OwnPtr<ExecutionContextData> ...
6 years, 4 months ago (2014-08-11 11:11:05 UTC) #5
keishi
https://codereview.chromium.org/422273002/diff/20001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/20001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode72 Source/core/inspector/AsyncCallStackTracker.cpp:72: ExecutionContextData* self = m_tracker->m_executionContextDataMap.take(executionContext()); On 2014/08/11 11:11:04, aandrey wrote: ...
6 years, 4 months ago (2014-08-11 13:01:45 UTC) #6
aandrey
https://codereview.chromium.org/422273002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode72 Source/core/inspector/AsyncCallStackTracker.cpp:72: OwnPtrWillBeRawPtr<ExecutionContextData> self = adoptPtrWillBeNoop(m_tracker->m_executionContextDataMap.take(executionContext())); I think adoptPtrWillBeNoop() is not ...
6 years, 4 months ago (2014-08-11 13:35:49 UTC) #7
haraken
https://codereview.chromium.org/422273002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode492 Source/core/inspector/AsyncCallStackTracker.cpp:492: delete it->value; This would be problematic as well. You ...
6 years, 4 months ago (2014-08-11 13:47:06 UTC) #8
keishi
https://codereview.chromium.org/422273002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/60001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode72 Source/core/inspector/AsyncCallStackTracker.cpp:72: OwnPtrWillBeRawPtr<ExecutionContextData> self = adoptPtrWillBeNoop(m_tracker->m_executionContextDataMap.take(executionContext())); On 2014/08/11 13:35:49, aandrey wrote: ...
6 years, 4 months ago (2014-08-12 05:24:59 UTC) #9
aandrey
lgtm
6 years, 4 months ago (2014-08-12 08:20:35 UTC) #10
haraken
LGTM https://codereview.chromium.org/422273002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode479 Source/core/inspector/AsyncCallStackTracker.cpp:479: data = m_executionContextDataMap.set(context, adoptPtrWillBeNoop(new AsyncCallStackTracker::ExecutionContextData(this, context))).storedValue->value.get(); Break up ...
6 years, 4 months ago (2014-08-12 08:38:17 UTC) #11
yurys
lgtm
6 years, 4 months ago (2014-08-12 08:38:28 UTC) #12
keishi
Thanks, everyone. https://codereview.chromium.org/422273002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp File Source/core/inspector/AsyncCallStackTracker.cpp (right): https://codereview.chromium.org/422273002/diff/80001/Source/core/inspector/AsyncCallStackTracker.cpp#newcode479 Source/core/inspector/AsyncCallStackTracker.cpp:479: data = m_executionContextDataMap.set(context, adoptPtrWillBeNoop(new AsyncCallStackTracker::ExecutionContextData(this, context))).storedValue->value.get(); On ...
6 years, 4 months ago (2014-08-12 08:50:56 UTC) #13
keishi
The CQ bit was checked by keishi@chromium.org
6 years, 4 months ago (2014-08-12 08:51:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/422273002/100001
6 years, 4 months ago (2014-08-12 08:51:19 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-12 09:18:10 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 09:20:04 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/19443)
6 years, 4 months ago (2014-08-12 09:20:05 UTC) #18
keishi
The CQ bit was checked by keishi@chromium.org
6 years, 4 months ago (2014-08-12 12:17:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/422273002/120001
6 years, 4 months ago (2014-08-12 12:18:55 UTC) #20
keishi
The CQ bit was checked by keishi@chromium.org
6 years, 4 months ago (2014-08-12 13:01:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/422273002/140001
6 years, 4 months ago (2014-08-12 13:02:07 UTC) #22
commit-bot: I haz the power
Change committed as 180088
6 years, 4 months ago (2014-08-12 17:26:07 UTC) #23
aandrey
6 years, 4 months ago (2014-08-26 08:39:04 UTC) #24
Message was sent while issue was closed.
https://codereview.chromium.org/422273002/diff/140001/Source/core/inspector/A...
File Source/core/inspector/AsyncCallStackTracker.h (right):

https://codereview.chromium.org/422273002/diff/140001/Source/core/inspector/A...
Source/core/inspector/AsyncCallStackTracker.h:81: class ExecutionContextData
FINAL : public NoBaseWillBeGarbageCollectedFinalized<ExecutionContextData>,
public ContextLifecycleObserver {
It is very unfortunate that you had to move a private implementation class to
public API. Can we avoid this?

Powered by Google App Engine
This is Rietveld 408576698