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

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

Issue 6711027: [Isolates] Merge 7201:7258 from bleeding_edge to isolates. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: Created 9 years, 9 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
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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 void MarkRoots(RootMarkingVisitor* visitor); 278 void MarkRoots(RootMarkingVisitor* visitor);
279 279
280 // Mark the symbol table specially. References to symbols from the 280 // Mark the symbol table specially. References to symbols from the
281 // symbol table are weak. 281 // symbol table are weak.
282 void MarkSymbolTable(); 282 void MarkSymbolTable();
283 283
284 // Mark objects in object groups that have at least one object in the 284 // Mark objects in object groups that have at least one object in the
285 // group marked. 285 // group marked.
286 void MarkObjectGroups(); 286 void MarkObjectGroups();
287 287
288 // Mark all objects in an object group with at least one marked 288 // Mark objects in implicit references groups if their parent object
289 // object, then all objects reachable from marked objects in object 289 // is marked.
290 // groups, and repeat. 290 void MarkImplicitRefGroups();
291 void ProcessObjectGroups(); 291
292 // Mark all objects which are reachable due to host application
293 // logic like object groups or implicit references' groups.
294 void ProcessExternalMarking();
292 295
293 // Mark objects reachable (transitively) from objects in the marking stack 296 // Mark objects reachable (transitively) from objects in the marking stack
294 // or overflowed in the heap. 297 // or overflowed in the heap.
295 void ProcessMarkingStack(); 298 void ProcessMarkingStack();
296 299
297 // Mark objects reachable (transitively) from objects in the marking 300 // Mark objects reachable (transitively) from objects in the marking
298 // stack. This function empties the marking stack, but may leave 301 // stack. This function empties the marking stack, but may leave
299 // overflowed objects in the heap, in which case the marking stack's 302 // overflowed objects in the heap, in which case the marking stack's
300 // overflow flag will be set. 303 // overflow flag will be set.
301 void EmptyMarkingStack(); 304 void EmptyMarkingStack();
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 CodeFlusher* code_flusher_; 499 CodeFlusher* code_flusher_;
497 500
498 friend class Heap; 501 friend class Heap;
499 friend class OverflowedObjectsScanner; 502 friend class OverflowedObjectsScanner;
500 }; 503 };
501 504
502 505
503 } } // namespace v8::internal 506 } } // namespace v8::internal
504 507
505 #endif // V8_MARK_COMPACT_H_ 508 #endif // V8_MARK_COMPACT_H_
OLDNEW
« src/global-handles.cc ('K') | « src/ia32/stub-cache-ia32.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698