Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 604d32152f1356678f856ba2e4f6df2b92201436..2412ca6069025a7c59b567e011eff88a7109feab 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -478,6 +478,7 @@ Address MemoryAllocator::AllocateAlignedMemory( |
// Failed to commit the body. Release the mapping and any partially |
// commited regions inside it. |
reservation.Release(); |
+ size_.Decrement(reserve_size); |
return NULL; |
} |