OSDN Git Service

Limit the size of files created by run-test to 2MB.
authorIan Rogers <irogers@google.com>
Sun, 22 Jun 2014 05:58:05 +0000 (22:58 -0700)
committerIan Rogers <irogers@google.com>
Sun, 22 Jun 2014 08:30:40 +0000 (01:30 -0700)
commit997f0f9e69ce7aee73cebd64be8dc40af9164257
tree0d323cec5ae6359fb4dd775a5b539848c930507b
parent87523b6c4df4dd33d4c1e383403e14d6fe06362f
Limit the size of files created by run-test to 2MB.

In MemMap::MapAnonymous on the host, avoid creating ashmem regions that are
backed by files, when the size of the file will be greater than the ulimit.

Change-Id: I7cbf2ac59bf5869ed85850bea8d71898f3b7e1c7
runtime/mem_map.cc
test/003-omnibus-opcodes/build
test/056-const-string-jumbo/build
test/303-verification-stress/build
test/run-test