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

Unified Diff: src/serialize.cc

Issue 22852024: Track JS allocations as they arrive with no affection on performance when tracking is switched off (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Make separate API for JS allocations recording, add example of checking JS allocations recording in… Created 7 years, 4 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
Index: src/serialize.cc
diff --git a/src/serialize.cc b/src/serialize.cc
index 746c926653d6a21aa8f1674f33c53ce0cf0196aa..a017ae0da6e7ca85ba573f80b7e8a811839e96a2 100644
--- a/src/serialize.cc
+++ b/src/serialize.cc
@@ -581,6 +581,14 @@ void ExternalReferenceTable::PopulateTable(Isolate* isolate) {
UNCLASSIFIED,
63,
"Heap::allocation_sites_list_address()");
+ Add(ExternalReference::is_tracking_allocations_address(isolate).address(),
+ UNCLASSIFIED,
+ 64,
+ "HeapProfiler::is_tracking_allocations_address");
+ Add(ExternalReference::record_object_allocation_function(isolate).address(),
+ UNCLASSIFIED,
+ 65,
+ "HeapProfiler::RecordObjectAllocationFromMasm");
// Add a small set of deopt entry addresses to encoder without generating the
// deopt table code, which isn't possible at deserialization time.

Powered by Google App Engine
This is Rietveld 408576698