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

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

Issue 25260003: Remove parallel marking support. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 | « src/isolate.cc ('k') | 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 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 bool IsConcurrentSweepingInProgress(); 728 bool IsConcurrentSweepingInProgress();
729 729
730 void set_sequential_sweeping(bool sequential_sweeping) { 730 void set_sequential_sweeping(bool sequential_sweeping) {
731 sequential_sweeping_ = sequential_sweeping; 731 sequential_sweeping_ = sequential_sweeping;
732 } 732 }
733 733
734 bool sequential_sweeping() const { 734 bool sequential_sweeping() const {
735 return sequential_sweeping_; 735 return sequential_sweeping_;
736 } 736 }
737 737
738 // Parallel marking support.
739 void MarkInParallel();
740
741 void WaitUntilMarkingCompleted();
742
743 private: 738 private:
744 MarkCompactCollector(); 739 MarkCompactCollector();
745 ~MarkCompactCollector(); 740 ~MarkCompactCollector();
746 741
747 bool MarkInvalidatedCode(); 742 bool MarkInvalidatedCode();
748 bool WillBeDeoptimized(Code* code); 743 bool WillBeDeoptimized(Code* code);
749 void RemoveDeadInvalidatedCode(); 744 void RemoveDeadInvalidatedCode();
750 void ProcessInvalidatedCode(ObjectVisitor* visitor); 745 void ProcessInvalidatedCode(ObjectVisitor* visitor);
751 746
752 void UnlinkEvacuationCandidates(); 747 void UnlinkEvacuationCandidates();
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 private: 1011 private:
1017 MarkCompactCollector* collector_; 1012 MarkCompactCollector* collector_;
1018 }; 1013 };
1019 1014
1020 1015
1021 const char* AllocationSpaceName(AllocationSpace space); 1016 const char* AllocationSpaceName(AllocationSpace space);
1022 1017
1023 } } // namespace v8::internal 1018 } } // namespace v8::internal
1024 1019
1025 #endif // V8_MARK_COMPACT_H_ 1020 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698