OSDN Git Service

Revert "Revert "runtime: Mmap uncompressed dex files (in zip) as clean memory""
authorIgor Murashkin <iam@google.com>
Tue, 14 Feb 2017 21:14:17 +0000 (21:14 +0000)
committerIgor Murashkin <iam@google.com>
Tue, 14 Feb 2017 21:44:51 +0000 (13:44 -0800)
commit271a0f806d945592c6c0ac348004acb8ca3cba8b
tree17b48ea21425bb8d6013b7f486c2f86ddc4d734f
parenta6dfa573fa951747a09a5fb8b5e1f276e569e934
Revert "Revert "runtime: Mmap uncompressed dex files (in zip) as clean memory""

This reverts commit 960b2af8a05f0844e78004e2d0d3ae6ab058d430.

Fix failing 071-dex-file-map-clean on target
which was due to an IO race in the run-test script.

Test: make test-art-target
Bug: 27650033
Original-Change-Id: I18efbd392c5980ffe0d983833b6cc581e0237b92
Change-Id: I6f4ff1e85f8326916c2ae0842a32f53fb7901639
12 files changed:
runtime/dex_file.cc
runtime/zip_archive.cc
runtime/zip_archive.h
test/071-dexfile-map-clean/build [new file with mode: 0755]
test/071-dexfile-map-clean/expected.txt [new file with mode: 0644]
test/071-dexfile-map-clean/info.txt [new file with mode: 0644]
test/071-dexfile-map-clean/run [new file with mode: 0755]
test/071-dexfile-map-clean/src-ex/Another.java [new file with mode: 0644]
test/071-dexfile-map-clean/src/Main.java [new file with mode: 0644]
test/etc/default-build
test/etc/run-test-jar
test/run-test