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

Side by Side Diff: include/v8.h

Issue 2235653002: Add kGCCallbackFlagCollectAllExternalMemory (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/heap.cc » ('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 5220 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698