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

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

Issue 254603002: Remove lazy sweeping. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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/incremental-marking.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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 587
588 inline Heap* heap() const { return heap_; } 588 inline Heap* heap() const { return heap_; }
589 inline Isolate* isolate() const; 589 inline Isolate* isolate() const;
590 590
591 CodeFlusher* code_flusher() { return code_flusher_; } 591 CodeFlusher* code_flusher() { return code_flusher_; }
592 inline bool is_code_flushing_enabled() const { return code_flusher_ != NULL; } 592 inline bool is_code_flushing_enabled() const { return code_flusher_ != NULL; }
593 void EnableCodeFlushing(bool enable); 593 void EnableCodeFlushing(bool enable);
594 594
595 enum SweeperType { 595 enum SweeperType {
596 CONSERVATIVE, 596 CONSERVATIVE,
597 LAZY_CONSERVATIVE,
598 PARALLEL_CONSERVATIVE, 597 PARALLEL_CONSERVATIVE,
599 CONCURRENT_CONSERVATIVE, 598 CONCURRENT_CONSERVATIVE,
600 PRECISE 599 PRECISE
601 }; 600 };
602 601
603 enum SweepingParallelism { 602 enum SweepingParallelism {
604 SWEEP_SEQUENTIALLY, 603 SWEEP_SEQUENTIALLY,
605 SWEEP_IN_PARALLEL 604 SWEEP_IN_PARALLEL
606 }; 605 };
607 606
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
1009 private: 1008 private:
1010 MarkCompactCollector* collector_; 1009 MarkCompactCollector* collector_;
1011 }; 1010 };
1012 1011
1013 1012
1014 const char* AllocationSpaceName(AllocationSpace space); 1013 const char* AllocationSpaceName(AllocationSpace space);
1015 1014
1016 } } // namespace v8::internal 1015 } } // namespace v8::internal
1017 1016
1018 #endif // V8_MARK_COMPACT_H_ 1017 #endif // V8_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/incremental-marking.cc ('k') | src/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698