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

Unified Diff: chrome/renderer/render_thread.cc

Issue 257009: Rollback Scavenge implemetation and rely on existing functionality to free... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | « chrome/browser/browser_about_handler.cc ('k') | third_party/tcmalloc/config_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_thread.cc
===================================================================
--- chrome/renderer/render_thread.cc (revision 27611)
+++ chrome/renderer/render_thread.cc (working copy)
@@ -50,7 +50,7 @@
#include "webkit/extensions/v8/gears_extension.h"
#include "webkit/extensions/v8/interval_extension.h"
#include "webkit/extensions/v8/playback_extension.h"
-#include "third_party/tcmalloc/google/malloc_extension.h"
+#include "third_party/tcmalloc/tcmalloc/src/google/malloc_extension.h"
#if defined(OS_WIN)
#include <windows.h>
@@ -467,7 +467,7 @@
return;
#if defined(OS_WIN)
- MallocExtension::instance()->Scavenge();
+ MallocExtension::instance()->ReleaseFreeMemory();
#endif
if (!v8::V8::IsDead()) {
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | third_party/tcmalloc/config_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698