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

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

Issue 1222013002: Concurrent sweeping of code space. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/heap/heap.cc ('k') | 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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 Heap* heap_; 963 Heap* heap_;
964 base::VirtualMemory* marking_deque_memory_; 964 base::VirtualMemory* marking_deque_memory_;
965 size_t marking_deque_memory_committed_; 965 size_t marking_deque_memory_committed_;
966 MarkingDeque marking_deque_; 966 MarkingDeque marking_deque_;
967 CodeFlusher* code_flusher_; 967 CodeFlusher* code_flusher_;
968 bool have_code_to_deoptimize_; 968 bool have_code_to_deoptimize_;
969 969
970 List<Page*> evacuation_candidates_; 970 List<Page*> evacuation_candidates_;
971 971
972 SmartPointer<FreeList> free_list_old_space_; 972 SmartPointer<FreeList> free_list_old_space_;
973 SmartPointer<FreeList> free_list_code_space_;
973 974
974 friend class Heap; 975 friend class Heap;
975 }; 976 };
976 977
977 978
978 class MarkBitCellIterator BASE_EMBEDDED { 979 class MarkBitCellIterator BASE_EMBEDDED {
979 public: 980 public:
980 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) { 981 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) {
981 last_cell_index_ = Bitmap::IndexToCell(Bitmap::CellAlignIndex( 982 last_cell_index_ = Bitmap::IndexToCell(Bitmap::CellAlignIndex(
982 chunk_->AddressToMarkbitIndex(chunk_->area_end()))); 983 chunk_->AddressToMarkbitIndex(chunk_->area_end())));
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 private: 1029 private:
1029 MarkCompactCollector* collector_; 1030 MarkCompactCollector* collector_;
1030 }; 1031 };
1031 1032
1032 1033
1033 const char* AllocationSpaceName(AllocationSpace space); 1034 const char* AllocationSpaceName(AllocationSpace space);
1034 } 1035 }
1035 } // namespace v8::internal 1036 } // namespace v8::internal
1036 1037
1037 #endif // V8_HEAP_MARK_COMPACT_H_ 1038 #endif // V8_HEAP_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698