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

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

Issue 404743002: Remove parallel sweeping mode, it's no longer used (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/flag-definitions.h ('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 // 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 static inline bool IsMarked(Object* obj); 563 static inline bool IsMarked(Object* obj);
564 564
565 inline Heap* heap() const { return heap_; } 565 inline Heap* heap() const { return heap_; }
566 inline Isolate* isolate() const; 566 inline Isolate* isolate() const;
567 567
568 CodeFlusher* code_flusher() { return code_flusher_; } 568 CodeFlusher* code_flusher() { return code_flusher_; }
569 inline bool is_code_flushing_enabled() const { return code_flusher_ != NULL; } 569 inline bool is_code_flushing_enabled() const { return code_flusher_ != NULL; }
570 void EnableCodeFlushing(bool enable); 570 void EnableCodeFlushing(bool enable);
571 571
572 enum SweeperType { 572 enum SweeperType {
573 PARALLEL_CONSERVATIVE,
574 CONCURRENT_CONSERVATIVE, 573 CONCURRENT_CONSERVATIVE,
575 PRECISE 574 PRECISE
576 }; 575 };
577 576
578 enum SweepingParallelism { 577 enum SweepingParallelism {
579 SWEEP_ON_MAIN_THREAD, 578 SWEEP_ON_MAIN_THREAD,
580 SWEEP_IN_PARALLEL 579 SWEEP_IN_PARALLEL
581 }; 580 };
582 581
583 #ifdef VERIFY_HEAP 582 #ifdef VERIFY_HEAP
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 private: 984 private:
986 MarkCompactCollector* collector_; 985 MarkCompactCollector* collector_;
987 }; 986 };
988 987
989 988
990 const char* AllocationSpaceName(AllocationSpace space); 989 const char* AllocationSpaceName(AllocationSpace space);
991 990
992 } } // namespace v8::internal 991 } } // namespace v8::internal
993 992
994 #endif // V8_MARK_COMPACT_H_ 993 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698