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

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

Issue 1157393002: Version 4.3.61.26 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@4.3
Patch Set: Created 5 years, 6 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/flag-definitions.h ('k') | src/heap/heap.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_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 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 } 980 }
981 981
982 // Generated code can embed this address to get access to the roots. 982 // Generated code can embed this address to get access to the roots.
983 Object** roots_array_start() { return roots_; } 983 Object** roots_array_start() { return roots_; }
984 984
985 Address* store_buffer_top_address() { 985 Address* store_buffer_top_address() {
986 return reinterpret_cast<Address*>(&roots_[kStoreBufferTopRootIndex]); 986 return reinterpret_cast<Address*>(&roots_[kStoreBufferTopRootIndex]);
987 } 987 }
988 988
989 static bool RootIsImmortalImmovable(int root_index); 989 static bool RootIsImmortalImmovable(int root_index);
990 void CheckHandleCount();
990 991
991 #ifdef VERIFY_HEAP 992 #ifdef VERIFY_HEAP
992 // Verify the heap is in its normal state before or after a GC. 993 // Verify the heap is in its normal state before or after a GC.
993 void Verify(); 994 void Verify();
994 #endif 995 #endif
995 996
996 #ifdef DEBUG 997 #ifdef DEBUG
997 void Print(); 998 void Print();
998 void PrintHandles(); 999 void PrintHandles();
999 1000
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after
2640 DisallowHeapAllocation no_allocation; // i.e. no gc allowed. 2641 DisallowHeapAllocation no_allocation; // i.e. no gc allowed.
2641 2642
2642 private: 2643 private:
2643 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer); 2644 DISALLOW_IMPLICIT_CONSTRUCTORS(PathTracer);
2644 }; 2645 };
2645 #endif // DEBUG 2646 #endif // DEBUG
2646 } 2647 }
2647 } // namespace v8::internal 2648 } // namespace v8::internal
2648 2649
2649 #endif // V8_HEAP_HEAP_H_ 2650 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698