summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2016-09-01 11:06:18 +0100
committerDavid Brazdil <dbrazdil@google.com>2016-09-12 14:39:07 +0100
commit7b49e6cade09bc65b3b5f22d45fc9d0a7184e4f2 (patch)
tree36bb77d376708ba0f054c9820f4b7ed51437fbb2 /compiler/optimizing/graph_visualizer.cc
parent3bac5443975cd6312e7c6282b94014db25f369d7 (diff)
Introduce VDEX file, use it for DEX files
This patch introduces a new output file called VDEX. In the future, VDEX files will store pre-validated DEX files which do not need to be re-extracted and re-verified when recompiling, e.g. due to new profiling information or after a system update. With this CL, the OatWriter writes DEX files into the VDEX and the rest of its output into OAT. The OatFile class and related classes are updated to load the VDEX at runtime and mmap the DEX file section from it. Patchoat creates symlinks to the source VDEX files in the target directory or copies the files if passed in as file descriptors. The feature can be disabled by setting the environment variable ART_ENABLE_VDEX to false. Test: m test-art-host Bug: 30937355 Change-Id: I54dcaececf6814c258c80524ec15e2e2ef69c8dd
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions