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

Side by Side Diff: src/v8-counters.h

Issue 6894003: Better support for 'polymorphic' JS and external arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: final review feedback Created 9 years, 7 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/type-info.cc ('k') | src/x64/ic-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ 127 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \
128 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ 128 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \
129 SC(map_slow_to_fast_elements, V8.MapSlowToFastElements) \ 129 SC(map_slow_to_fast_elements, V8.MapSlowToFastElements) \
130 SC(map_fast_to_slow_elements, V8.MapFastToSlowElements) \ 130 SC(map_fast_to_slow_elements, V8.MapFastToSlowElements) \
131 SC(map_to_external_array_elements, V8.MapToExternalArrayElements) \ 131 SC(map_to_external_array_elements, V8.MapToExternalArrayElements) \
132 /* How is the generic keyed-load stub used? */ \ 132 /* How is the generic keyed-load stub used? */ \
133 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ 133 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \
134 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ 134 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \
135 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ 135 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \
136 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ 136 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \
137 SC(keyed_load_polymorphic_stubs, V8.KeyedLoadPolymorphicStubs) \
137 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ 138 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \
138 /* How is the generic keyed-call stub used? */ \ 139 /* How is the generic keyed-call stub used? */ \
139 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \ 140 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \
140 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \ 141 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \
141 SC(keyed_call_generic_lookup_cache, V8.KeyedCallGenericLookupCache) \ 142 SC(keyed_call_generic_lookup_cache, V8.KeyedCallGenericLookupCache) \
142 SC(keyed_call_generic_lookup_dict, V8.KeyedCallGenericLookupDict) \ 143 SC(keyed_call_generic_lookup_dict, V8.KeyedCallGenericLookupDict) \
143 SC(keyed_call_generic_value_type, V8.KeyedCallGenericValueType) \ 144 SC(keyed_call_generic_value_type, V8.KeyedCallGenericValueType) \
144 SC(keyed_call_generic_slow, V8.KeyedCallGenericSlow) \ 145 SC(keyed_call_generic_slow, V8.KeyedCallGenericSlow) \
145 SC(keyed_call_generic_slow_load, V8.KeyedCallGenericSlowLoad) \ 146 SC(keyed_call_generic_slow_load, V8.KeyedCallGenericSlowLoad) \
146 /* Count how much the monomorphic keyed-load stubs are hit. */ \ 147 /* Count how much the monomorphic keyed-load stubs are hit. */ \
(...skipping 25 matching lines...) Expand all
172 SC(keyed_load_full, V8.KeyedLoadFull) \ 173 SC(keyed_load_full, V8.KeyedLoadFull) \
173 SC(keyed_store_inline_generic, V8.KeyedStoreInlineGeneric) \ 174 SC(keyed_store_inline_generic, V8.KeyedStoreInlineGeneric) \
174 SC(keyed_store_inline_fast, V8.KeyedStoreInlineFast) \ 175 SC(keyed_store_inline_fast, V8.KeyedStoreInlineFast) \
175 SC(named_store_inline_generic, V8.NamedStoreInlineGeneric) \ 176 SC(named_store_inline_generic, V8.NamedStoreInlineGeneric) \
176 SC(named_store_inline_fast, V8.NamedStoreInlineFast) \ 177 SC(named_store_inline_fast, V8.NamedStoreInlineFast) \
177 SC(keyed_store_full, V8.KeyedStoreFull) \ 178 SC(keyed_store_full, V8.KeyedStoreFull) \
178 SC(named_store_full, V8.NamedStoreFull) \ 179 SC(named_store_full, V8.NamedStoreFull) \
179 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \ 180 SC(keyed_store_inline_miss, V8.KeyedStoreInlineMiss) \
180 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \ 181 SC(named_store_global_inline, V8.NamedStoreGlobalInline) \
181 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \ 182 SC(named_store_global_inline_miss, V8.NamedStoreGlobalInlineMiss) \
183 SC(keyed_store_polymorphic_stubs, V8.KeyedStorePolymorphicStubs) \
184 SC(keyed_store_external_array_slow, V8.KeyedStoreExternalArraySlow) \
182 SC(store_normal_miss, V8.StoreNormalMiss) \ 185 SC(store_normal_miss, V8.StoreNormalMiss) \
183 SC(store_normal_hit, V8.StoreNormalHit) \ 186 SC(store_normal_hit, V8.StoreNormalHit) \
184 SC(cow_arrays_created_stub, V8.COWArraysCreatedStub) \ 187 SC(cow_arrays_created_stub, V8.COWArraysCreatedStub) \
185 SC(cow_arrays_created_runtime, V8.COWArraysCreatedRuntime) \ 188 SC(cow_arrays_created_runtime, V8.COWArraysCreatedRuntime) \
186 SC(cow_arrays_converted, V8.COWArraysConverted) \ 189 SC(cow_arrays_converted, V8.COWArraysConverted) \
187 SC(call_miss, V8.CallMiss) \ 190 SC(call_miss, V8.CallMiss) \
188 SC(keyed_call_miss, V8.KeyedCallMiss) \ 191 SC(keyed_call_miss, V8.KeyedCallMiss) \
189 SC(load_miss, V8.LoadMiss) \ 192 SC(load_miss, V8.LoadMiss) \
190 SC(keyed_load_miss, V8.KeyedLoadMiss) \ 193 SC(keyed_load_miss, V8.KeyedLoadMiss) \
191 SC(call_const, V8.CallConst) \ 194 SC(call_const, V8.CallConst) \
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // Sliding state window counters. 305 // Sliding state window counters.
303 StatsCounter state_counters_[kSlidingStateWindowCounterCount]; 306 StatsCounter state_counters_[kSlidingStateWindowCounterCount];
304 friend class Isolate; 307 friend class Isolate;
305 308
306 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 309 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
307 }; 310 };
308 311
309 } } // namespace v8::internal 312 } } // namespace v8::internal
310 313
311 #endif // V8_V8_COUNTERS_H_ 314 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/type-info.cc ('k') | src/x64/ic-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698