Chromium Code Reviews| 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 5077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5088 kGCTypeProcessWeakCallbacks = 1 << 3, | 5088 kGCTypeProcessWeakCallbacks = 1 << 3, |
| 5089 kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact | | 5089 kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact | |
| 5090 kGCTypeIncrementalMarking | kGCTypeProcessWeakCallbacks | 5090 kGCTypeIncrementalMarking | kGCTypeProcessWeakCallbacks |
| 5091 }; | 5091 }; |
| 5092 | 5092 |
| 5093 enum GCCallbackFlags { | 5093 enum GCCallbackFlags { |
| 5094 kNoGCCallbackFlags = 0, | 5094 kNoGCCallbackFlags = 0, |
| 5095 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, | 5095 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, |
| 5096 kGCCallbackFlagForced = 1 << 2, | 5096 kGCCallbackFlagForced = 1 << 2, |
| 5097 kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3 | 5097 kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3 |
| 5098 kGCCallbackFlagCollectAllAvailableGarbage = 1 << 4, | |
|
jochen (gone - plz use gerrit)
2016/03/04 11:51:35
can you document the difference between forced and
| |
| 5098 }; | 5099 }; |
| 5099 | 5100 |
| 5100 typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); | 5101 typedef void (*GCCallback)(GCType type, GCCallbackFlags flags); |
| 5101 | 5102 |
| 5102 typedef void (*InterruptCallback)(Isolate* isolate, void* data); | 5103 typedef void (*InterruptCallback)(Isolate* isolate, void* data); |
| 5103 | 5104 |
| 5104 | 5105 |
| 5105 /** | 5106 /** |
| 5106 * Collection of V8 heap information. | 5107 * Collection of V8 heap information. |
| 5107 * | 5108 * |
| (...skipping 3485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8593 */ | 8594 */ |
| 8594 | 8595 |
| 8595 | 8596 |
| 8596 } // namespace v8 | 8597 } // namespace v8 |
| 8597 | 8598 |
| 8598 | 8599 |
| 8599 #undef TYPE_CHECK | 8600 #undef TYPE_CHECK |
| 8600 | 8601 |
| 8601 | 8602 |
| 8602 #endif // INCLUDE_V8_H_ | 8603 #endif // INCLUDE_V8_H_ |
| OLD | NEW |