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

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

Issue 3134027: Reapplying r5147 (caching maps for slow case objects).... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/stub-cache.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // lines) rather than one macro (of length about 80 lines) to work around 60 // lines) rather than one macro (of length about 80 lines) to work around
61 // this problem. Please avoid using recursive macros of this length when 61 // this problem. Please avoid using recursive macros of this length when
62 // possible. 62 // possible.
63 #define STATS_COUNTER_LIST_1(SC) \ 63 #define STATS_COUNTER_LIST_1(SC) \
64 /* Global Handle Count*/ \ 64 /* Global Handle Count*/ \
65 SC(global_handles, V8.GlobalHandles) \ 65 SC(global_handles, V8.GlobalHandles) \
66 /* Mallocs from PCRE */ \ 66 /* Mallocs from PCRE */ \
67 SC(pcre_mallocs, V8.PcreMallocCount) \ 67 SC(pcre_mallocs, V8.PcreMallocCount) \
68 /* OS Memory allocated */ \ 68 /* OS Memory allocated */ \
69 SC(memory_allocated, V8.OsMemoryAllocated) \ 69 SC(memory_allocated, V8.OsMemoryAllocated) \
70 SC(normalized_maps, V8.NormalizedMaps) \
70 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \ 71 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \
71 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \ 72 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \
72 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ 73 SC(alive_after_last_gc, V8.AliveAfterLastGC) \
73 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ 74 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \
74 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ 75 SC(objs_since_last_full, V8.ObjsSinceLastFull) \
75 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ 76 SC(symbol_table_capacity, V8.SymbolTableCapacity) \
76 SC(number_of_symbols, V8.NumberOfSymbols) \ 77 SC(number_of_symbols, V8.NumberOfSymbols) \
77 SC(script_wrappers, V8.ScriptWrappers) \ 78 SC(script_wrappers, V8.ScriptWrappers) \
78 SC(call_initialize_stubs, V8.CallInitializeStubs) \ 79 SC(call_initialize_stubs, V8.CallInitializeStubs) \
79 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ 80 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 stats_counter_count 247 stats_counter_count
247 }; 248 };
248 249
249 // Sliding state window counters. 250 // Sliding state window counters.
250 static StatsCounter state_counters[]; 251 static StatsCounter state_counters[];
251 }; 252 };
252 253
253 } } // namespace v8::internal 254 } } // namespace v8::internal
254 255
255 #endif // V8_V8_COUNTERS_H_ 256 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698