6619cdd9f133c90f5d3a28d7723887b888a9f45a |
|
17-May-2016 |
Richard Uhler <ruhler@google.com> |
Only compile dex files if they are not up to date. Instead of trying to compile them all the time, and relying on file permissions to keep us from overwriting up-to-date dex files with different compiler filters. Bug: 27641809 Bug: 28639246 Bug: 28826195 Change-Id: Ie717089d58517427b6f9a522b48146761c57a1a9
|
8c185bf0c6f18a5349bc87a7e3751ba06d90f461 |
|
23-May-2016 |
Vladimir Marko <vmarko@google.com> |
Compile JNI stubs for verify-profile and interpret-only. This is the intended behavior to have a good JNI transition performance. Bug: 28902384 Change-Id: Iedb2ca343d66cf422ef2dc0527639e81d6ba8960
|
cd7e7f78b8e97c1f6419f3f44e0d5fdc6eddfdc6 |
|
02-May-2016 |
Narayan Kamath <narayan@google.com> |
DexFile: Add an API to query oat file status. Adds DexFile.getDexFileStatus(path), which returns an opaque, human-readable string representation of the oat file status. This representation isn't guaranteed to be stable and can change from release to release. bug: 27494108 Change-Id: I5fc42225ae65eb19dcd0c619a40cf674b34fc49c
|
5872d7cd6ceffe67550d0b021191ec66f1a34c5d |
|
27-Apr-2016 |
Jeff Hao <jeffhao@google.com> |
Support to pass <uses-library> option through to dex2oat. This change takes an app's shared libraries specified by <uses-library> and passes it through to dex2oat to be used during compilation. Part of a multi-project change. Includes fix from a6d46161aea07ebd1cbd6ab78b2b323f940e9c1e Bug: 26880306 (cherry-picked from commit 26e8a2f150cd7f7195a10650ab8a5b6fa5014bc8) Change-Id: I6bfc13693dbb835ca52fed2d03ec5346d43ec5d9
|
1153ae16f243adb30fc8509c619025d30408c74a |
|
04-Apr-2016 |
Richard Uhler <ruhler@google.com> |
Restore fallback behavior in the no-image stripped-dex case. Add --strip-dex option to run-test to test this case. Bug: 27599626 (cherry picked from commit 76f5cb6026b9c83bf00fd1007703503a327f704d) Change-Id: I96bd2b013dd11ca1256f259181ea9c6087f16287
|
fd336c344058274fada3c48fbd356befca285b9a |
|
08-Apr-2016 |
Jeff Hao <jeffhao@google.com> |
Fix combined checksum calculation to use isa. Bug: 28054110 (cherry-picked from commit 8bbda8e683a1933755d0b8a68fed620cd63148ee) Change-Id: I228db6ea1003e4e70d6a5fa7345d56409e70bd87
|
b11ffb7f33d70da0eb2caf891bbfdab9129fe5b4 |
|
08-Apr-2016 |
Jeff Hao <jeffhao@google.com> |
Combine checksum of all boot images. Allows a change to be detected in more than just the first image. Combines checksums of all boot images using xor. A better hash is left as TODO. Bug: 28054110 (cherry-picked from commit 4f351aae00f43dd4e3290976f249d3664cc47091) Change-Id: Ia557e2460ca582082368ef93508c04ce32c3036a
|
539d38c67c521aa17741a41fc4c4462b576adfd9 |
|
08-Apr-2016 |
Jeff Hao <jeffhao@google.com> |
Fix combined checksum calculation to use isa. Bug: 28054110 Change-Id: Ifcd1b0c4549a22bf4181f8acad222da05ac9f1ce
|
4f351aae00f43dd4e3290976f249d3664cc47091 |
|
08-Apr-2016 |
Jeff Hao <jeffhao@google.com> |
Combine checksum of all boot images. Allows a change to be detected in more than just the first image. Combines checksums of all boot images using xor. A better hash is left as TODO. Bug: 28054110 Change-Id: Ifbdd6cbb0104c95e8926ba4f8a207cc72dbb7f79
|
66fdcbdb1fde4bf65da5e801ba76a8e65391635b |
|
05-Apr-2016 |
Vladimir Marko <vmarko@google.com> |
Remove unnecessary TEMP_FAILURE_RETRY. unlink, rmdir, rename and closedir do not generate EINTR. Change-Id: Ia5daab3e19f7373d7c27cdb6a800351c86b5a4e5
|
ff0274bd8a67e3512ff85cc05b77fd01df368638 |
|
30-Mar-2016 |
Richard Uhler <ruhler@google.com> |
Refine OatFileAssistant.MakeUpToDate failure result. Avoid misleading log messages if MakeUpToDate fails because we decided not to compile dex code. Bug: 27641809 (cherry picked from commit 1e860619cdcc9c0b6a202a247c50cf7633ac7b74) Change-Id: Iab6f8ff2756393bfe3a7be4643e908be648bd10d
|
1e860619cdcc9c0b6a202a247c50cf7633ac7b74 |
|
30-Mar-2016 |
Richard Uhler <ruhler@google.com> |
Refine OatFileAssistant.MakeUpToDate failure result. Avoid misleading log messages if MakeUpToDate fails because we decided not to compile dex code. Bug: 27641809 Change-Id: I184f8e89648183cba4ebe7a1dc5e0e6c8774c15b
|
1c4eb04b6cb1427f96e9587bd425ee269b8c8479 |
|
29-Mar-2016 |
Richard Uhler <ruhler@google.com> |
Don't return kPatchOatNeeded if there is no patch info. Bug: 27693977 (cherry picked from commit d1537b569b6cd18297c5e02d13cdd588c4366c51) Change-Id: Icd25da796fc2c2b7542a47d1d8d3bcbcace145fb
|
d1537b569b6cd18297c5e02d13cdd588c4366c51 |
|
29-Mar-2016 |
Richard Uhler <ruhler@google.com> |
Don't return kPatchOatNeeded if there is no patch info. Bug: 27693977 Change-Id: Ie1f27cc45f3cb434108a375136480cb92fd95e26
|
7bcfcb80a31f57a84d754e00bca8698829365208 |
|
23-Mar-2016 |
Andreas Gampe <agampe@google.com> |
Revert "Revert "Use compiler filter to determine oat file status."" This reverts commit 845e5064580bd37ad5014f7aa0d078be7265464d. Add an option to change what OatFileManager considers up-to-date. In our tests we're allowed to write to the dalvik-cache, so it cannot be kSpeed. (cherry picked from commit 29d38e77c553c6cf71fc4dafe2d22b4e3f814872) Bug: 27689078 Change-Id: I6274188610f31dcd9d086fc080b2be93afae5a6b
|
29d38e77c553c6cf71fc4dafe2d22b4e3f814872 |
|
23-Mar-2016 |
Andreas Gampe <agampe@google.com> |
Revert "Revert "Use compiler filter to determine oat file status."" This reverts commit 845e5064580bd37ad5014f7aa0d078be7265464d. Add an option to change what OatFileManager considers up-to-date. In our tests we're allowed to write to the dalvik-cache, so it cannot be kSpeed. Bug: 27689078 Change-Id: I0c578705a9921114ed1fb00d360cc7448addc93a
|
845e5064580bd37ad5014f7aa0d078be7265464d |
|
23-Mar-2016 |
Nicolas Geoffray <ngeoffray@google.com> |
Revert "Use compiler filter to determine oat file status." Bots are red. Tentative reverting as this is likely the offender. Bug: 27689078 This reverts commit a62d2f04a6ecf804f8a78e722a6ca8ccb2dfa931. Change-Id: I3ec6947a5a4be878ff81f26f17dc36a209734e2a
|
a62d2f04a6ecf804f8a78e722a6ca8ccb2dfa931 |
|
18-Mar-2016 |
Richard Uhler <ruhler@google.com> |
Use compiler filter to determine oat file status. Record the compiler filter in the oat header. Use that to determine when the oat file is up-to-date with respect to a target compiler filter level. New xxx-profile filter levels are added to specify if a profile should be used instead of testing for the presence of a profile file. This change should allow for different compiler-filters to be set for different package manager use cases. Bug: 27689078 Change-Id: Id6706d0ed91b45f307142692ea4316aa9713b023
|
0b4cbd0c2a75b47ae09d21e5d73d2b1709cb5b9e |
|
09-Mar-2016 |
Mathieu Chartier <mathieuc@google.com> |
Add oatdump support for app images Example usage on host: oatdumpd --app-oat=art/plus32.odex --app-image=art/plus32.art --image=art/oats/system@framework@boot.art --instruction-set=arm TODO: Add to oatdump test. Bug: 27408512 Bug: 22858531 (cherry picked from commit bcb6a72569a1401b36a3ad3b6aa4d13e29966cf0) Change-Id: I9d1aa7eaa16795e5fbabc6974d245849e16b1d03
|
bcb6a72569a1401b36a3ad3b6aa4d13e29966cf0 |
|
09-Mar-2016 |
Mathieu Chartier <mathieuc@google.com> |
Add oatdump support for app images Example usage on host: oatdumpd --app-oat=art/plus32.odex --app-image=art/plus32.art --image=art/oats/system@framework@boot.art --instruction-set=arm TODO: Add to oatdump test. Bug: 27408512 Bug: 22858531 Change-Id: I320db8b76c780c6eadabcb45ce88f45950741484
|
b077e15d2d11b7c81aacbcd4a46c2b1e9c9ba20d |
|
18-Feb-2016 |
Calin Juravle <calin@google.com> |
Update GetDexOptNeeded to handle different levels of compilation extract-only or profile-guide oat files are considered up to date from runtime perspective as they don't necessary need (re)compilation or relocation. However, it is useful to return a more refined code to the caller so that they can decide whether or not that's good enough. For example, the package manager might decide to still compile a previous extract-only and during profile guide compilation we should always recompile even if we have an oat file. Note that dex files compiled via ClassLoaders will still be fully compiled. This change introduces: - a new key in the oat header kCompilationType to capture what type of compilation has been made. Note tha the key might be missing. The distinction is needed in order to avoid recompilation of a previous fully compiled file during profile guide compilation analysis. - a new argument to GetDexOptNeeded which tells the runtime to cast its opinion whether or not the oat file is up to date relative to the desired target type of compilation. Bug: 27189430 (cherry picked from commit d91b8a2464b99625efe03caf7d30c8372bc378ed) Change-Id: I6ce450350f388451f7bab7d285c1846d539a4b13
|
d91b8a2464b99625efe03caf7d30c8372bc378ed |
|
18-Feb-2016 |
Calin Juravle <calin@google.com> |
Update GetDexOptNeeded to handle the different levels of compilation extract-only or profile-guide oat files are considered up to date from runtime perspective as they don't necessary need (re)compilation or relocation. However, it is useful to return a more refined code to the caller so that they can decide whether or not that's good enough. For example, the package manager might decide to still compile a previous extract-only and during profile guide compilation we should always recompile even if we have an oat file. Note that dex files compiled via ClassLoaders will still be fully compiled. This change introduces: - a new key in the oat header kCompilationType to capture what type of compilation has been made. Note tha the key might be missing. The distinction is needed in order to avoid recompilation of a previous fully compiled file during profile guide compilation analysis. - a new argument to GetDexOptNeeded which tells the runtime to cast its opinion whether or not the oat file is up to date relative to the desired target type of compilation. Bug: 27189430 Change-Id: Icd9794b1df6f6e21242e1dd1d5b5d064963dbbb7
|
13554950428577f1016437161feb60e597a6d69a |
|
01-Feb-2016 |
David Brazdil <dbrazdil@google.com> |
ART: Release DexFile in OatFileAssistant Change-Id: I4ff0041191d2fe7a33c2b55f163a33e92da62b6b
|
ce4b0ba4d762775a86b3529ac76cb89199c0cc1e |
|
28-Jan-2016 |
David Brazdil <dbrazdil@google.com> |
Ignore image checksum for ExtractOnly oat files Oat files compiled with --compiler-filter=verify-at-runtime contain no compiled code and therefore are independent of the boot image. This patch stores an ExtractOnly flag in the oat header and skips the image checksum test if the flag is set, rendering the oat file up to date even after OTAs. Bug: 26813999 Change-Id: I25291d5b49d9e9d0018844e957a2dc88ef6bdc27
|
e778fc7332238534b173c2c3e0c4502d12f58da3 |
|
26-Jan-2016 |
Mathieu Chartier <mathieuc@google.com> |
Reduce app image log spam Change to VLOG or file exists. Bug: 26782386 Bug: 22858531 Change-Id: Ic73d110d44216c2846e4ea789070bea2af8043a3
|
fbc31087932a65e036a153afab3049dc5298656a |
|
24-Jan-2016 |
Mathieu Chartier <mathieuc@google.com> |
Revert "Revert "Load app images"" This reverts commit 1bc977cf2f8199311a97f2ba9431a184540e3e9c. Bug: 22858531 Change-Id: Ide00bf3a73a02cba3bb364177204ad1b13f70295
|
1bc977cf2f8199311a97f2ba9431a184540e3e9c |
|
23-Jan-2016 |
Nicolas Geoffray <ngeoffray@google.com> |
Revert "Load app images" Fails when a method is duplicated (see test 097-duplicate-method) Bug: 22858531 This reverts commit f7fd970244f143b1abb956e29794c446e4d57f46. Change-Id: Ib30ae5be00cc568e799290be6b3c8f29cbbe4c20
|
f7fd970244f143b1abb956e29794c446e4d57f46 |
|
09-Nov-2015 |
Mathieu Chartier <mathieuc@google.com> |
Load app images Support in-place patching of the app image based on boot image location and app oat location. Only loads for art run test so far since we do not automatically generate app images for app installs. N5 maps launch time (~200 runs): Before: 930ms After: 878.18ms After + image class table: 864.57ms TODO: Oatdump support. Store class loaders as class roots in image. Bug: 22858531 Change-Id: I9cbc645645e62ea2ed1ad8e139e91af7d88514c1
|
acd7a6ac4bb5b43b07362f5c83ab0259514370d6 |
|
08-Jan-2016 |
Jeff Hao <jeffhao@google.com> |
Fix general multi-image TODOs. - Removed some unnecessary comments. Bug: 26317072 (cherry-picked from commit 509f2ab308032534f14d8f4f374f60da8a615fa2) Change-Id: Id542262ca1182fb77f029f2136266e470bde9473
|
509f2ab308032534f14d8f4f374f60da8a615fa2 |
|
08-Jan-2016 |
Jeff Hao <jeffhao@google.com> |
Fix general multi-image TODOs. - Removed some unnecessary comments. - Reenabled tests that are working again. Change-Id: Id542262ca1182fb77f029f2136266e470bde9473
|
8994a04162a92759f8ec531d18ee8901145dfda0 |
|
30-Dec-2015 |
Andreas Gampe <agampe@google.com> |
Revert "Revert "ART: Fix up some multi-image cases"" This reverts commit de38b797c3e5ba3ee44c480db7093386975c51eb. Fix up imgdiag for std::string and multi-image. Bug: 26317072 Bug: 26320300 Change-Id: I94ce9528e9fea6fb3231a70c32db02d567143db9
|
de38b797c3e5ba3ee44c480db7093386975c51eb |
|
30-Dec-2015 |
Nicolas Geoffray <ngeoffray@google.com> |
Revert "ART: Fix up some multi-image cases" Fails imgdiag_test on device. Bug: 26317072 Bug: 26320300 This reverts commit 288b1e9a0dddfb91e85067fe81de55174f313c7c. Change-Id: Iccd05827b0630281b6f959331eaa4202526df78e
|
288b1e9a0dddfb91e85067fe81de55174f313c7c |
|
28-Dec-2015 |
Andreas Gampe <agampe@google.com> |
ART: Fix up some multi-image cases Change the auto-generated multi-image names to include the path components from the first image, as well as prefix them with the first image's name to disambiguate. This fixes vogar-style usage. Fix an out-of-bounds issue in dex2oat when dex files are missing. Forbid generating or patching multi-image parts when loading images. Instead just fail loading them. Remember ImageSpace instances that have been added while trying to load a multi-image set. Remove all loaded instances when the overall loading process fails. Refactor the dex location adaptation into ImageSpace. Reuse the code in the Runtime path for fallback, so that all dex files can be found correctly. Fix an out-of-bounds access in OatFileAssistant in fallback mode. Partially reverts d895961d07a1d320b29f2045a48bc5a1944a4d3c. Push an actual image name, that is, something with an art extension, to the vogar scripts. Partially reverts c525604b313bb77a2077e1fec43dfab76cb1b9b1. Test 119-noimage-patchoat works again. Bug: 26317072 Bug: 26320300 Change-Id: I3f05fa77f22a2b9ca54c3105ffc53646c1928604
|
dcdc85bbd569f0ee66c331b4219c19304a616214 |
|
04-Dec-2015 |
Jeff Hao <jeffhao@google.com> |
Dex2oat support for multiple oat file and image file outputs. Multiple changes to dex2oat and the runtime to support a --multi-image option. This generates a separate oat file and image file output for each dex file input. Change-Id: Ie1d6f0b8afa8aed5790065b8c2eb177990c60129
|
073b16c8429d302d5413e8ffc488b03b8f770780 |
|
10-Nov-2015 |
Mathieu Chartier <mathieuc@google.com> |
Image space cleanup for app images Removed Heap::GetImageSpace, added Heap::GetBootImageSpace. Generalized some logic in the class linker for image spaces. Bug: 22858531 Change-Id: Ib3e12bb061a247e232d3dc93b0d6b35eb3a34d25
|
8327cf74d5f87bd64572b56bb8b77bd701adb976 |
|
14-Oct-2015 |
Richard Uhler <ruhler@google.com> |
Use --oat-fd instead of --oat-file when calling dex2oat. This way we avoid forking and execing dex2oat if the output oat file is not writeable, and the error messages are slightly better. Bug: 19937016 Change-Id: I2320f70aa37653b85df40fe1977e09f33789cb8b
|
740eec92a7f63e8ddff1e007ae624d548a4e5a16 |
|
16-Oct-2015 |
Richard Uhler <ruhler@google.com> |
Change dex_location_ from const char* to std::string. Because we tend to use the dex_location_ as an std::string fairly often. Change-Id: Ida9624c9cb12c8ad30577146f1e6e97e25edc155
|
b1d8c314b55bb2df2b2bb72a3daaf5db65b7ebc7 |
|
04-Aug-2015 |
Igor Murashkin <iam@google.com> |
Revert "cleanup: Replace pointers with out-parameters and fix-up formatting" This reverts commit a315f5c546b796f55f4872bb6efc15eb858d9639. -- Revert "runtime: cleanup class_linker out-parameters and formatting" This reverts commit bc1d78daa463572c5a770cdca858a3b51d8e1b7b. -- Revert "base: replace raw pointers for out-parameters with safer out<T>" This reverts commit fb326cffc679cab8eb873b9e44795706f023cb3c.
|
a315f5c546b796f55f4872bb6efc15eb858d9639 |
|
01-Aug-2015 |
Igor Murashkin <iam@google.com> |
cleanup: Replace pointers with out-parameters and fix-up formatting Cleans all of oat_file.h/.cc, parsed_options.h./cc, runtime.h/.cc Other files are touched only incidentally to use outof(x) instead of &x. Change-Id: I0bb15111149d53bb21aac2199ef33bd35333b0ca
|
5f946da9c362216e9144b142ec0e5b90073b836d |
|
17-Jul-2015 |
Richard Uhler <ruhler@google.com> |
Fix bug in OatFileAssistant::GetBestOatFile. Previously, GetBestOatFile would fail to return an oat file in the case where a non-executable oat file was requested and the only problem with the oat file was that it wasn't relocated. Bug: 22561444 Change-Id: I6446bf474afaf6c97861e7a89bd74a07c5a52a21
|
7a4d0157eb690266928902a67922f346e290f4c6 |
|
10-Jul-2015 |
Nicolas Geoffray <ngeoffray@google.com> |
Change JIT code to use optimizing. Obviously, will fall back to quick for most methods currently, due to lack of -QUICK opcodes support. Change-Id: I28882fbe805cd907275b6047437d9639a475964a
|
9b994ea841eaaefbdda652251894a74db9cefcc8 |
|
24-Jun-2015 |
Richard Uhler <ruhler@google.com> |
Do not try to compile resource-only dex files. This changes behavior in the case where we are asked to load a dex file that does not exist or has no classes.dex entry. Previously we would run dex2oat, which would log an error message and fail. Now we skip running dex2oat, we report the DexOptStatus as kNoDexOptNeeded, and we do not try to fall back to the missing original dex files. Bug: 21722039 (cherry picked from commit cb44b11a926696e34b3dc44288e762b4303cc128) Change-Id: I84a85dc9ece54bcc0a5283f871e09bf68471c6e7
|
cb44b11a926696e34b3dc44288e762b4303cc128 |
|
24-Jun-2015 |
Richard Uhler <ruhler@google.com> |
Do not try to compile resource-only dex files. This changes behavior in the case where we are asked to load a dex file that does not exist or has no classes.dex entry. Previously we would run dex2oat, which would log an error message and fail. Now we skip running dex2oat, we report the DexOptStatus as kNoDexOptNeeded, and we do not try to fall back to the missing original dex files. Bug: 21722039 Change-Id: I90b1f4165138daac57bb9d7a354319005652c593
|
094ff2c0c1f736521c634d5f606e274cb6c55345 |
|
13-May-2015 |
Sebastien Hertz <shertz@google.com> |
Fix debuggable compiler flag detection for secondary dex files Compiles secondary dex files like the primary dex file: if it has been compiled with the --debuggable flag, compile secondary dex files with the --debuggable flag too. Therefore, dex files loaded at runtime are compiled the same way as dex files compiled at install time on the classpath (excluding the boot image that is not compiled debuggable). Also adds debuggable key in the oat header and bump the oat version. Bug: 20944228 (cherry picked from commit 0de1133ba600f299b3d67938f650720d9f859eb2) Change-Id: If6b2236e7fe547cc421f57b573043748018d3ae0
|
0de1133ba600f299b3d67938f650720d9f859eb2 |
|
13-May-2015 |
Sebastien Hertz <shertz@google.com> |
Fix debuggable compiler flag detection for secondary dex files Compiles secondary dex files like the primary dex file: if it has been compiled with the --debuggable flag, compile secondary dex files with the --debuggable flag too. Therefore, dex files loaded at runtime are compiled the same way as dex files compiled at install time on the classpath (excluding the boot image that is not compiled debuggable). Also adds debuggable key in the oat header and bump the oat version. Bug: 20944228 Change-Id: I59119f3468adb27ab1d6026f2cefbebbd814224c
|
67ff7d1fd7bcaf4b6b73ecdab6011c8636562b58 |
|
14-May-2015 |
Richard Uhler <ruhler@google.com> |
Test and fix bug checking status of secondary multidex files. We were accidentally returning 'false' instead of 'true' to indicate a native multidex file with an up-to-date primary dex file checksum but out-of-date secondary dex file checksum is out of date. Bug: 21022815 (cherry picked from commit a5a1c13a74225a1db3c54dc108fcd161b867bb00) Change-Id: I0cc56d2d49858a4af91ca8b05aa8bd3c17bb44be
|
a5a1c13a74225a1db3c54dc108fcd161b867bb00 |
|
14-May-2015 |
Richard Uhler <ruhler@google.com> |
Test and fix bug checking status of secondary multidex files. We were accidentally returning 'false' instead of 'true' to indicate a native multidex file with an up-to-date primary dex file checksum but out-of-date secondary dex file checksum is out of date. Bug: 21022815 Change-Id: I43d360ca9251d0df38ad7f8289f6ef339c0a3280
|
325ec9bd8574b4bdff1dd6584b1b4ca6d6ddf9f9 |
|
07-May-2015 |
Richard Uhler <ruhler@google.com> |
Fix bug in removal of *.flock files. Bug: 20816098 (cherry picked from commit 581f4e9065b9b7f788315d3ea1a45e51ae168589) Change-Id: Ib7bd394a9dd0299f09d386ae010972b461217550
|
581f4e9065b9b7f788315d3ea1a45e51ae168589 |
|
07-May-2015 |
Richard Uhler <ruhler@google.com> |
Fix bug in removal of *.flock files. Bug: 20816098 Change-Id: I72ee32884f32af43a54518c9b9772f63957ab5de
|
f7f798cec22a2ea697ec87b8d9f06f8a0ae27daf |
|
11-May-2015 |
Richard Uhler <ruhler@google.com> |
Fix typo in VLOG message. Change-Id: Iaf4ce1787816afce947c6e963df19d20ef5f5e1b
|
90e34043ff7bf8926e8fe6a6d5011a9daa68d320 |
|
28-Apr-2015 |
Andreas Gampe <agampe@google.com> |
ART: Remove multidex limit Remove the arbitrary multidex limit. If users want to use many files, allow them, but print a warning after a considerable amount. Bug: 20071800 (cherry picked from commit 32c26b8f9b995250479c185172f4ffd881a59996) Change-Id: Ic51c96b84042f769a7d33ec53fe587b68cd69df4
|
32c26b8f9b995250479c185172f4ffd881a59996 |
|
28-Apr-2015 |
Andreas Gampe <agampe@google.com> |
ART: Remove multidex limit Remove the arbitrary multidex limit. If users want to use many files, allow them, but print a warning after a considerable amount. Bug: 20071800 Change-Id: Ic51c96b84042f769a7d33ec53fe587b68cd69df4
|
2cebb24bfc3247d3e9be138a3350106737455918 |
|
22-Apr-2015 |
Mathieu Chartier <mathieuc@google.com> |
Replace NULL with nullptr Also fixed some lines that were too long, and a few other minor details. Change-Id: I6efba5fb6e03eb5d0a300fddb2a75bf8e2f175cb
|
95abd04d211470ea4b9b9191b96dd0f32e7ce3a4 |
|
24-Mar-2015 |
Richard Uhler <ruhler@google.com> |
Rename isDexOptNeededInternal and add kSelfPatchOatNeeded This change renames isDexOptNeededInternal to getDexOptNeeded and adds another possible result: kSelfPatchOatNeeded. kSelfPatchOatNeeded is returned when there is no odex file to relocate from but there is an oat file that can be relocated in place. Change-Id: Ib9a6373f98474f1242367b5285086251a9d580e5
|
6343411e52d2a59cd716cb47a85ebd0d68e61a3c |
|
16-Mar-2015 |
Richard Uhler <ruhler@google.com> |
Store odex files in oat/<isa>/ directory. Previously odex files were stored alongside the dex location as: dex location: /foo/bar/base.apk odex location: /foo/bar/<isa>/base.odex This changes where odex files are stored, adding an "oat" directory: dex location: /foo/bar/base.apk odex location: /foo/bar/oat/<isa>/base.odex See also the corresponding change in platform/build and platform/frameworks/native. Bug: 19550105 Change-Id: I4c6be4f0c41ff175904846db8e360c4af815b265
|
e5fed03772144595c0904faf3d6974cc55214c8c |
|
18-Mar-2015 |
Richard Uhler <ruhler@google.com> |
Support relative encoded dex locations in oat files. Now when opening an oat file, the caller can pass an absolute dex location used to resolve the absolute path for any relative encoded dex locations in the oat file. Bug: 19550105 Change-Id: I6e9559afe4d86ac12cf0b90176b5ea696a83d0e7
|
66d874d96d5699bb090c59f47a5a528956ca053e |
|
15-Jan-2015 |
Richard Uhler <ruhler@google.com> |
Create OatFileAssistant class for assisting with oat files. The oat file assistant is used for determining whether dex2oat or patchoat is needed, for running dex2oat or patchoat as needed to make an oat file up to date, and to load dex files associated with a given dex location. The introduction of the OatFileAssistant class is meant to clean up and consolidate code related to the management of oat files that was duplicated and spread across dalvik_system_DexFile.cc and class_linker.cc. Bug: 11301553 Change-Id: I0c16027b9bae4570c2c50faa9c14f581c0cbafb8
|