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

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

Issue 1226773003: Sweep map space concurrently. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | src/heap/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_HEAP_MARK_COMPACT_H_ 5 #ifndef V8_HEAP_MARK_COMPACT_H_
6 #define V8_HEAP_MARK_COMPACT_H_ 6 #define V8_HEAP_MARK_COMPACT_H_
7 7
8 #include "src/base/bits.h" 8 #include "src/base/bits.h"
9 #include "src/heap/spaces.h" 9 #include "src/heap/spaces.h"
10 10
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 size_t marking_deque_memory_committed_; 970 size_t marking_deque_memory_committed_;
971 MarkingDeque marking_deque_; 971 MarkingDeque marking_deque_;
972 CodeFlusher* code_flusher_; 972 CodeFlusher* code_flusher_;
973 bool have_code_to_deoptimize_; 973 bool have_code_to_deoptimize_;
974 974
975 List<Page*> evacuation_candidates_; 975 List<Page*> evacuation_candidates_;
976 List<Code*> invalidated_code_; 976 List<Code*> invalidated_code_;
977 977
978 base::SmartPointer<FreeList> free_list_old_space_; 978 base::SmartPointer<FreeList> free_list_old_space_;
979 base::SmartPointer<FreeList> free_list_code_space_; 979 base::SmartPointer<FreeList> free_list_code_space_;
980 base::SmartPointer<FreeList> free_list_map_space_;
980 981
981 friend class Heap; 982 friend class Heap;
982 }; 983 };
983 984
984 985
985 class MarkBitCellIterator BASE_EMBEDDED { 986 class MarkBitCellIterator BASE_EMBEDDED {
986 public: 987 public:
987 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) { 988 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) {
988 last_cell_index_ = Bitmap::IndexToCell(Bitmap::CellAlignIndex( 989 last_cell_index_ = Bitmap::IndexToCell(Bitmap::CellAlignIndex(
989 chunk_->AddressToMarkbitIndex(chunk_->area_end()))); 990 chunk_->AddressToMarkbitIndex(chunk_->area_end())));
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 private: 1036 private:
1036 MarkCompactCollector* collector_; 1037 MarkCompactCollector* collector_;
1037 }; 1038 };
1038 1039
1039 1040
1040 const char* AllocationSpaceName(AllocationSpace space); 1041 const char* AllocationSpaceName(AllocationSpace space);
1041 } 1042 }
1042 } // namespace v8::internal 1043 } // namespace v8::internal
1043 1044
1044 #endif // V8_HEAP_MARK_COMPACT_H_ 1045 #endif // V8_HEAP_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698