summaryrefslogtreecommitdiffstats
path: root/courgette/courgette.gyp
diff options
context:
space:
mode:
authorsra@chromium.org <sra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-29 00:47:48 +0000
committersra@chromium.org <sra@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-29 00:47:48 +0000
commitb6732ba797c8b6a8b2a4748fe61d86b6578e9468 (patch)
treea61713e539847443e779814b4d3eeaac74ace06e /courgette/courgette.gyp
parentfd75696fceeaca48f47ad77ff40010b220f31c3c (diff)
downloadchromium_src-b6732ba797c8b6a8b2a4748fe61d86b6578e9468.zip
chromium_src-b6732ba797c8b6a8b2a4748fe61d86b6578e9468.tar.gz
chromium_src-b6732ba797c8b6a8b2a4748fe61d86b6578e9468.tar.bz2
Use an array of pages for the large arrays.
The large arrays of ints used by the suffix array code sometimes can't be allocated due to fragmented address space. Using an array of 'pages' lets the allocation be satisfied by many smaller allocations. BUG=none TEST=none Review URL: http://codereview.chromium.org/2228003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/courgette.gyp')
-rw-r--r--courgette/courgette.gyp2
1 files changed, 2 insertions, 0 deletions
diff --git a/courgette/courgette.gyp b/courgette/courgette.gyp
index 21eedfa..7ca3dbe6 100644
--- a/courgette/courgette.gyp
+++ b/courgette/courgette.gyp
@@ -24,6 +24,7 @@
'third_party/bsdiff.h',
'third_party/bsdiff_apply.cc',
'third_party/bsdiff_create.cc',
+ 'third_party/paged_array.h',
'courgette.h',
'crc.cc',
'crc.h',
@@ -85,6 +86,7 @@
'image_info_unittest.cc',
'run_all_unittests.cc',
'streams_unittest.cc',
+ 'third_party/paged_array_unittest.cc'
],
'dependencies': [
'courgette_lib',