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

Unified Diff: src/heap/heap.h

Issue 2788413004: [inspector] cache stack frame for call sites (Closed)
Patch Set: put map separately Created 3 years, 8 months 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/heap/heap.cc » ('j') | src/isolate.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 34177a4f4ba84824e777cdcbe52497a27d75bf2c..01ff88bcc6a16399a01f95042bf4e99ee181e88e 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -192,6 +192,7 @@ using v8::MemoryPressureLevel;
V(FixedArray, detached_contexts, DetachedContexts) \
V(ArrayList, retained_maps, RetainedMaps) \
V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable) \
+ V(WeakHashTable, stack_frame_cache, StackFrameCache) \
/* weak_new_space_object_to_code_list is an array of weak cells, where */ \
/* slots with even indices refer to the weak object, and the subsequent */ \
/* slots refer to the code with the reference to the weak object. */ \
@@ -922,6 +923,8 @@ class Heap {
DependentCode* LookupWeakObjectToCodeDependency(Handle<HeapObject> obj);
+ void SetStackFrameCache(WeakHashTable* table);
+
void CompactWeakFixedArrays();
void AddRetainedMap(Handle<Map> map);
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698