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

Unified Diff: Source/wtf/PartitionAlloc.h

Issue 658113002: PartitionAlloc: Remove the 2 GB per-partition address space limit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: address nits Created 6 years, 2 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 | Source/wtf/PartitionAlloc.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/PartitionAlloc.h
diff --git a/Source/wtf/PartitionAlloc.h b/Source/wtf/PartitionAlloc.h
index 2ede593436dddabd4d30a2fb430c89a03a514479..51430004a09483d44187abd040cf4249159dfabb 100644
--- a/Source/wtf/PartitionAlloc.h
+++ b/Source/wtf/PartitionAlloc.h
@@ -115,12 +115,6 @@
namespace WTF {
-// Maximum size of a partition's mappings. 2046MB. Note that the total amount of
-// bytes allocatable at the API will be smaller. This is because things like
-// guard pages, metadata, page headers and wasted space come out of the total.
-// The 2GB is not necessarily contiguous in virtual address space.
-static const size_t kMaxPartitionSize = 2046u * 1024u * 1024u;
-
// Allocation granularity of sizeof(void*) bytes.
static const size_t kAllocationGranularity = sizeof(void*);
static const size_t kAllocationGranularityMask = kAllocationGranularity - 1;
« no previous file with comments | « no previous file | Source/wtf/PartitionAlloc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698