Index: runtime/vm/virtual_memory.h |
=================================================================== |
--- runtime/vm/virtual_memory.h (revision 45514) |
+++ runtime/vm/virtual_memory.h (working copy) |
@@ -35,7 +35,8 @@ |
return region_.Contains(addr); |
} |
- // Commits the virtual memory area, which is guaranteed to be zeroed. |
+ // Commits the virtual memory area, which is guaranteed to be zeroed. Returns |
+ // true on success and false on failure (e.g., out-of-memory). |
bool Commit(bool is_executable) { |
return Commit(start(), size(), is_executable); |
} |