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

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

Issue 3087001: Revert r5147 due to failing assert, with no simple solution. Issue 808. (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/objects-inl.h ('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) \
71 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \ 70 SC(props_to_dictionary, V8.ObjectPropertiesToDictionary) \
72 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \ 71 SC(elements_to_dictionary, V8.ObjectElementsToDictionary) \
73 SC(alive_after_last_gc, V8.AliveAfterLastGC) \ 72 SC(alive_after_last_gc, V8.AliveAfterLastGC) \
74 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \ 73 SC(objs_since_last_young, V8.ObjsSinceLastYoung) \
75 SC(objs_since_last_full, V8.ObjsSinceLastFull) \ 74 SC(objs_since_last_full, V8.ObjsSinceLastFull) \
76 SC(symbol_table_capacity, V8.SymbolTableCapacity) \ 75 SC(symbol_table_capacity, V8.SymbolTableCapacity) \
77 SC(number_of_symbols, V8.NumberOfSymbols) \ 76 SC(number_of_symbols, V8.NumberOfSymbols) \
78 SC(script_wrappers, V8.ScriptWrappers) \ 77 SC(script_wrappers, V8.ScriptWrappers) \
79 SC(call_initialize_stubs, V8.CallInitializeStubs) \ 78 SC(call_initialize_stubs, V8.CallInitializeStubs) \
80 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \ 79 SC(call_premonomorphic_stubs, V8.CallPreMonomorphicStubs) \
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 stats_counter_count 241 stats_counter_count
243 }; 242 };
244 243
245 // Sliding state window counters. 244 // Sliding state window counters.
246 static StatsCounter state_counters[]; 245 static StatsCounter state_counters[];
247 }; 246 };
248 247
249 } } // namespace v8::internal 248 } } // namespace v8::internal
250 249
251 #endif // V8_V8_COUNTERS_H_ 250 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698