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

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

Issue 4034002: Revert r5455 from bleeding_edge: attempt to collect more garbage... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 2 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 | « no previous file | 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. Returns true if any weak handle 98 // Process pending weak handles.
99 // callback has been invoked. 99 static void PostGarbageCollectionProcessing();
100 static bool PostGarbageCollectionProcessing();
101 100
102 // Iterates over all strong handles. 101 // Iterates over all strong handles.
103 static void IterateStrongRoots(ObjectVisitor* v); 102 static void IterateStrongRoots(ObjectVisitor* v);
104 103
105 // Iterates over all handles. 104 // Iterates over all handles.
106 static void IterateAllRoots(ObjectVisitor* v); 105 static void IterateAllRoots(ObjectVisitor* v);
107 106
108 // Iterates over all weak roots in heap. 107 // Iterates over all weak roots in heap.
109 static void IterateWeakRoots(ObjectVisitor* v); 108 static void IterateWeakRoots(ObjectVisitor* v);
110 109
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 static Node* first_deallocated() { return first_deallocated_; } 171 static Node* first_deallocated() { return first_deallocated_; }
173 static void set_first_deallocated(Node* value) { 172 static void set_first_deallocated(Node* value) {
174 first_deallocated_ = value; 173 first_deallocated_ = value;
175 } 174 }
176 }; 175 };
177 176
178 177
179 } } // namespace v8::internal 178 } } // namespace v8::internal
180 179
181 #endif // V8_GLOBAL_HANDLES_H_ 180 #endif // V8_GLOBAL_HANDLES_H_
OLDNEW
« no previous file with comments | « no previous file | src/global-handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698