| Index: src/heap.cc
 | 
| diff --git a/src/heap.cc b/src/heap.cc
 | 
| index d5d1128e49affbfb251df6c441f1dbc41e01eb70..2818d417c16e849b85af5473d43535227bb35cfc 100644
 | 
| --- a/src/heap.cc
 | 
| +++ b/src/heap.cc
 | 
| @@ -211,6 +211,20 @@ intptr_t Heap::CommittedMemory() {
 | 
|        lo_space_->Size();
 | 
|  }
 | 
|  
 | 
| +
 | 
| +size_t Heap::CommittedPhysicalMemory() {
 | 
| +  if (!HasBeenSetUp()) return 0;
 | 
| +
 | 
| +  return new_space_.CommittedPhysicalMemory() +
 | 
| +      old_pointer_space_->CommittedPhysicalMemory() +
 | 
| +      old_data_space_->CommittedPhysicalMemory() +
 | 
| +      code_space_->CommittedPhysicalMemory() +
 | 
| +      map_space_->CommittedPhysicalMemory() +
 | 
| +      cell_space_->CommittedPhysicalMemory() +
 | 
| +      lo_space_->CommittedPhysicalMemory();
 | 
| +}
 | 
| +
 | 
| +
 | 
|  intptr_t Heap::CommittedMemoryExecutable() {
 | 
|    if (!HasBeenSetUp()) return 0;
 | 
|  
 | 
| 
 |