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

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

Issue 256743004: Don't unlink evacuation candidates before sweeping, move them to the end of their list of pages. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | 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 // 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 900 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 NewSpacePage* p); 911 NewSpacePage* p);
912 912
913 void EvacuateNewSpace(); 913 void EvacuateNewSpace();
914 914
915 void EvacuateLiveObjectsFromPage(Page* p); 915 void EvacuateLiveObjectsFromPage(Page* p);
916 916
917 void EvacuatePages(); 917 void EvacuatePages();
918 918
919 void EvacuateNewSpaceAndCandidates(); 919 void EvacuateNewSpaceAndCandidates();
920 920
921 // Moves the pages of the evacuation_candidates_ list to the end of their
922 // corresponding space pages list.
923 void MoveEvacuationCandidatesToEndOfPagesList();
924
921 void SweepSpace(PagedSpace* space, SweeperType sweeper); 925 void SweepSpace(PagedSpace* space, SweeperType sweeper);
922 926
923 // Finalizes the parallel sweeping phase. Marks all the pages that were 927 // Finalizes the parallel sweeping phase. Marks all the pages that were
924 // swept in parallel. 928 // swept in parallel.
925 void ParallelSweepSpacesComplete(); 929 void ParallelSweepSpacesComplete();
926 930
927 void ParallelSweepSpaceComplete(PagedSpace* space); 931 void ParallelSweepSpaceComplete(PagedSpace* space);
928 932
929 #ifdef DEBUG 933 #ifdef DEBUG
930 friend class MarkObjectVisitor; 934 friend class MarkObjectVisitor;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1008 private: 1012 private:
1009 MarkCompactCollector* collector_; 1013 MarkCompactCollector* collector_;
1010 }; 1014 };
1011 1015
1012 1016
1013 const char* AllocationSpaceName(AllocationSpace space); 1017 const char* AllocationSpaceName(AllocationSpace space);
1014 1018
1015 } } // namespace v8::internal 1019 } } // namespace v8::internal
1016 1020
1017 #endif // V8_MARK_COMPACT_H_ 1021 #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