| 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 5220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5231 * - kGCCallbackFlagCollectAllAvailableGarbage: The GC callback is called | 5231 * - kGCCallbackFlagCollectAllAvailableGarbage: The GC callback is called |
| 5232 * in a phase where V8 is trying to collect all available garbage | 5232 * in a phase where V8 is trying to collect all available garbage |
| 5233 * (e.g., handling a low memory notification). | 5233 * (e.g., handling a low memory notification). |
| 5234 */ | 5234 */ |
| 5235 enum GCCallbackFlags { | 5235 enum GCCallbackFlags { |
| 5236 kNoGCCallbackFlags = 0, | 5236 kNoGCCallbackFlags = 0, |
| 5237 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, | 5237 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, |
| 5238 kGCCallbackFlagForced = 1 << 2, | 5238 kGCCallbackFlagForced = 1 << 2, |
| 5239 kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3, | 5239 kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3, |
| 5240 kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, | 5240 kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, |
| 5241 kGCCallbackFlagCollectAllExternalMemory = 1 << 5, |
| 5241 }; | 5242 }; |
| 5242 | 5243 |
| 5243 typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); | 5244 typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); |
| 5244 | 5245 |
| 5245 typedef void (*InterruptCallback)(Isolate* isolate, void* data); | 5246 typedef void (*InterruptCallback)(Isolate* isolate, void* data); |
| 5246 | 5247 |
| 5247 | 5248 |
| 5248 /** | 5249 /** |
| 5249 * Collection of V8 heap information. | 5250 * Collection of V8 heap information. |
| 5250 * | 5251 * |
| (...skipping 3715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8966 */ | 8967 */ |
| 8967 | 8968 |
| 8968 | 8969 |
| 8969 } // namespace v8 | 8970 } // namespace v8 |
| 8970 | 8971 |
| 8971 | 8972 |
| 8972 #undef TYPE_CHECK | 8973 #undef TYPE_CHECK |
| 8973 | 8974 |
| 8974 | 8975 |
| 8975 #endif // INCLUDE_V8_H_ | 8976 #endif // INCLUDE_V8_H_ |
| OLD | NEW |