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

Unified Diff: src/assembler.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
« no previous file with comments | « src/assembler.h ('k') | src/builtins.cc » ('j') | src/heap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.cc
diff --git a/src/assembler.cc b/src/assembler.cc
index ae8a0b58ba87939a2adf6eb2298826082843cb27..4c0062e17e647cf26a1a29eb2e4d77d0cd17fb32 100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -1316,6 +1316,21 @@ ExternalReference ExternalReference::address_of_the_hole_nan() {
}
+ExternalReference ExternalReference::is_tracking_allocations_address(
+ Isolate* isolate) {
Hannes Payer (out of office) 2013/08/28 09:51:32 4 spaces indent
Alexandra Mikhaylova 2013/09/19 16:03:38 Removed this function as it became redundant after
+ return ExternalReference(
+ isolate->heap_profiler()->is_tracking_allocations_address());
+}
+
+
+ExternalReference ExternalReference::record_object_allocation_function(
+ Isolate* isolate) {
Hannes Payer (out of office) 2013/08/28 09:51:32 4 spaces indent
Alexandra Mikhaylova 2013/09/19 16:03:38 Done.
+ return ExternalReference(
+ Redirect(isolate,
+ FUNCTION_ADDR(HeapProfiler::RecordObjectAllocationFromMasm)));
+}
+
+
#ifndef V8_INTERPRETED_REGEXP
ExternalReference ExternalReference::re_check_stack_guard_state(
« no previous file with comments | « src/assembler.h ('k') | src/builtins.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698