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

Side by Side Diff: src/assembler.h

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, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/api.cc ('k') | src/assembler.cc » ('j') | src/assembler.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 Isolate* isolate); 727 Isolate* isolate);
728 static ExternalReference random_uint32_function(Isolate* isolate); 728 static ExternalReference random_uint32_function(Isolate* isolate);
729 static ExternalReference transcendental_cache_array_address(Isolate* isolate); 729 static ExternalReference transcendental_cache_array_address(Isolate* isolate);
730 static ExternalReference delete_handle_scope_extensions(Isolate* isolate); 730 static ExternalReference delete_handle_scope_extensions(Isolate* isolate);
731 731
732 static ExternalReference get_date_field_function(Isolate* isolate); 732 static ExternalReference get_date_field_function(Isolate* isolate);
733 static ExternalReference date_cache_stamp(Isolate* isolate); 733 static ExternalReference date_cache_stamp(Isolate* isolate);
734 734
735 static ExternalReference get_make_code_young_function(Isolate* isolate); 735 static ExternalReference get_make_code_young_function(Isolate* isolate);
736 736
737 // New heap objects tracking support.
738 static ExternalReference is_tracking_allocations_address(Isolate* isolate);
739 static ExternalReference record_object_allocation_function(Isolate* isolate);
740
737 // Deoptimization support. 741 // Deoptimization support.
738 static ExternalReference new_deoptimizer_function(Isolate* isolate); 742 static ExternalReference new_deoptimizer_function(Isolate* isolate);
739 static ExternalReference compute_output_frames_function(Isolate* isolate); 743 static ExternalReference compute_output_frames_function(Isolate* isolate);
740 744
741 // Log support. 745 // Log support.
742 static ExternalReference log_enter_external_function(Isolate* isolate); 746 static ExternalReference log_enter_external_function(Isolate* isolate);
743 static ExternalReference log_leave_external_function(Isolate* isolate); 747 static ExternalReference log_leave_external_function(Isolate* isolate);
744 748
745 // Static data in the keyed lookup cache. 749 // Static data in the keyed lookup cache.
746 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate); 750 static ExternalReference keyed_lookup_cache_keys(Isolate* isolate);
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 public: 1078 public:
1075 NullCallWrapper() { } 1079 NullCallWrapper() { }
1076 virtual ~NullCallWrapper() { } 1080 virtual ~NullCallWrapper() { }
1077 virtual void BeforeCall(int call_size) const { } 1081 virtual void BeforeCall(int call_size) const { }
1078 virtual void AfterCall() const { } 1082 virtual void AfterCall() const { }
1079 }; 1083 };
1080 1084
1081 } } // namespace v8::internal 1085 } } // namespace v8::internal
1082 1086
1083 #endif // V8_ASSEMBLER_H_ 1087 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/api.cc ('k') | src/assembler.cc » ('j') | src/assembler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698