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

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

Issue 304223002: Special case ConstantPoolArray in MarkCompactCollector::MigrateObject. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix typo Created 6 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') | src/mark-compact.cc » ('J')
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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_MARK_COMPACT_H_ 5 #ifndef V8_MARK_COMPACT_H_
6 #define V8_MARK_COMPACT_H_ 6 #define V8_MARK_COMPACT_H_
7 7
8 #include "src/compiler-intrinsics.h" 8 #include "src/compiler-intrinsics.h"
9 #include "src/spaces.h" 9 #include "src/spaces.h"
10 10
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 void MoveEvacuationCandidatesToEndOfPagesList(); 888 void MoveEvacuationCandidatesToEndOfPagesList();
889 889
890 void SweepSpace(PagedSpace* space, SweeperType sweeper); 890 void SweepSpace(PagedSpace* space, SweeperType sweeper);
891 891
892 // Finalizes the parallel sweeping phase. Marks all the pages that were 892 // Finalizes the parallel sweeping phase. Marks all the pages that were
893 // swept in parallel. 893 // swept in parallel.
894 void ParallelSweepSpacesComplete(); 894 void ParallelSweepSpacesComplete();
895 895
896 void ParallelSweepSpaceComplete(PagedSpace* space); 896 void ParallelSweepSpaceComplete(PagedSpace* space);
897 897
898 // Updates store buffer and slot buffer for a pointer in a migrating object.
899 void RecordMigratedSlot(Object* value, Address slot);
900
898 #ifdef DEBUG 901 #ifdef DEBUG
899 friend class MarkObjectVisitor; 902 friend class MarkObjectVisitor;
900 static void VisitObject(HeapObject* obj); 903 static void VisitObject(HeapObject* obj);
901 904
902 friend class UnmarkObjectVisitor; 905 friend class UnmarkObjectVisitor;
903 static void UnmarkObject(HeapObject* obj); 906 static void UnmarkObject(HeapObject* obj);
904 #endif 907 #endif
905 908
906 Heap* heap_; 909 Heap* heap_;
907 MarkingDeque marking_deque_; 910 MarkingDeque marking_deque_;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 private: 979 private:
977 MarkCompactCollector* collector_; 980 MarkCompactCollector* collector_;
978 }; 981 };
979 982
980 983
981 const char* AllocationSpaceName(AllocationSpace space); 984 const char* AllocationSpaceName(AllocationSpace space);
982 985
983 } } // namespace v8::internal 986 } } // namespace v8::internal
984 987
985 #endif // V8_MARK_COMPACT_H_ 988 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « no previous file | src/mark-compact.cc » ('j') | src/mark-compact.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698