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

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

Issue 1051233002: Reland "Merge old data and pointer space." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/heap/incremental-marking.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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 Heap* heap_; 891 Heap* heap_;
892 base::VirtualMemory* marking_deque_memory_; 892 base::VirtualMemory* marking_deque_memory_;
893 bool marking_deque_memory_committed_; 893 bool marking_deque_memory_committed_;
894 MarkingDeque marking_deque_; 894 MarkingDeque marking_deque_;
895 CodeFlusher* code_flusher_; 895 CodeFlusher* code_flusher_;
896 bool have_code_to_deoptimize_; 896 bool have_code_to_deoptimize_;
897 897
898 List<Page*> evacuation_candidates_; 898 List<Page*> evacuation_candidates_;
899 List<Code*> invalidated_code_; 899 List<Code*> invalidated_code_;
900 900
901 SmartPointer<FreeList> free_list_old_data_space_; 901 SmartPointer<FreeList> free_list_old_space_;
902 SmartPointer<FreeList> free_list_old_pointer_space_;
903 902
904 friend class Heap; 903 friend class Heap;
905 }; 904 };
906 905
907 906
908 class MarkBitCellIterator BASE_EMBEDDED { 907 class MarkBitCellIterator BASE_EMBEDDED {
909 public: 908 public:
910 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) { 909 explicit MarkBitCellIterator(MemoryChunk* chunk) : chunk_(chunk) {
911 last_cell_index_ = Bitmap::IndexToCell(Bitmap::CellAlignIndex( 910 last_cell_index_ = Bitmap::IndexToCell(Bitmap::CellAlignIndex(
912 chunk_->AddressToMarkbitIndex(chunk_->area_end()))); 911 chunk_->AddressToMarkbitIndex(chunk_->area_end())));
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 private: 957 private:
959 MarkCompactCollector* collector_; 958 MarkCompactCollector* collector_;
960 }; 959 };
961 960
962 961
963 const char* AllocationSpaceName(AllocationSpace space); 962 const char* AllocationSpaceName(AllocationSpace space);
964 } 963 }
965 } // namespace v8::internal 964 } // namespace v8::internal
966 965
967 #endif // V8_HEAP_MARK_COMPACT_H_ 966 #endif // V8_HEAP_MARK_COMPACT_H_
OLDNEW
« no previous file with comments | « src/heap/incremental-marking.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698