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

Side by Side Diff: include/v8.h

Issue 1287323002: [api] Do not force external GCs when only trying to synchronously process phantom callbacks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: forced flag still forced synchronous processing Created 5 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/api.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 4947 matching lines...) Expand 10 before | Expand all | Expand 10 after
4958 * such operations will result in the allocation of objects. 4958 * such operations will result in the allocation of objects.
4959 */ 4959 */
4960 enum GCType { 4960 enum GCType {
4961 kGCTypeScavenge = 1 << 0, 4961 kGCTypeScavenge = 1 << 0,
4962 kGCTypeMarkSweepCompact = 1 << 1, 4962 kGCTypeMarkSweepCompact = 1 << 1,
4963 kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact 4963 kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact
4964 }; 4964 };
4965 4965
4966 enum GCCallbackFlags { 4966 enum GCCallbackFlags {
4967 kNoGCCallbackFlags = 0, 4967 kNoGCCallbackFlags = 0,
4968 kGCCallbackFlagCompacted = 1 << 0,
4969 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1, 4968 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1,
4970 kGCCallbackFlagForced = 1 << 2 4969 kGCCallbackFlagForced = 1 << 2,
4970 kGCCallbackFlagSynchronousPhantomCallbackProcessing = 1 << 3
4971 }; 4971 };
4972 4972
4973 typedef void (*GCPrologueCallback)(GCType type, GCCallbackFlags flags); 4973 typedef void (*GCPrologueCallback)(GCType type, GCCallbackFlags flags);
4974 typedef void (*GCEpilogueCallback)(GCType type, GCCallbackFlags flags); 4974 typedef void (*GCEpilogueCallback)(GCType type, GCCallbackFlags flags);
4975 4975
4976 typedef void (*InterruptCallback)(Isolate* isolate, void* data); 4976 typedef void (*InterruptCallback)(Isolate* isolate, void* data);
4977 4977
4978 4978
4979 /** 4979 /**
4980 * Collection of V8 heap information. 4980 * Collection of V8 heap information.
(...skipping 3336 matching lines...) Expand 10 before | Expand all | Expand 10 after
8317 */ 8317 */
8318 8318
8319 8319
8320 } // namespace v8 8320 } // namespace v8
8321 8321
8322 8322
8323 #undef TYPE_CHECK 8323 #undef TYPE_CHECK
8324 8324
8325 8325
8326 #endif // V8_H_ 8326 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698