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

Unified Diff: runtime/vm/virtual_memory.h

Issue 355123002: If a large object is truncated, also truncate the page. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
« runtime/vm/pages.cc ('K') | « runtime/vm/pages.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/virtual_memory.h
===================================================================
--- runtime/vm/virtual_memory.h (revision 37758)
+++ runtime/vm/virtual_memory.h (working copy)
@@ -62,10 +62,10 @@
static bool InSamePage(uword address0, uword address1);
- private:
// Truncate this virtual memory segment.
void Truncate(uword new_start, intptr_t size);
+ private:
// Free a sub segment. On operating systems that support it this
// can give back the virtual memory to the system.
void FreeSubSegment(void* address, intptr_t size);
« runtime/vm/pages.cc ('K') | « runtime/vm/pages.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698