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

Side by Side Diff: src/heap.h

Issue 548149: Another step on the way to context snapshots. We can now refer to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 11 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/heap.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 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 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 #undef SYMBOL_ACCESSOR 683 #undef SYMBOL_ACCESSOR
684 684
685 // The hidden_symbol is special because it is the empty string, but does 685 // The hidden_symbol is special because it is the empty string, but does
686 // not match the empty string. 686 // not match the empty string.
687 static String* hidden_symbol() { return hidden_symbol_; } 687 static String* hidden_symbol() { return hidden_symbol_; }
688 688
689 // Iterates over all roots in the heap. 689 // Iterates over all roots in the heap.
690 static void IterateRoots(ObjectVisitor* v, VisitMode mode); 690 static void IterateRoots(ObjectVisitor* v, VisitMode mode);
691 // Iterates over all strong roots in the heap. 691 // Iterates over all strong roots in the heap.
692 static void IterateStrongRoots(ObjectVisitor* v, VisitMode mode); 692 static void IterateStrongRoots(ObjectVisitor* v, VisitMode mode);
693 // Iterates over all the other roots in the heap.
694 static void IterateWeakRoots(ObjectVisitor* v, VisitMode mode);
693 695
694 // Iterates remembered set of an old space. 696 // Iterates remembered set of an old space.
695 static void IterateRSet(PagedSpace* space, ObjectSlotCallback callback); 697 static void IterateRSet(PagedSpace* space, ObjectSlotCallback callback);
696 698
697 // Iterates a range of remembered set addresses starting with rset_start 699 // Iterates a range of remembered set addresses starting with rset_start
698 // corresponding to the range of allocated pointers 700 // corresponding to the range of allocated pointers
699 // [object_start, object_end). 701 // [object_start, object_end).
700 // Returns the number of bits that were set. 702 // Returns the number of bits that were set.
701 static int IterateRSetRange(Address object_start, 703 static int IterateRSetRange(Address object_start,
702 Address object_end, 704 Address object_end,
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 1696
1695 // To speed up scavenge collections new space string are kept 1697 // To speed up scavenge collections new space string are kept
1696 // separate from old space strings. 1698 // separate from old space strings.
1697 static List<Object*> new_space_strings_; 1699 static List<Object*> new_space_strings_;
1698 static List<Object*> old_space_strings_; 1700 static List<Object*> old_space_strings_;
1699 }; 1701 };
1700 1702
1701 } } // namespace v8::internal 1703 } } // namespace v8::internal
1702 1704
1703 #endif // V8_HEAP_H_ 1705 #endif // V8_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698