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

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

Issue 1900423002: [heap] Merge NewSpacePage into Page (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments Created 4 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 <deque> 8 #include <deque>
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after
855 MarkingDeque marking_deque_; 855 MarkingDeque marking_deque_;
856 std::vector<std::pair<void*, void*>> wrappers_to_trace_; 856 std::vector<std::pair<void*, void*>> wrappers_to_trace_;
857 857
858 CodeFlusher* code_flusher_; 858 CodeFlusher* code_flusher_;
859 859
860 EmbedderHeapTracer* embedder_heap_tracer_; 860 EmbedderHeapTracer* embedder_heap_tracer_;
861 861
862 bool have_code_to_deoptimize_; 862 bool have_code_to_deoptimize_;
863 863
864 List<Page*> evacuation_candidates_; 864 List<Page*> evacuation_candidates_;
865 List<NewSpacePage*> newspace_evacuation_candidates_; 865 List<Page*> newspace_evacuation_candidates_;
866 866
867 // True if we are collecting slots to perform evacuation from evacuation 867 // True if we are collecting slots to perform evacuation from evacuation
868 // candidates. 868 // candidates.
869 bool compacting_; 869 bool compacting_;
870 870
871 // Semaphore used to synchronize compaction tasks. 871 // Semaphore used to synchronize compaction tasks.
872 base::Semaphore pending_compaction_tasks_semaphore_; 872 base::Semaphore pending_compaction_tasks_semaphore_;
873 873
874 bool black_allocation_; 874 bool black_allocation_;
875 875
(...skipping 16 matching lines...) Expand all
892 private: 892 private:
893 MarkCompactCollector* collector_; 893 MarkCompactCollector* collector_;
894 }; 894 };
895 895
896 896
897 const char* AllocationSpaceName(AllocationSpace space); 897 const char* AllocationSpaceName(AllocationSpace space);
898 } // namespace internal 898 } // namespace internal
899 } // namespace v8 899 } // namespace v8
900 900
901 #endif // V8_HEAP_MARK_COMPACT_H_ 901 #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