Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: src/base/platform/platform-linux.cc

Issue 2106933003: Revert of [heap] Reland uncommit unused large object page memory. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/base/platform/platform.h ('k') | src/base/platform/platform-macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/platform/platform-linux.cc
diff --git a/src/base/platform/platform-linux.cc b/src/base/platform/platform-linux.cc
index f00acf1892c50029b28a6e20a33a80e3f8e2e090..1323a0dd91efc1751ea17b163f0ff0ae4c3095c6 100644
--- a/src/base/platform/platform-linux.cc
+++ b/src/base/platform/platform-linux.cc
@@ -375,14 +375,6 @@
kMmapFdOffset) != MAP_FAILED;
}
-bool VirtualMemory::ReleasePartialRegion(void* base, size_t size,
- void* free_start, size_t free_size) {
-#if defined(LEAK_SANITIZER)
- __lsan_unregister_root_region(base, size);
- __lsan_register_root_region(base, size - free_size);
-#endif
- return munmap(free_start, free_size) == 0;
-}
bool VirtualMemory::ReleaseRegion(void* base, size_t size) {
#if defined(LEAK_SANITIZER)
« no previous file with comments | « src/base/platform/platform.h ('k') | src/base/platform/platform-macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698