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

Unified Diff: mojo/system/constants.h

Issue 220113003: Mojo: Implement MojoUnmapBuffer(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | « mojo/public/c/system/tests/core_unittest.cc ('k') | mojo/system/core_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/constants.h
diff --git a/mojo/system/constants.h b/mojo/system/constants.h
index 6c287b530b773338739251d00aa8afc934094869..b92eef102218e4463d15f78bc28f9b4863706c90 100644
--- a/mojo/system/constants.h
+++ b/mojo/system/constants.h
@@ -10,11 +10,14 @@
namespace mojo {
namespace system {
-// Maximum of open (Mojo) handles.
+// Maximum number of open (Mojo) handles.
// TODO(vtl): This doesn't count "live" handles, some of which may live in
// messages.
const size_t kMaxHandleTableSize = 1000000;
+// Maximum number of active memory mappings.
+const size_t kMaxMappingTableSize = 1000000;
+
const size_t kMaxWaitManyNumHandles = kMaxHandleTableSize;
const size_t kMaxMessageNumBytes = 4 * 1024 * 1024;
« no previous file with comments | « mojo/public/c/system/tests/core_unittest.cc ('k') | mojo/system/core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698