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

Side by Side Diff: include/v8.h

Issue 104023011: Introduce kGCCallbackForced flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/extensions/gc-extension.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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4093 matching lines...) Expand 10 before | Expand all | Expand 10 after
4104 */ 4104 */
4105 enum GCType { 4105 enum GCType {
4106 kGCTypeScavenge = 1 << 0, 4106 kGCTypeScavenge = 1 << 0,
4107 kGCTypeMarkSweepCompact = 1 << 1, 4107 kGCTypeMarkSweepCompact = 1 << 1,
4108 kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact 4108 kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact
4109 }; 4109 };
4110 4110
4111 enum GCCallbackFlags { 4111 enum GCCallbackFlags {
4112 kNoGCCallbackFlags = 0, 4112 kNoGCCallbackFlags = 0,
4113 kGCCallbackFlagCompacted = 1 << 0, 4113 kGCCallbackFlagCompacted = 1 << 0,
4114 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1 4114 kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1,
4115 kGCCallbackForced = 1 << 2
Michael Starzinger 2014/01/07 13:44:40 nit: Sticking with the naming convention of the ot
Vyacheslav Egorov (Google) 2014/01/13 10:44:17 Done.
4115 }; 4116 };
4116 4117
4117 typedef void (*GCPrologueCallback)(GCType type, GCCallbackFlags flags); 4118 typedef void (*GCPrologueCallback)(GCType type, GCCallbackFlags flags);
4118 typedef void (*GCEpilogueCallback)(GCType type, GCCallbackFlags flags); 4119 typedef void (*GCEpilogueCallback)(GCType type, GCCallbackFlags flags);
4119 4120
4120 4121
4121 /** 4122 /**
4122 * Collection of V8 heap information. 4123 * Collection of V8 heap information.
4123 * 4124 *
4124 * Instances of this class can be passed to v8::V8::HeapStatistics to 4125 * Instances of this class can be passed to v8::V8::HeapStatistics to
(...skipping 2634 matching lines...) Expand 10 before | Expand all | Expand 10 after
6759 */ 6760 */
6760 6761
6761 6762
6762 } // namespace v8 6763 } // namespace v8
6763 6764
6764 6765
6765 #undef TYPE_CHECK 6766 #undef TYPE_CHECK
6766 6767
6767 6768
6768 #endif // V8_H_ 6769 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/extensions/gc-extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698