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 5940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5951 * in a phase where V8 is trying to collect all available garbage | 5951 * in a phase where V8 is trying to collect all available garbage |
5952 * (e.g., handling a low memory notification). | 5952 * (e.g., handling a low memory notification). |
5953 */ | 5953 */ |
5954 enum GCCallbackFlags { | 5954 enum GCCallbackFlags { |
5955 kNoGCCallbackFlags = 0, | 5955 kNoGCCallbackFlags = 0, |
5956 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, | 5956 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, |
5957 kGCCallbackFlagForced = 1 << 2, | 5957 kGCCallbackFlagForced = 1 << 2, |
5958 kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3, | 5958 kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3, |
5959 kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, | 5959 kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, |
5960 kGCCallbackFlagCollectAllExternalMemory = 1 << 5, | 5960 kGCCallbackFlagCollectAllExternalMemory = 1 << 5, |
5961 kGCCallbackFlagDisableObjectGrouping = 1 << 6, | |
ulan
2017/03/30 16:24:29
This is needed to disable object grouping in incre
| |
5961 }; | 5962 }; |
5962 | 5963 |
5963 typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); | 5964 typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); |
5964 | 5965 |
5965 typedef void (*InterruptCallback)(Isolate* isolate, void* data); | 5966 typedef void (*InterruptCallback)(Isolate* isolate, void* data); |
5966 | 5967 |
5967 | 5968 |
5968 /** | 5969 /** |
5969 * Collection of V8 heap information. | 5970 * Collection of V8 heap information. |
5970 * | 5971 * |
(...skipping 3860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
9831 */ | 9832 */ |
9832 | 9833 |
9833 | 9834 |
9834 } // namespace v8 | 9835 } // namespace v8 |
9835 | 9836 |
9836 | 9837 |
9837 #undef TYPE_CHECK | 9838 #undef TYPE_CHECK |
9838 | 9839 |
9839 | 9840 |
9840 #endif // INCLUDE_V8_H_ | 9841 #endif // INCLUDE_V8_H_ |
OLD | NEW |