Index: src/spaces.h |
=================================================================== |
--- src/spaces.h (revision 13384) |
+++ src/spaces.h (working copy) |
@@ -653,6 +653,8 @@ |
static inline void UpdateHighWaterMark(Address mark); |
+ bool RecommitBody(size_t body_size, Executability executable); |
+ |
protected: |
MemoryChunk* next_chunk_; |
MemoryChunk* prev_chunk_; |
@@ -888,7 +890,9 @@ |
// the code range. On platforms with no separate code range, should |
// not be called. |
MUST_USE_RESULT Address AllocateRawMemory(const size_t requested, |
- size_t* allocated); |
+ size_t* allocated, |
+ size_t initial_commit_size); |
+ bool RecommitRawMemory(Address start, size_t length); |
void FreeRawMemory(Address buf, size_t length); |
private: |
@@ -1037,6 +1041,7 @@ |
#endif |
MemoryChunk* AllocateChunk(intptr_t body_size, |
+ intptr_t commit_size, |
Executability executable, |
Space* space); |
@@ -1045,6 +1050,7 @@ |
VirtualMemory* controller); |
Address AllocateAlignedMemory(size_t requested, |
size_t alignment, |
+ size_t initial_commit_size, |
Executability executable, |
VirtualMemory* controller); |