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

Side by Side Diff: src/global-handles.h

Issue 3421009: Revision 2.4.4.... (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: '' Created 10 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/full-codegen.cc ('k') | src/global-handles.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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Clear the weakness of a global handle. 89 // Clear the weakness of a global handle.
90 static void ClearWeakness(Object** location); 90 static void ClearWeakness(Object** location);
91 91
92 // Tells whether global handle is near death. 92 // Tells whether global handle is near death.
93 static bool IsNearDeath(Object** location); 93 static bool IsNearDeath(Object** location);
94 94
95 // Tells whether global handle is weak. 95 // Tells whether global handle is weak.
96 static bool IsWeak(Object** location); 96 static bool IsWeak(Object** location);
97 97
98 // Process pending weak handles. 98 // Process pending weak handles. Returns true if any weak handle
99 static void PostGarbageCollectionProcessing(); 99 // callback has been invoked.
100 static bool PostGarbageCollectionProcessing();
100 101
101 // Iterates over all strong handles. 102 // Iterates over all strong handles.
102 static void IterateStrongRoots(ObjectVisitor* v); 103 static void IterateStrongRoots(ObjectVisitor* v);
103 104
104 // Iterates over all handles. 105 // Iterates over all handles.
105 static void IterateAllRoots(ObjectVisitor* v); 106 static void IterateAllRoots(ObjectVisitor* v);
106 107
107 // Iterates over all weak roots in heap. 108 // Iterates over all weak roots in heap.
108 static void IterateWeakRoots(ObjectVisitor* v); 109 static void IterateWeakRoots(ObjectVisitor* v);
109 110
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 static Node* first_deallocated() { return first_deallocated_; } 172 static Node* first_deallocated() { return first_deallocated_; }
172 static void set_first_deallocated(Node* value) { 173 static void set_first_deallocated(Node* value) {
173 first_deallocated_ = value; 174 first_deallocated_ = value;
174 } 175 }
175 }; 176 };
176 177
177 178
178 } } // namespace v8::internal 179 } } // namespace v8::internal
179 180
180 #endif // V8_GLOBAL_HANDLES_H_ 181 #endif // V8_GLOBAL_HANDLES_H_
OLDNEW
« no previous file with comments | « src/full-codegen.cc ('k') | src/global-handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698