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

Unified Diff: src/inspector/v8-debugger.h

Issue 2579403002: [inspector] introduce limit for amount of stored async stacks (Closed)
Patch Set: maps.. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/inspector/v8-debugger.cc » ('j') | src/inspector/v8-debugger.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/v8-debugger.h
diff --git a/src/inspector/v8-debugger.h b/src/inspector/v8-debugger.h
index b1c044a06906f986bed52cfee54e12798f38809e..6d5d7a4b7fe1b0f33068c633ade8a8aab8a76190 100644
--- a/src/inspector/v8-debugger.h
+++ b/src/inspector/v8-debugger.h
@@ -150,6 +150,9 @@ class V8Debugger {
using AsyncTaskToStackTrace =
protocol::HashMap<void*, std::unique_ptr<V8StackTraceImpl>>;
AsyncTaskToStackTrace m_asyncTaskStacks;
+ std::map<int, void*> m_idToRawId;
dgozman 2016/12/16 23:59:49 m_idToTask
kozy 2016/12/17 01:12:41 Done.
+ std::unordered_map<void*, int> m_rawIdToId;
dgozman 2016/12/16 23:59:49 m_taskToId
kozy 2016/12/17 01:12:41 Done.
+ int m_lastId;
dgozman 2016/12/16 23:59:49 m_lastTaskId
kozy 2016/12/17 01:12:41 Done.
protocol::HashSet<void*> m_recurringTasks;
int m_maxAsyncCallStackDepth;
std::vector<void*> m_currentTasks;
« no previous file with comments | « no previous file | src/inspector/v8-debugger.cc » ('j') | src/inspector/v8-debugger.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698