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

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

Issue 2111133002: Version 5.2.361.32 (cherry-pick) (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.2
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 | « include/v8-version.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 #include <map> 9 #include <map>
10 10
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1382 void TracePathToObject(Object* target); 1382 void TracePathToObject(Object* target);
1383 void TracePathToGlobal(); 1383 void TracePathToGlobal();
1384 1384
1385 void Print(); 1385 void Print();
1386 void PrintHandles(); 1386 void PrintHandles();
1387 1387
1388 // Report heap statistics. 1388 // Report heap statistics.
1389 void ReportHeapStatistics(const char* title); 1389 void ReportHeapStatistics(const char* title);
1390 void ReportCodeStatistics(const char* title); 1390 void ReportCodeStatistics(const char* title);
1391 #endif 1391 #endif
1392 #ifdef ENABLE_SLOW_DCHECKS
1393 int CountHandlesForObject(Object* object);
1394 #endif
1395 1392
1396 private: 1393 private:
1397 class PretenuringScope; 1394 class PretenuringScope;
1398 1395
1399 // External strings table is a place where all external strings are 1396 // External strings table is a place where all external strings are
1400 // registered. We need to keep track of such strings to properly 1397 // registered. We need to keep track of such strings to properly
1401 // finalize them. 1398 // finalize them.
1402 class ExternalStringTable { 1399 class ExternalStringTable {
1403 public: 1400 public:
1404 // Registers an external string. 1401 // Registers an external string.
(...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 friend class LargeObjectSpace; 2644 friend class LargeObjectSpace;
2648 friend class NewSpace; 2645 friend class NewSpace;
2649 friend class PagedSpace; 2646 friend class PagedSpace;
2650 DISALLOW_COPY_AND_ASSIGN(AllocationObserver); 2647 DISALLOW_COPY_AND_ASSIGN(AllocationObserver);
2651 }; 2648 };
2652 2649
2653 } // namespace internal 2650 } // namespace internal
2654 } // namespace v8 2651 } // namespace v8
2655 2652
2656 #endif // V8_HEAP_HEAP_H_ 2653 #endif // V8_HEAP_HEAP_H_
OLDNEW
« no previous file with comments | « include/v8-version.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698