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

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

Issue 2245133004: [heap] Add basic infrastructure for incremental wrapper tracing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix comment Created 4 years, 4 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 void RegisterWrappersWithEmbedderHeapTracer(); 493 void RegisterWrappersWithEmbedderHeapTracer();
494 494
495 void SetEmbedderHeapTracer(EmbedderHeapTracer* tracer); 495 void SetEmbedderHeapTracer(EmbedderHeapTracer* tracer);
496 496
497 EmbedderHeapTracer* embedder_heap_tracer() { return embedder_heap_tracer_; } 497 EmbedderHeapTracer* embedder_heap_tracer() { return embedder_heap_tracer_; }
498 498
499 bool UsingEmbedderHeapTracer() { return embedder_heap_tracer(); } 499 bool UsingEmbedderHeapTracer() { return embedder_heap_tracer(); }
500 500
501 void TracePossibleWrapper(JSObject* js_object); 501 void TracePossibleWrapper(JSObject* js_object);
502 502
503 void RegisterExternallyReferencedObject(Object** object);
504
505 private: 503 private:
506 class EvacuateNewSpacePageVisitor; 504 class EvacuateNewSpacePageVisitor;
507 class EvacuateNewSpaceVisitor; 505 class EvacuateNewSpaceVisitor;
508 class EvacuateOldSpaceVisitor; 506 class EvacuateOldSpaceVisitor;
509 class EvacuateRecordOnlyVisitor; 507 class EvacuateRecordOnlyVisitor;
510 class EvacuateVisitorBase; 508 class EvacuateVisitorBase;
511 class HeapObjectVisitor; 509 class HeapObjectVisitor;
512 class ObjectStatsVisitor; 510 class ObjectStatsVisitor;
513 511
514 explicit MarkCompactCollector(Heap* heap); 512 explicit MarkCompactCollector(Heap* heap);
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 private: 767 private:
770 MarkCompactCollector* collector_; 768 MarkCompactCollector* collector_;
771 }; 769 };
772 770
773 771
774 const char* AllocationSpaceName(AllocationSpace space); 772 const char* AllocationSpaceName(AllocationSpace space);
775 } // namespace internal 773 } // namespace internal
776 } // namespace v8 774 } // namespace v8
777 775
778 #endif // V8_HEAP_MARK_COMPACT_H_ 776 #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