| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index dfbcc701e6939f5a7215d19c9118f09440fe9121..96b2c6e5959861f952326baeef44de0620cd5133 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -1022,6 +1022,13 @@ class Heap {
|
| // Print short heap statistics.
|
| void PrintShortHeapStatistics();
|
|
|
| + size_t object_count_last_gc(size_t index) {
|
| + return index < OBJECT_STATS_COUNT ? object_counts_last_time_[index] : 0;
|
| + }
|
| + size_t object_size_last_gc(size_t index) {
|
| + return index < OBJECT_STATS_COUNT ? object_sizes_last_time_[index] : 0;
|
| + }
|
| +
|
| // Write barrier support for address[offset] = o.
|
| INLINE(void RecordWrite(Address address, int offset));
|
|
|
| @@ -1452,6 +1459,7 @@ class Heap {
|
| void TraceObjectStats();
|
| void TraceObjectStat(const char* name, int count, int size, double time);
|
| void CheckpointObjectStats();
|
| + const char* GetObjectTypeName(size_t index);
|
|
|
| void RegisterStrongRoots(Object** start, Object** end);
|
| void UnregisterStrongRoots(Object** start);
|
|
|