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

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

Issue 2403423007: [heap] Reland concurrent slot filtering in sweeper threads. (Closed)
Patch Set: Created 4 years, 2 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 <deque> 8 #include <deque>
9 9
10 #include "src/base/bits.h" 10 #include "src/base/bits.h"
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 class EvacuateNewSpaceVisitor; 495 class EvacuateNewSpaceVisitor;
496 class EvacuateOldSpaceVisitor; 496 class EvacuateOldSpaceVisitor;
497 class EvacuateRecordOnlyVisitor; 497 class EvacuateRecordOnlyVisitor;
498 class EvacuateVisitorBase; 498 class EvacuateVisitorBase;
499 class HeapObjectVisitor; 499 class HeapObjectVisitor;
500 class ObjectStatsVisitor; 500 class ObjectStatsVisitor;
501 501
502 explicit MarkCompactCollector(Heap* heap); 502 explicit MarkCompactCollector(Heap* heap);
503 503
504 bool WillBeDeoptimized(Code* code); 504 bool WillBeDeoptimized(Code* code);
505 void ClearInvalidRememberedSetSlots();
506 505
507 void ComputeEvacuationHeuristics(int area_size, 506 void ComputeEvacuationHeuristics(int area_size,
508 int* target_fragmentation_percent, 507 int* target_fragmentation_percent,
509 int* max_evacuated_bytes); 508 int* max_evacuated_bytes);
510 509
511 void VisitAllObjects(HeapObjectVisitor* visitor); 510 void VisitAllObjects(HeapObjectVisitor* visitor);
512 511
513 void RecordObjectStats(); 512 void RecordObjectStats();
514 513
515 // Finishes GC, performs heap verification if enabled. 514 // Finishes GC, performs heap verification if enabled.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 752
754 private: 753 private:
755 MarkCompactCollector* collector_; 754 MarkCompactCollector* collector_;
756 }; 755 };
757 756
758 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); 757 V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space);
759 } // namespace internal 758 } // namespace internal
760 } // namespace v8 759 } // namespace v8
761 760
762 #endif // V8_HEAP_MARK_COMPACT_H_ 761 #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