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

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

Issue 17546005: Deprecate one virtual marking visitor for mark-compact GC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/mark-compact.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 828
829 // Marks the object black assuming that it is not yet marked. 829 // Marks the object black assuming that it is not yet marked.
830 // This is for non-incremental marking only. 830 // This is for non-incremental marking only.
831 INLINE(void SetMark(HeapObject* obj, MarkBit mark_bit)); 831 INLINE(void SetMark(HeapObject* obj, MarkBit mark_bit));
832 832
833 // Mark the heap roots and all objects reachable from them. 833 // Mark the heap roots and all objects reachable from them.
834 void MarkRoots(RootMarkingVisitor* visitor); 834 void MarkRoots(RootMarkingVisitor* visitor);
835 835
836 // Mark the string table specially. References to internalized strings from 836 // Mark the string table specially. References to internalized strings from
837 // the string table are weak. 837 // the string table are weak.
838 void MarkStringTable(); 838 void MarkStringTable(RootMarkingVisitor* visitor);
839 839
840 // Mark objects in implicit references groups if their parent object 840 // Mark objects in implicit references groups if their parent object
841 // is marked. 841 // is marked.
842 void MarkImplicitRefGroups(); 842 void MarkImplicitRefGroups();
843 843
844 // Mark objects reachable (transitively) from objects in the marking stack 844 // Mark objects reachable (transitively) from objects in the marking stack
845 // or overflowed in the heap. 845 // or overflowed in the heap.
846 void ProcessMarkingDeque(); 846 void ProcessMarkingDeque();
847 847
848 // Mark objects reachable (transitively) from objects in the marking stack 848 // Mark objects reachable (transitively) from objects in the marking stack
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 private: 958 private:
959 MarkCompactCollector* collector_; 959 MarkCompactCollector* collector_;
960 }; 960 };
961 961
962 962
963 const char* AllocationSpaceName(AllocationSpace space); 963 const char* AllocationSpaceName(AllocationSpace space);
964 964
965 } } // namespace v8::internal 965 } } // namespace v8::internal
966 966
967 #endif // V8_MARK_COMPACT_H_ 967 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « no previous file | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698