| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index 46ec6cf660f841ffde53d4a47d1298c4ed217afa..c7597923441d2da78918dc3f795b276a4bdb6175 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -486,6 +486,9 @@ class Heap {
|
| // Returns the amount of executable memory currently committed for the heap.
|
| intptr_t CommittedMemoryExecutable();
|
|
|
| + // Returns the amount of phyical memory currently committed for the heap.
|
| + size_t CommittedPhysicalMemory();
|
| +
|
| // Returns the available bytes in space w/o growing.
|
| // Heap doesn't guarantee that it can allocate an object that requires
|
| // all available bytes. Check MaxHeapObjectSize() instead.
|
|
|