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

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

Issue 1480873003: Introduce instance type for transition arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix zapping Created 5 years 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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 // The linked list of all encountered weak maps is destroyed. 677 // The linked list of all encountered weak maps is destroyed.
678 void ClearWeakCollections(); 678 void ClearWeakCollections();
679 679
680 // We have to remove all encountered weak maps from the list of weak 680 // We have to remove all encountered weak maps from the list of weak
681 // collections when incremental marking is aborted. 681 // collections when incremental marking is aborted.
682 void AbortWeakCollections(); 682 void AbortWeakCollections();
683 683
684 void ProcessAndClearWeakCells(); 684 void ProcessAndClearWeakCells();
685 void AbortWeakCells(); 685 void AbortWeakCells();
686 686
687 void ProcessAndClearTransitionArrays();
688 void AbortTransitionArrays();
689
687 // After all reachable objects have been marked, those entries within 690 // After all reachable objects have been marked, those entries within
688 // optimized code maps that became unreachable are removed, potentially 691 // optimized code maps that became unreachable are removed, potentially
689 // trimming or clearing out the entire optimized code map. 692 // trimming or clearing out the entire optimized code map.
690 void ProcessAndClearOptimizedCodeMaps(); 693 void ProcessAndClearOptimizedCodeMaps();
691 694
692 // Process non-live references in maps and optimized code. 695 // Process non-live references in maps and optimized code.
693 void ProcessWeakReferences(); 696 void ProcessWeakReferences();
694 697
695 // ----------------------------------------------------------------------- 698 // -----------------------------------------------------------------------
696 // Phase 2: Sweeping to clear mark bits and free non-live objects for 699 // Phase 2: Sweeping to clear mark bits and free non-live objects for
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
865 private: 868 private:
866 MarkCompactCollector* collector_; 869 MarkCompactCollector* collector_;
867 }; 870 };
868 871
869 872
870 const char* AllocationSpaceName(AllocationSpace space); 873 const char* AllocationSpaceName(AllocationSpace space);
871 } // namespace internal 874 } // namespace internal
872 } // namespace v8 875 } // namespace v8
873 876
874 #endif // V8_HEAP_MARK_COMPACT_H_ 877 #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