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

Side by Side Diff: src/heap/heap.h

Issue 1441453002: Avoid manual object's body traversal in GC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed comments + removed HeapObject::ContentType() Created 5 years, 1 month 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/heap.cc » ('j') | src/heap/spaces.cc » ('J')
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_HEAP_H_ 5 #ifndef V8_HEAP_HEAP_H_
6 #define V8_HEAP_HEAP_H_ 6 #define V8_HEAP_HEAP_H_
7 7
8 #include <cmath> 8 #include <cmath>
9 #include <map> 9 #include <map>
10 10
(...skipping 2338 matching lines...) Expand 10 before | Expand all | Expand 10 after
2349 2349
2350 ArrayBufferTracker* array_buffer_tracker_; 2350 ArrayBufferTracker* array_buffer_tracker_;
2351 2351
2352 // Classes in "heap" can be friends. 2352 // Classes in "heap" can be friends.
2353 friend class AlwaysAllocateScope; 2353 friend class AlwaysAllocateScope;
2354 friend class GCCallbacksScope; 2354 friend class GCCallbacksScope;
2355 friend class GCTracer; 2355 friend class GCTracer;
2356 friend class HeapIterator; 2356 friend class HeapIterator;
2357 friend class IdleScavengeObserver; 2357 friend class IdleScavengeObserver;
2358 friend class IncrementalMarking; 2358 friend class IncrementalMarking;
2359 friend class IteratePointersToFromSpaceVisitor;
2359 friend class MarkCompactCollector; 2360 friend class MarkCompactCollector;
2360 friend class MarkCompactMarkingVisitor; 2361 friend class MarkCompactMarkingVisitor;
2361 friend class NewSpace; 2362 friend class NewSpace;
2362 friend class ObjectStatsVisitor; 2363 friend class ObjectStatsVisitor;
2363 friend class Page; 2364 friend class Page;
2364 friend class Scavenger; 2365 friend class Scavenger;
2365 friend class StoreBuffer; 2366 friend class StoreBuffer;
2366 2367
2367 // The allocator interface. 2368 // The allocator interface.
2368 friend class Factory; 2369 friend class Factory;
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
2720 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2721 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2721 2722
2722 private: 2723 private:
2723 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2724 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2724 }; 2725 };
2725 #endif // DEBUG 2726 #endif // DEBUG
2726 } // namespace internal 2727 } // namespace internal
2727 } // namespace v8 2728 } // namespace v8
2728 2729
2729 #endif // V8_HEAP_HEAP_H_ 2730 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « no previous file | src/heap/heap.cc » ('j') | src/heap/spaces.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698