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

Side by Side Diff: src/mark-compact.h

Issue 108003: Clean up comment. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 // is why we can use this field temporarily for back pointers. 168 // is why we can use this field temporarily for back pointers.
169 static void CreateBackPointers(); 169 static void CreateBackPointers();
170 170
171 // Mark a Map and its DescriptorArray together, skipping transitions. 171 // Mark a Map and its DescriptorArray together, skipping transitions.
172 static void MarkMapContents(Map* map); 172 static void MarkMapContents(Map* map);
173 static void MarkDescriptorArray(DescriptorArray* descriptors); 173 static void MarkDescriptorArray(DescriptorArray* descriptors);
174 174
175 // Mark the heap roots and all objects reachable from them. 175 // Mark the heap roots and all objects reachable from them.
176 static void MarkRoots(RootMarkingVisitor* visitor); 176 static void MarkRoots(RootMarkingVisitor* visitor);
177 177
178 // Mark the symbol table specially. References to symbols are weak. 178 // Mark the symbol table specially. References to symbols from the
179 // symbol table are weak.
179 static void MarkSymbolTable(); 180 static void MarkSymbolTable();
180 181
181 // Mark objects in object groups that have at least one object in the 182 // Mark objects in object groups that have at least one object in the
182 // group marked. 183 // group marked.
183 static void MarkObjectGroups(); 184 static void MarkObjectGroups();
184 185
185 // Mark all objects in an object group with at least one marked 186 // Mark all objects in an object group with at least one marked
186 // object, then all objects reachable from marked objects in object 187 // object, then all objects reachable from marked objects in object
187 // groups, and repeat. 188 // groups, and repeat.
188 static void ProcessObjectGroups(MarkingVisitor* visitor); 189 static void ProcessObjectGroups(MarkingVisitor* visitor);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 406
406 friend class UnmarkObjectVisitor; 407 friend class UnmarkObjectVisitor;
407 static void UnmarkObject(HeapObject* obj); 408 static void UnmarkObject(HeapObject* obj);
408 #endif 409 #endif
409 }; 410 };
410 411
411 412
412 } } // namespace v8::internal 413 } } // namespace v8::internal
413 414
414 #endif // V8_MARK_COMPACT_H_ 415 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698