Index: src/base/platform/platform-solaris.cc |
diff --git a/src/base/platform/platform-solaris.cc b/src/base/platform/platform-solaris.cc |
index 1764978883a80615729d5b01d91c46916757297d..6783c6ba8922977e225581f0ce8d633f5601736c 100644 |
--- a/src/base/platform/platform-solaris.cc |
+++ b/src/base/platform/platform-solaris.cc |
@@ -198,6 +198,10 @@ bool VirtualMemory::UncommitRegion(void* base, size_t size) { |
kMmapFdOffset) != MAP_FAILED; |
} |
+bool VirtualMemory::ReleasePartialRegion(void* base, size_t size, |
+ void* free_start, size_t free_size) { |
+ return munmap(free_start, free_size) == 0; |
+} |
bool VirtualMemory::ReleaseRegion(void* base, size_t size) { |
return munmap(base, size) == 0; |