| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index d26c38476acf699adb70146d69f719a611d9bfd0..619ef713b00e106ff5aa1e595a193810be68f99a 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -521,6 +521,9 @@ class Heap {
|
| intptr_t MaxOldGenerationSize() { return max_old_generation_size_; }
|
| intptr_t MaxExecutableSize() { return max_executable_size_; }
|
|
|
| + int gc_count() { return gc_count_; }
|
| + Address gc_count_address() { return reinterpret_cast<Address>(&gc_count_); }
|
| +
|
| // Returns the capacity of the heap in bytes w/o growing. Heap grows when
|
| // more spaces are needed until it reaches the limit.
|
| intptr_t Capacity();
|
|
|