OLD | NEW |
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 5055 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5066 /** | 5066 /** |
5067 * Types of garbage collections that can be requested via | 5067 * Types of garbage collections that can be requested via |
5068 * RequestGarbageCollectionForTesting. | 5068 * RequestGarbageCollectionForTesting. |
5069 */ | 5069 */ |
5070 enum GarbageCollectionType { | 5070 enum GarbageCollectionType { |
5071 kFullGarbageCollection, | 5071 kFullGarbageCollection, |
5072 kMinorGarbageCollection | 5072 kMinorGarbageCollection |
5073 }; | 5073 }; |
5074 | 5074 |
5075 /** | 5075 /** |
5076 * Features reported via the SetUseCounterCallback callback. Do not chang | 5076 * Features reported via the SetUseCounterCallback callback. Do not change |
5077 * assigned numbers of existing items; add new features to the end of this | 5077 * assigned numbers of existing items; add new features to the end of this |
5078 * list. | 5078 * list. |
5079 */ | 5079 */ |
5080 enum UseCounterFeature { | 5080 enum UseCounterFeature { |
5081 kUseAsm = 0, | 5081 kUseAsm = 0, |
5082 kBreakIterator = 1, | 5082 kBreakIterator = 1, |
5083 kLegacyConst = 2, | 5083 kLegacyConst = 2, |
| 5084 kMarkDequeOverflow = 3, |
| 5085 kStoreBufferOverflow = 4, |
| 5086 kSlotsBufferOverflow = 5, |
5084 kUseCounterFeatureCount // This enum value must be last. | 5087 kUseCounterFeatureCount // This enum value must be last. |
5085 }; | 5088 }; |
5086 | 5089 |
5087 typedef void (*UseCounterCallback)(Isolate* isolate, | 5090 typedef void (*UseCounterCallback)(Isolate* isolate, |
5088 UseCounterFeature feature); | 5091 UseCounterFeature feature); |
5089 | 5092 |
5090 | 5093 |
5091 /** | 5094 /** |
5092 * Creates a new isolate. Does not change the currently entered | 5095 * Creates a new isolate. Does not change the currently entered |
5093 * isolate. | 5096 * isolate. |
(...skipping 2900 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7994 */ | 7997 */ |
7995 | 7998 |
7996 | 7999 |
7997 } // namespace v8 | 8000 } // namespace v8 |
7998 | 8001 |
7999 | 8002 |
8000 #undef TYPE_CHECK | 8003 #undef TYPE_CHECK |
8001 | 8004 |
8002 | 8005 |
8003 #endif // V8_H_ | 8006 #endif // V8_H_ |
OLD | NEW |