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

Side by Side Diff: include/v8.h

Issue 1029323003: Track how many pages trigger fallback strategies in GC (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rename stack to deque Created 5 years, 9 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
« no previous file with comments | « no previous file | src/heap/mark-compact.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 5045 matching lines...) Expand 10 before | Expand all | Expand 10 after
5056 /** 5056 /**
5057 * Types of garbage collections that can be requested via 5057 * Types of garbage collections that can be requested via
5058 * RequestGarbageCollectionForTesting. 5058 * RequestGarbageCollectionForTesting.
5059 */ 5059 */
5060 enum GarbageCollectionType { 5060 enum GarbageCollectionType {
5061 kFullGarbageCollection, 5061 kFullGarbageCollection,
5062 kMinorGarbageCollection 5062 kMinorGarbageCollection
5063 }; 5063 };
5064 5064
5065 /** 5065 /**
5066 * Features reported via the SetUseCounterCallback callback. Do not chang 5066 * Features reported via the SetUseCounterCallback callback. Do not change
5067 * assigned numbers of existing items; add new features to the end of this 5067 * assigned numbers of existing items; add new features to the end of this
5068 * list. 5068 * list.
5069 */ 5069 */
5070 enum UseCounterFeature { 5070 enum UseCounterFeature {
5071 kUseAsm = 0, 5071 kUseAsm = 0,
5072 kBreakIterator = 1, 5072 kBreakIterator = 1,
5073 kLegacyConst = 2, 5073 kLegacyConst = 2,
5074 kMarkDequeOverflow = 3,
5075 kStoreBufferOverflow = 4,
5076 kSlotsBufferOverflow = 5,
5074 kUseCounterFeatureCount // This enum value must be last. 5077 kUseCounterFeatureCount // This enum value must be last.
5075 }; 5078 };
5076 5079
5077 typedef void (*UseCounterCallback)(Isolate* isolate, 5080 typedef void (*UseCounterCallback)(Isolate* isolate,
5078 UseCounterFeature feature); 5081 UseCounterFeature feature);
5079 5082
5080 5083
5081 /** 5084 /**
5082 * Creates a new isolate. Does not change the currently entered 5085 * Creates a new isolate. Does not change the currently entered
5083 * isolate. 5086 * isolate.
(...skipping 2893 matching lines...) Expand 10 before | Expand all | Expand 10 after
7977 */ 7980 */
7978 7981
7979 7982
7980 } // namespace v8 7983 } // namespace v8
7981 7984
7982 7985
7983 #undef TYPE_CHECK 7986 #undef TYPE_CHECK
7984 7987
7985 7988
7986 #endif // V8_H_ 7989 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/mark-compact.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698