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

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

Issue 2140163002: Revert of making heap verification more aggressive (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/factory.cc ('k') | src/objects.h » ('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_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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 struct Entry* rear_; 434 struct Entry* rear_;
435 struct Entry* limit_; 435 struct Entry* limit_;
436 436
437 List<Entry>* emergency_stack_; 437 List<Entry>* emergency_stack_;
438 438
439 Heap* heap_; 439 Heap* heap_;
440 440
441 DISALLOW_COPY_AND_ASSIGN(PromotionQueue); 441 DISALLOW_COPY_AND_ASSIGN(PromotionQueue);
442 }; 442 };
443 443
444
444 enum ArrayStorageAllocationMode { 445 enum ArrayStorageAllocationMode {
445 DONT_INITIALIZE_ARRAY_ELEMENTS, 446 DONT_INITIALIZE_ARRAY_ELEMENTS,
446 INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE, 447 INITIALIZE_ARRAY_ELEMENTS_WITH_HOLE
447 INITIALIZE_ARRAY_ELEMENTS_WITH_UNDEFINED
448 }; 448 };
449 449
450 enum class ClearRecordedSlots { kYes, kNo }; 450 enum class ClearRecordedSlots { kYes, kNo };
451 451
452 class Heap { 452 class Heap {
453 public: 453 public:
454 // Declare all the root indices. This defines the root list order. 454 // Declare all the root indices. This defines the root list order.
455 enum RootListIndex { 455 enum RootListIndex {
456 #define ROOT_INDEX_DECLARATION(type, name, camel_name) k##camel_name##RootIndex, 456 #define ROOT_INDEX_DECLARATION(type, name, camel_name) k##camel_name##RootIndex,
457 STRONG_ROOT_LIST(ROOT_INDEX_DECLARATION) 457 STRONG_ROOT_LIST(ROOT_INDEX_DECLARATION)
(...skipping 2234 matching lines...) Expand 10 before | Expand all | Expand 10 after
2692 friend class LargeObjectSpace; 2692 friend class LargeObjectSpace;
2693 friend class NewSpace; 2693 friend class NewSpace;
2694 friend class PagedSpace; 2694 friend class PagedSpace;
2695 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2695 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2696 }; 2696 };
2697 2697
2698 } // namespace internal 2698 } // namespace internal
2699 } // namespace v8 2699 } // namespace v8
2700 2700
2701 #endif // V8_HEAP_HEAP_H_ 2701 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698