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

Issue 2579403002: [inspector] introduce limit for amount of stored async stacks (Closed)

Created:
4 years ago by kozy
Modified:
4 years ago
Reviewers:
dgozman
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] introduce limit for amount of stored async stacks BUG=v8:5738 R=dgozman@chromium.org Review-Url: https://codereview.chromium.org/2579403002 Cr-Commit-Position: refs/heads/master@{#41783} Committed: https://chromium.googlesource.com/v8/v8/+/c42915f02d91e6605ce347c9dd798607813d8130

Patch Set 1 #

Patch Set 2 : a #

Total comments: 2

Patch Set 3 : maps.. #

Total comments: 10

Patch Set 4 : addressed comments #

Patch Set 5 : addressed comment #

Patch Set 6 : added missing test #

Total comments: 4

Patch Set 7 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+391 lines, -2 lines) Patch
M src/inspector/BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/inspector/inspector.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
A src/inspector/test-interface.h View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
A src/inspector/test-interface.cc View 1 2 3 4 5 6 1 chunk +18 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 4 6 chunks +27 lines, -1 line 0 comments Download
M test/inspector/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
A test/inspector/debugger/async-stacks-limit.js View 1 2 3 4 5 6 1 chunk +156 lines, -0 lines 0 comments Download
A test/inspector/debugger/async-stacks-limit-expected.txt View 1 2 3 4 5 6 1 chunk +137 lines, -0 lines 0 comments Download
M test/inspector/inspector-test.cc View 1 2 3 4 5 6 4 chunks +24 lines, -1 line 0 comments Download

Messages

Total messages: 18 (7 generated)
kozy
Dmitry, please take a look.
4 years ago (2016-12-16 22:03:50 UTC) #1
dgozman
https://codereview.chromium.org/2579403002/diff/20001/src/inspector/v8-debugger.h File src/inspector/v8-debugger.h (right): https://codereview.chromium.org/2579403002/diff/20001/src/inspector/v8-debugger.h#newcode155 src/inspector/v8-debugger.h:155: std::deque<void*> m_scheduledOrder; Can we instead have two maps: void* ...
4 years ago (2016-12-16 22:36:11 UTC) #2
kozy
all done, please take another look. https://codereview.chromium.org/2579403002/diff/20001/src/inspector/v8-debugger.h File src/inspector/v8-debugger.h (right): https://codereview.chromium.org/2579403002/diff/20001/src/inspector/v8-debugger.h#newcode155 src/inspector/v8-debugger.h:155: std::deque<void*> m_scheduledOrder; On ...
4 years ago (2016-12-16 22:56:16 UTC) #3
dgozman
https://codereview.chromium.org/2579403002/diff/40001/src/inspector/v8-debugger.cc File src/inspector/v8-debugger.cc (right): https://codereview.chromium.org/2579403002/diff/40001/src/inspector/v8-debugger.cc#newcode913 src/inspector/v8-debugger.cc:913: while (m_idToRawId.size() > kMaxAsyncTaskStacks) { while -> if ? ...
4 years ago (2016-12-16 23:59:49 UTC) #4
kozy
all done, test added ,please take a look. https://codereview.chromium.org/2579403002/diff/40001/src/inspector/v8-debugger.cc File src/inspector/v8-debugger.cc (right): https://codereview.chromium.org/2579403002/diff/40001/src/inspector/v8-debugger.cc#newcode913 src/inspector/v8-debugger.cc:913: while ...
4 years ago (2016-12-17 01:12:42 UTC) #5
kozy
added missing test, ready for review.
4 years ago (2016-12-17 03:13:27 UTC) #6
dgozman
Looks good! https://codereview.chromium.org/2579403002/diff/100001/test/inspector/DEPS File test/inspector/DEPS (right): https://codereview.chromium.org/2579403002/diff/100001/test/inspector/DEPS#newcode10 test/inspector/DEPS:10: "+src/inspector/v8-inspector-impl.h", Let's expose src/inspector/test-interface.h, which will do ...
4 years ago (2016-12-18 03:31:02 UTC) #7
kozy
all done, please take another look. https://codereview.chromium.org/2579403002/diff/100001/test/inspector/DEPS File test/inspector/DEPS (right): https://codereview.chromium.org/2579403002/diff/100001/test/inspector/DEPS#newcode10 test/inspector/DEPS:10: "+src/inspector/v8-inspector-impl.h", On 2016/12/18 ...
4 years ago (2016-12-18 06:27:38 UTC) #8
dgozman
Wonderful, lgtm.
4 years ago (2016-12-18 09:49:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2579403002/120001
4 years ago (2016-12-18 17:03:03 UTC) #15
commit-bot: I haz the power
4 years ago (2016-12-18 17:04:50 UTC) #18
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/c42915f02d91e6605ce347c9dd798607813...

Powered by Google App Engine
This is Rietveld 408576698