aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dalvik: Rename perf flagHEADkitkatSteve Kondik2014-09-161-1/+1
| | | | Change-Id: I5aab012bbe9e461d24011bca3b3c0fa17b22be5f
* Dalvik :Increase the upper limit check for DexOpt Deps tableTapas Pradhan2014-09-141-1/+1
| | | | | | | | | | Increasing upper limit check for the Deps table as additonal jars added causes the dalvik to crash while performing dexopt on cached jar files. This is needed for passing cts test case which is part of libcore.java.util.jar.DalvikExecTest class Change-Id: I13e7f4b0a5f9fe11fceb447ae3f64e8dc4ccf164 CR:697166
* Dalvik :Increase the upper limit check for DexOpt Deps tableTapas Pradhan2014-07-231-1/+1
| | | | | | | | | | Increasing upper limit check for the Deps table as additonal jars added causes the dalvik to crash while performing dexopt on cached jar files. This is needed for passing cts test case which is part of libcore.java.util.jar.DalvikExecTest class Change-Id: I6d8d79be2f400585fb89382b1923f2a0494b4393 CR:681070
* dalvik: use memmove_words for word atomic memmoveWei Wang2014-07-231-4/+4
| | | | | | use memmove_words for word atomic memmove Change-Id: Ife31c217f7038f5054969b4bbe1108b351881b3b
* Changed dvmDexCacheStatus to check for odex file first.Jeff Hao2014-06-031-51/+55
| | | | | | | | This prevents the generation of a new dexfile when an odex file already exists when switching between Art and Dalvik. Bug: 13463154 Change-Id: I55ef9abe1fe172ee656550e78556381f95698c33
* Fix BufferOverflowException when merging dexesBenoit Lamarche2014-06-031-1/+7
| | | | | | | | | | Bug: 11519714 The bug was due to the fact that when merging 2 dexes, not enough size may be reserved for the "typeLists" section. This is because we only aligned the sum of the size of both sections. If both typeLists sections were aligned with 2 and not with 4, we are 4 bytes short when writing. Change-Id: I73b51eb25434a622143011741a69b88d42507f43 (cherry picked from commit 2241dbe132cf90b58f93c014bdd807405b7f82f5)
* Deactivate multi-thread in multi-dex modeBenoit Lamarche2014-06-031-1/+2
| | | | | | It should already have been the case, but it wasn't and it crashed. Change-Id: Icb461d6e43ef2d113f59038d8c2327f3cfaff86c (cherry picked from commit cf069ca52f2af9f70fcbeac99443f00401d43b4a)
* dalvik: Disable loop hoisting optimization on perf buildsSteve Kondik2014-05-081-0/+4
| | | | | | * Fixes VSCO Cam array traversal crash when perf is enabled. Change-Id: I57e59e407a538c4cc48972f4cf3167c505d7ded4
* Revert "Use MAP_FIXED in remapNewHeap"Ricardo Cerqueira2014-05-011-1/+1
| | | | | | | This reverts commit 462bc921aefe3b96e8cc7dae91e234b0e455966c, it breaks android.openglperf.cts.GlAppSwitchTest#testGlActivitySwitchingFast Change-Id: Ic153994859f678dbef4328bee5740e21beb735e0
* Revert "Change exception message for ArrayStoreException."Ricardo Cerqueira2014-04-291-1/+1
| | | | | | | | | Fix all the libcore.java.lang.ArrayStoreExceptionTest failures. Why are we pulling cosmetic changes from master? This reverts commit 653ffbf481aa19c4f6c9a358b33d0d812758dfe5. Change-Id: Icc4d1b40c578a5eef6890e9a03c7b10a96b75c0b
* Merge "Dalvik: Add hardware support for OP_LONG_TO_DOUBLE in the ↵Davor Bertovic2014-04-013-13/+45
|\ | | | | | | interpreter" into kitkat
| * Dalvik: Add hardware support for OP_LONG_TO_DOUBLE in the interpreterSerban Constantinescu2014-04-013-13/+45
| | | | | | | | | | | | | | | | | | The following patch adds hardware vfp support for OP_LONG_TO_DOUBLE in the interpreter. Previously this opcode was implemented using one of gcc's builtin helpers. Change-Id: I7713aa03c0b0bed8df592710dd50ab3d13d4bd9b Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* | Merge "Dalvik: Add sdiv support in the interpreter" into kitkatDavor Bertovic2014-04-0112-308/+504
|\|
| * Dalvik: Add sdiv support in the interpreterSerban Constantinescu2014-04-0112-308/+504
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds hardware divide support in the interpreter side of dalvik. This operation is supported on new armv7 cpus such as A15 or A7. Opcodes added: OP_DIV_INT OP_DIV_INT_2ADDR OP_DIV_INT_LIT16 OP_DIV_INT_LIT8 OP_REM_INT OP_REM_INT_2ADDR OP_REM_INT_LIT16 OP_REM_INT_LIT8 Change-Id: Ib1ec5856d957feadd90807fe53ec34cc0e1fd4a2 Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
* | Merge "Revert "Revert "Don't implicitly cast NULL to a bool""" into kitkatDavor Bertovic2014-04-011-3/+3
|\ \
| * | Revert "Revert "Don't implicitly cast NULL to a bool""Davor Bertovic2014-04-011-3/+3
| | | | | | | | | | | | | | | | | | This reverts commit 505388b8554d895aee107b7da770ff63474b436a. Change-Id: I795141c00c5943f0f1fd0059fe6ab85e003ae224
* | | Merge "Revert "Revert "Initialize callTgt variable""" into kitkatDavor Bertovic2014-04-011-1/+1
|\ \ \
| * | | Revert "Revert "Initialize callTgt variable""Davor Bertovic2014-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5d1ce32a68a9d4e8eaef82ce7e5362d583604a24. Change-Id: Ibc369bee8d9ab982bbf527f74ad0998255125f3e
* | | | Merge "Revert "Revert "Remove code related to extended-opcode.""" into kitkatDavor Bertovic2014-04-014-49/+6
|\ \ \ \
| * | | | Revert "Revert "Remove code related to extended-opcode.""Davor Bertovic2014-04-014-49/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 241e089ede168a1d89b2ba0cebae4d4b9a3d8586. Change-Id: I92c38e95ce95c260637b041390fff9b72d2f2b65
* | | | | Merge "Revert "Revert "Change exception message for ArrayStoreException.""" ↵Davor Bertovic2014-04-011-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | into kitkat
| * | | | | Revert "Revert "Change exception message for ArrayStoreException.""Davor Bertovic2014-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7f546ce9c78a778a24a6c3133f732fd83134a3dd. Change-Id: I5d6ca8be2d53f0ff6fa9ee8a17849ca4cf127bb8
* | | | | | Merge "Revert "Revert "Fix dx test 034.""" into kitkatDavor Bertovic2014-04-011-1/+1
|\ \ \ \ \ \
| * | | | | | Revert "Revert "Fix dx test 034.""Davor Bertovic2014-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 847b222d87865371590ff7587ae1a7de8823ee47. Change-Id: I5587003b33c674465af1643e484de9a589eae1d7
* | | | | | | Merge "Revert "Revert "Use MAP_FIXED in remapNewHeap""" into kitkatDavor Bertovic2014-04-011-1/+1
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Revert "Revert "Use MAP_FIXED in remapNewHeap""Davor Bertovic2014-04-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 95d2bc928952165cd84aa0c5fe5f572b7ec2c807. Change-Id: I100b42df21048841aeae3adce67059e15e65315f
* | | | | | | Merge "Revert "Don't implicitly cast NULL to a bool"" into kitkatDavor Bertovic2014-03-301-3/+3
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Revert "Don't implicitly cast NULL to a bool"Davor Bertovic2014-03-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 734b384dba2c6c7d2c16e78e0babb383e5f2200a. Change-Id: Iac1d86c9bb11816a981e8849c9b0d3a95d264412
* | | | | | | Merge "Revert "Initialize callTgt variable"" into kitkatDavor Bertovic2014-03-301-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Revert "Initialize callTgt variable"Davor Bertovic2014-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 2ad51eaac2ce87c15593269ad842763bd4dc4da9. Change-Id: I8163b2af3e5082b184f495e1e30e29193d4fde7a
* | | | | | | Merge "Revert "Remove code related to extended-opcode."" into kitkatDavor Bertovic2014-03-304-6/+49
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Revert "Remove code related to extended-opcode."Davor Bertovic2014-03-304-6/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6527b83f7327af4a3919f07054129130e44fdef3. Change-Id: I782de6800999ce57af8caa50c9900a225ed1fe35
* | | | | | | Merge "Revert "Change exception message for ArrayStoreException."" into kitkatDavor Bertovic2014-03-301-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Revert "Change exception message for ArrayStoreException."Davor Bertovic2014-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a50c1024213a5c5eaad414b6542bae7bab1d3549. Change-Id: Iae9e41ba8e54409f007c95e3c9bbc9abb645cdee
* | | | | | | Merge "Revert "Fix dx test 034."" into kitkatDavor Bertovic2014-03-301-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Revert "Fix dx test 034."Davor Bertovic2014-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 97abad3f39d624eebd827ae59a5bbdae64056f9a. Change-Id: I92ac54f2ad7c700e2e24baa42b6e6c52c348561c
* | | | | | | Merge "Revert "Use MAP_FIXED in remapNewHeap"" into kitkatDavor Bertovic2014-03-301-1/+1
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | |
| * | | | | | Revert "Use MAP_FIXED in remapNewHeap"Davor Bertovic2014-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 798643be51d789aec8f7ad6c7dfb1ee01774babb. Change-Id: I07a2ac84028b8b9c14f69a9452e83560b22933b8
* | | | | | | Dalvik : Increase the upper limit check for DexOpt Deps tableTapas Pradhan2014-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increasing upper limit check for the Deps table as additonal jars added causes the dalvik to crash while performing dexopt on cached jar files. This is needed for passing cts test case which is part of libcore.java.util.jar.DalvikExecTest class Change-Id: I63119dc3e45df19910ae70cedad6109075672d6e
* | | | | | | dalvik: add placeholder for future changesWei Wang2014-03-282-1/+10
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add placeholder for future changes Change-Id: I09dd704a60857de71cafd7e6b64ee750c5cb95b1
* / / / / / Use MAP_FIXED in remapNewHeapPete Delaney2014-03-281-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The heap address must not change when it is remapped Change-Id: Ia44f178932e2afe8de3d4739e7085caae8568885 Signed-off-by: Pete Delaney <piet.delaney@imgtec.com> Signed-off-by: Chris Dearman <chris.dearman@imgtec.com>
* / / / / Fix dx test 034.Jean-Marie Henaff2014-03-281-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Test 034 requires that a dex file is dumped in a human readable form even if the dex file does not contain ClassDef. Consequently, the command line behavior is modified to satisfy this requirement. (cherry-pick from commit 64f4aad1e6ef58b29f860b59512ca1a676ac6eb8) Change-Id: Id64b563745db2b22ec98fba9be25413192c07719
* / / / Change exception message for ArrayStoreException.Narayan Kamath2014-03-281-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The exception message is tested in SystemTest. I'm not sure what's worse: Changing the dalvik message or changing the test to be happy with both messages. (I assume the art message is the one we chose because it's more recent.) Change-Id: Ia68641a05f992ab5a949add865fb3f7bb46e61be
* / / Remove code related to extended-opcode.Jean-Marie Henaff2014-03-284-49/+6
|/ / | | | | | | | | | | | | | | - This support was removed one year ago. (cherry-pick from commit 18b65cbb3ec6634618bd3240a692507432e634b5) Change-Id: I1154e518dc8a15220f2fcb163056570030492bb0
* / Initialize callTgt variableBernhard Rosenkränzer2014-03-281-1/+1
|/ | | | | | | | | | | | This silcences a clang build failure: dalvik/vm/compiler/codegen/arm/armv7-a-neon/../CodegenDriver.cpp:904:41: error: variable 'callTgt' is uninitialized when used here [-Werror,-Wuninitialized] LOAD_FUNC_ADDR(cUnit, r2, (int) callTgt); ^~~~~~~ Change-Id: Ic5b3bb492f19b842743bf7d6214c89301ff524e7 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* Don't implicitly cast NULL to a boolBernhard Rosenkränzer2014-03-281-3/+3
| | | | | | | | The code is wrong and causes an error when building with clang 3.4 (-Werror,-Wnull-conversion) Change-Id: If03aa782fa25337802ff906a0d06071fbda93e26 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* vm: Enable fast multiply on perf builds tooSteve Kondik2014-03-245-13/+2
| | | | Change-Id: I74d152ea9cfe5b15daa9a8353ca27d8afa7474d2
* Remove old fork-and-specialize APIDave Platt2014-02-211-18/+1
| | | | | | | | | As promised, this is the cleanup patch-set which removes the old native "fork and specialize" API, which has been replaced by a slightly-enhanced one which can close the Zygote socket descriptors in the Zygote child. Change-Id: I33f504afd242e268863270139b4e421d4b0728f2
* Finish fixing Zygote descriptor leakage problemDave Platt2014-02-211-3/+76
| | | | | | | | | | | | | | | | | | In order to prevent Zygote descriptors from leaking into the child environment, they should be closed by the forked-off child process before the child switches to the application UID. These changes close the descriptors via dup2(), substituting a descriptor open to /dev/null in their place; this allows the Zygote Java code to close the FileDescriptor objects cleanly. This is a multi-project change: dalvik, art, libcore, frameworks/base, and external/sepolicy are affected. The CLs need to be approved together, lest the build break or the software fail to boot. Round 2: whitespace Bug: 12114500 Change-Id: I989c83291d0c42d4cad63f24a3e98a93e231c9d3
* dalvik: Fix leak in error condition in FindClassIvan Evlogiev2014-01-281-0/+1
| | | | | | Release trackedLoader for all exit points in FindClass Change-Id: I2da26ed6253c2b1b9381bff394596245b993602c