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

Unified Diff: webkit/plugins/npapi/webplugin_delegate_impl_win.cc

Issue 9554008: Increasing plugin JIT spike cap and removing lifeteim cap in response to user crash reports. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/npapi/webplugin_delegate_impl_win.cc
===================================================================
--- webkit/plugins/npapi/webplugin_delegate_impl_win.cc (revision 124984)
+++ webkit/plugins/npapi/webplugin_delegate_impl_win.cc (working copy)
@@ -148,8 +148,7 @@
bool UpdateExecMemSize(intptr_t size) {
base::AutoLock locked(*g_exec_mem_lock);
- const intptr_t kMaxPluginExecMemSize = 192 * 1024 * 1024; // 192mb.
- const intptr_t kMaxPluginExecMemSizeSpike = 64 * 1024 * 1024; // 64mb.
+ const intptr_t kMaxPluginExecMemSizeSpike = 80 * 1024 * 1024; // 80mb.
const DWORD kTimeLimit = 6; // 6 minute timeout.
static intptr_t s_exec_mem_size = 0;
@@ -194,8 +193,6 @@
g_max_exec_mem_size = s_exec_mem_size;
- if (s_exec_mem_size > kMaxPluginExecMemSize)
- return false;
if ((s_exec_mem_size - s_exec_mem_size_old) > kMaxPluginExecMemSizeSpike)
return false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698