- 07 Apr, 2015 2 commits
-
-
Narayan Kamath authored
This is a structural change, and breaks code that looks up directory resource names (icu4j for example). This change also includes a minor cosmetic change to use a while() loop instead of for(;;). bug: 19108324 (cherry picked from commit 7736e8ff) Change-Id: Ifcbc60cc7808334cdfdd4f27bf137a8f6455117d
-
Yohann Roussel authored
We have to parse descriptors and treat the types they reference as direct reference as we do for other direct type references. This is required because Dalvik verifier is checking those descriptor the same way as it does for other type references. See: https://android.googlesource.com/platform/dalvik/+/kitkat-mr2.2-release/vm/analysis/CodeVerify.cpp#637 Bug: 19626444 (cherry picked from commit 8f9fb34f) Change-Id: Ib9f43dd0c5f0b983fcc80e13caa13fd8b2dc2244
-
- 22 Mar, 2015 1 commit
-
-
Yohann Roussel authored
We force all classes annotated with runtime annotation to be kept in the main dex list. This allow to workaround a Dalvik bug when accessing the annotations. But this increase the pressure in the main dex indexes. The new option is to allow to disable this workaround for application facing the index limit in their main dex and that don't access annotation at runtime or that have only annotations not subject to the resolution bug. Bug: 18928046 Change-Id: Ibcd7e579a7fef3451ec8aeb266ea67514d82cd50
-
- 02 Dec, 2014 1 commit
-
-
Yohann Roussel authored
* commit '8e88bab0': Keep annotated classes in main dex list
-
- 01 Dec, 2014 1 commit
-
-
Yohann Roussel authored
Only classes annotated with a runtime visible annotation are to be kept. See https://code.google.com/p/android/issues/detail?id=78144 Bug: 18385117 (cherry picked from commit 893795fc) Change-Id: I46ceef4aab5119ba4515a07e8f17577e15931dbd
-
- 21 Nov, 2014 1 commit
-
-
Jeff Sharkey authored
Dumps from Android devices have multiple heaps, including Zygote, image, etc. When investigating RAM usage, it's most useful to focus on "real" allocations from the app, ignoring the other heaps. This change introduces the "-z" flag which will drop allocations on non-app heaps during conversion. Bug: 18473132 Change-Id: Ib1d5256b7bc4cfd7791f00c18a1cff920e0e3f46
-
- 14 Nov, 2014 1 commit
-
-
Xavier Ducrohet authored
Merging dex files starting with smaller ones can have a big impact on performance as it potentially reduces the number of compact events during the merge. Gradle will now send the list sorted in ascending order of file size, and dex should keep this order when parsing the input list file. Change-Id: Iff3ae4d30106fe70dca0764b33addfecceb84d09
-
- 31 Oct, 2014 1 commit
-
-
Xavier Ducrohet authored
Change-Id: Iaea2a8ec163cdfc50a5647e4071735675eee3481
-
- 09 Sep, 2014 4 commits
-
-
Benoit Lamarche authored
-
Benoit Lamarche authored
This new version should include the following fixes: 8863d0fd (Bug: 16709921) 0ab4f7a318db3635c870ac50b669085312feb567 (Bug: 17438982) (cherry picked from commit 70df3df6) Change-Id: I986804c02ba807dac5bbfc9a280e0c0f5a684419
-
Benoit Lamarche authored
-
John Fazekas authored
On Windows machines the command line can only accept commands that are 8192 characters or less. This can cause a problem when a project has many dependencies and many libraries are being passed to dex at once. This fixes it by adding a new option to dex called --input-list that can read inputs from a file. This way we only have to pass a single file name instead of a ton of jar files. This keeps the command short so Windows will not complain about it. Bug: 17438982 Signed-off-by:
John Fazekas <jfazekas@fd-software.com> (cherry picked from commit 914f2263) Change-Id: I6edd1e7c1d1fddc8d6bf4c4963295d4f4e64032e
-
- 08 Sep, 2014 1 commit
-
-
Benoit Lamarche authored
This is needed since class constants may not be unique. Indeed, there may be multiple identical class contants in the constant pool. Bug: 16709921 (cherry picked from commit 8863d0fd) Change-Id: I63c07ebf03d67eb942aec6364c7e02c631744612
-
- 04 Sep, 2014 1 commit
-
-
Ying Wang authored
This fixed bogus docs build errors like: dalvik/dx/src/com/android/dx/io/DexIndexPrinter.java:19: error: package com.android.dex does not exist Change-Id: I3217a51c1562194974410c54f936c0713455a93c
-
- 05 Aug, 2014 1 commit
-
-
Brian Carlstrom authored
croot cd dalvik repo start dalvik-is-dead-long-live-dalvik . repo sync -c . git rm -r README.txt git rm -r dexopt git rm -r tools/deadcode.py git rm -r tools/dex-preopt git rm -r tools/dexcheck git rm -r tools/gdbjithelper git rm -r unit-tests git rm -r vm git checkout HEAD vm/Common.h (needed by libdex) git checkout HEAD vm/DalvikVersion.h (needed by libdex) git checkout HEAD vm/Profile.h (needed by dmtracedump) git add Android.mk (after removing vm, dexopt, and unit-tests references) git commit -a -m 'Dalvik is dead, long live Dalvik!' Bug: 14298175 Change-Id: I9dd13053677629d13496d4238af4374452cda415
-
- 29 Jul, 2014 1 commit
-
-
mikaelpeltier authored
- The reordering performs during instruction expansion is not correct for all instructions, in particular for xxx/range instructions that require sequential registers. (cherry picked from commit 26a4440a) Change-Id: Ida3c8a1abfb78a7b119c463b19030572d3fbc40e
-
- 24 Jul, 2014 1 commit
-
-
Yohann Roussel authored
-
- 25 Jul, 2014 1 commit
-
-
Yohann Roussel authored
This was possible when the first class considered for adding in a dex was too big to be sure it will fit. Now DX will try to add the class in the current dex and crash if the class causes one index to overflow. (cherry picked from commit f15dafe6) Change-Id: I323f8111c2be6bace908d0539ff324c4bd033c05
-
- 23 Jul, 2014 1 commit
-
-
Yohann Roussel authored
Because there were 2 tests 123. (cherry picked from commit d3fb6889) Change-Id: Ic6df7590ab32893a40e42ea145d04c64cc265308
-
- 17 Jul, 2014 1 commit
-
-
Sebastien Hertz authored
-
- 21 Jul, 2014 2 commits
-
-
mikaelpeltier authored
- Registers of LocalStart and LocalSnapshot must also be shift when it is required. Bug: 16344305 (cherry picked from commit 32631e6e) Change-Id: Ic437ed4102ad0fbeccc069df0f44cb2d774ff27d
-
mikaelpeltier authored
Bug: 16344305 (cherry picked from commit 45778955) Change-Id: Ic607ffda267d8c61ae0a943747b770ac4c8b460d
-
- 17 Jul, 2014 1 commit
-
-
Sebastien Hertz authored
-
- 16 Jul, 2014 1 commit
-
-
Calin Juravle authored
We no longer need two distinct methods. Bug: 15563230 Change-Id: Ifd1437b9a8bd0f35a5d2228d2534f69d64d139cc
-
- 12 Jul, 2014 1 commit
-
-
Christopher Ferris authored
Change-Id: Ic24de231aea0f4ea49ea51572a839639dc7fb79b
-
- 11 Jul, 2014 2 commits
-
-
Ian Rogers authored
* commit '2c243a10':
-
Ian Rogers authored
* commit '388f055a': Align 64-bit registers on even dalvik registers
-
- 08 Jul, 2014 2 commits
-
-
Ian Rogers authored
* commit '388f055a': Align 64-bit registers on even dalvik registers
-
Ian Rogers authored
* commit '46cf2623': Align 64-bit registers on even dalvik registers
-
- 07 Jul, 2014 1 commit
-
-
Ian Rogers authored
-
- 18 Jun, 2014 4 commits
-
-
Brian Carlstrom authored
* commit '585b6cff': Restore dexdeps used by CTS
-
Brian Carlstrom authored
am 4c61d6fa: (-s ours) am 14dc0e01: (-s ours) Merge "Dalvik is dead, long live Dalvik! DO NOT MERGE" * commit '4c61d6fa': Dalvik is dead, long live Dalvik! DO NOT MERGE
-
Brian Carlstrom authored
* commit 'f24c77e7': Restore dexdeps used by CTS
-
Brian Carlstrom authored
* commit '14dc0e01': Dalvik is dead, long live Dalvik! DO NOT MERGE
-
- 17 Jun, 2014 1 commit
-
-
Brian Carlstrom authored
-
- 18 Jun, 2014 1 commit
-
-
Brian Carlstrom authored
Bug: 14298175 Change-Id: I494cae3775a36a4fce31208ecf4ec12eb2650dd3
-
- 17 Jun, 2014 1 commit
-
-
Brian Carlstrom authored
-
- 18 Jun, 2014 1 commit
-
-
Brian Carlstrom authored
croot cd dalvik repo start dalvik-is-dead-long-live-dalvik . repo sync -c . git rm -r README.txt git rm -r dexopt git rm -r tools/deadcode.py git rm -r tools/dex-preopt git rm -r tools/dexcheck git rm -r tools/dexdeps git rm -r tools/gdbjithelper git rm -r unit-tests git rm -r vm git checkout vm/Common.h (needed by libdex) git checkout vm/DalvikVersion.h (needed by libdex) git checkout vm/Profile.h (needed by dmtracedump) git add Android.mk (after removing vm, dexopt, and unit-tests references) git commit -a -m 'Dalvik is dead, long live Dalvik! DO NOT MERGE' Bug: 14298175 Change-Id: I01fe0381737379178e3e1e16ec10f0b83ca53853
-
- 17 Jun, 2014 2 commits
-
-
Jeff Hamilton authored
Bug: 15670857 Change-Id: Iaf7e2460c4cc62128bae2f3efd4c3c9b06f1bbfc
-
Yohann Roussel authored
* commit '3e5c62bc': Split multicatch so they have different handlers.
-