summaryrefslogtreecommitdiffstats
path: root/libdvm
Commit message (Collapse)AuthorAgeFilesLines
* Add registerAppInfo to the VMRuntime objectDave Allison2013-12-181-0/+7
| | | | | | | | | This adds the native function registerAppInfo() to the VMRuntime object. It is called by the ActivityThread in the framework to tell the runtime about application info. Bug: 11539952 Change-Id: I3958a40af5afd513f943093fb483885c2b6b119e
* Add method for updating dalvik process state through VMRuntime.Mathieu Chartier2013-11-251-0/+6
| | | | | | | | | Used to know when to do trimming and will be used for knowing when to do compaction. Bug: 8981901 Change-Id: I0f715f8c9dfc5f7399b54261fe08410449fef10e
* am 0bdc9f08: resolved conflicts for merge of ee32438e to klp-dev-plus-aospBrian Carlstrom2013-11-211-4/+5
|\ | | | | | | | | * commit '0bdc9f08a3b1cb39bb306a20153be3379e69dc4b': Fix naming to match the libart equivalent.
| * resolved conflicts for merge of ee32438e to klp-dev-plus-aospBrian Carlstrom2013-11-211-4/+5
| |\ | | | | | | | | | Change-Id: I40cb17f0392ca98378ec5349d200750c51cc0e6a
| | * Fix naming to match the libart equivalent.Narayan Kamath2013-11-211-7/+9
| | | | | | | | | | | | | | | | | | Will make libdvm / libart diffs easier to digest. Change-Id: I2e119aa8424a2f4ce82a152efbec78bc79d9cc06
* | | am 00a8f245: resolved conflicts for merge of 5af4cc5a to klp-dev-plus-aospBrian Carlstrom2013-11-211-3/+8
|\ \ \ | |/ / | | | | | | | | | * commit '00a8f245f5c91b1a61bf5ca3ca690c52496c8731': Fix getGenericSuperclass.
| * | resolved conflicts for merge of 5af4cc5a to klp-dev-plus-aospBrian Carlstrom2013-11-211-3/+8
| |\ \ | | |/ | | | | | | Change-Id: Id64c8048aab28487a7e311ed0f9b89b491d3c2ac
| | * Fix getGenericSuperclass.Narayan Kamath2013-11-211-3/+13
| | | | | | | | | | | | | | | | | | | | | It must return null whenever getSuperclass() does. bug: 10918616 Change-Id: Ief316f84516052b3234b6bbd51ed843aff915026
* | | Revert "Move proxy method matching to managed code."Brian Carlstrom2013-11-072-20/+2
| | | | | | | | | | | | | | | | | | This partially reverts commit 86c772c093c68ea69a83f44eca0ea2f16399c3aa. Change-Id: I695495e478797a4d6e0999f8374246de7f9fac13
* | | Lazier annotation signature parsing.Ian Rogers2013-11-071-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10244719. Also, make wider use of empty arrays. Also, use named inner classes to aid profiling. Remove caching as the empty result will be fast. Porting the ART changes to DVM, to avoid the caching, results in bringing in a bunch of other ART clean-up. TODO, avoid modified-UTF8 to String conversions by Dex. (cherry-picked from commit 4e7a4fad7f1bb3307af40243253b30bcb4de444e) Change-Id: I878d1e363eab0421dd56fc11a19cf4bce9613d5a
* | | Move proxy method matching to managed code.Jesse Wilson2013-11-073-5/+34
| | | | | | | | | | | | | | | | | | (cherry picked from commit b16f655ae180af36039052a919e9e371cd4456cb) Change-Id: I5e96facc34ec050e82449cf1a0046f40259cfc9a
* | | Move member classes to managed code.Jesse Wilson2013-11-071-6/+3
| | | | | | | | | | | | | | | | | | (cherry picked from commit 4271b5c9e7f63fde16c9dc52f74e7be000327dc5) Change-Id: If26a94b47beb51ff05fc4ccddca83a49255590eb
* | | Make String.equals pure Java now we have a good compiler.Ian Rogers2013-11-071-2/+36
| | | | | | | | | | | | | | | | | | (cherry picked from commit 5cd3aea190370791b9fc5f9eb57510707159ab2b) Change-Id: Ibdf4223f4bdab1971bd99c766385d02facbf0e9b
* | | am 17a9c017: am 3c91b32f: Merge "Add VMRuntime.getTargetSdkVersion."Alex Klyubin2013-10-241-2/+18
|\ \ \ | |/ / | | | | | | | | | * commit '17a9c017e2eb3b4448cefb0e75a74001f2ea286e': Add VMRuntime.getTargetSdkVersion.
| * | am 3c91b32f: Merge "Add VMRuntime.getTargetSdkVersion."Alex Klyubin2013-10-241-2/+18
| |\ \ | | |/ | | | | | | | | | * commit '3c91b32f26cd9e11fece356b005cd8437ef4b192': Add VMRuntime.getTargetSdkVersion.
| | * Add VMRuntime.getTargetSdkVersion.Alex Klyubin2013-10-241-2/+18
| | | | | | | | | | | | | | | | | | | | | The goal is to enable libcore to adjust its behavior based on the target SDK version / API Level of the app. Change-Id: I63fa337a8e4175b64485cec432dd493111db8d4a
* | | Merge "Preload DexCaches"Brian Carlstrom2013-10-211-1/+2
|\ \ \ | |/ / |/| |
| * | Preload DexCachesBrian Carlstrom2013-10-161-1/+2
| | | | | | | | | | | | | | | Bug: 11045348 Change-Id: Idbd6ad284964035a3fcf1ec360a3490f32f99d42
* | | am 0f4e2c63: Merge "Use @throws rather than the deprecated and unusual ↵Elliott Hughes2013-10-152-5/+5
|\ \ \ | | |/ | |/| | | | | | | | | | | | | @exception." * commit '0f4e2c632a4891fb3519a062ae58958017c6378f': Use @throws rather than the deprecated and unusual @exception.
| * | Use @throws rather than the deprecated and unusual @exception.Elliott Hughes2013-10-152-5/+5
| | | | | | | | | | | | Change-Id: I69d94fae14a6153ef227352e1e159697db8d618d
* | | am 9b3e8afc: Merge "Improve the charAt documentation."Elliott Hughes2013-10-151-7/+2
|\ \ \ | |/ / | | / | |/ |/| * commit '9b3e8afcd31ca87a561fd42032472b07c683f9e9': Improve the charAt documentation.
| * Improve the charAt documentation.Elliott Hughes2013-10-151-7/+2
| | | | | | | | | | Bug: https://code.google.com/p/android/issues/detail?id=61010 Change-Id: Iecdda7dfd9d47b2269ae7713b4a7cdb340f9219a
* | am c8cfc667: Preload DexCachesBrian Carlstrom2013-10-081-0/+5
|\ \ | | | | | | | | | | | | * commit 'c8cfc667ddb82b08b889a24831a3d00cc6490bd9': Preload DexCaches
| * | Preload DexCachesBrian Carlstrom2013-10-081-0/+5
| | | | | | | | | | | | | | | Bug: 11045348 Change-Id: I3025d8f95e157af602b0ae91d974cb5e6678fb3d
* | | am 5444a8ef: Merge "Fix Java 7 build."Brian Carlstrom2013-09-241-1/+1
|\ \ \ | |/ / |/| / | |/ | | * commit '5444a8ef87dc014f79914d78f468cc65fda10c77': Fix Java 7 build.
| * Fix Java 7 build.Ying Wang2013-09-201-1/+1
| | | | | | | | | | | | | | | | | | See http://bugs.sun.com/view_bug.do?bug_id=6904536 Bug: 8992787 (cherry-picked from a9a297845620cfe56bbe3b9f8de1331b7ec54574) Change-Id: I14ff930b02914563493fbcd971f3393fa0c12105
| * Add libcore support for sample profiling from traceview gui.Jeff Hao2013-08-271-376/+0
| | | | | | | | | | | | (cherry picked from commit 86bb14a3e4d7ef3b8b4240bbc2a8b989a1b8c7c0) Change-Id: I19fa7fbf5ff1e9a0aa2e910d38f3145f4db1a79c
| * Merge "Synced java.util.concurrent library up to 2013.07.01."Elliott Hughes2013-08-161-4/+18
| |\
| | * Synced java.util.concurrent library up to 2013.07.01.Calin Juravle2013-08-141-4/+18
| | | | | | | | | | | | | | | | | | | | | Compared to the reference code base I re-added AbstracMap as a base class for ConcurrentHashMap. Change-Id: I0751638784e962425418ea8640721c00d7200873
| * | Minor cleanup of AccessibleObjectBrian Carlstrom2013-08-151-5/+5
| | | | | | | | | | | | | | | | | | | | | (cherry-picked from 1222a700a25956b0e3634731160017f0d3aa0585) Bug: 10014286 Change-Id: I632b501e274419a7fe82732ad4a64e697c609bda
| * | Move support files back with DexClassLoader and PathClassLoaderBrian Carlstrom2013-08-153-900/+0
| |/ | | | | | | | | | | | | (cherry-picked from commit ca2c58ceaf2d35d30fe06b1676cc1436a24c4d30) Bug: 9071417 Change-Id: Id97f12b4a1b1266b1bb21a323a8976f9df3dd0ad
* | Avoid computing class def indices.Ian Rogers2013-09-211-21/+96
| | | | | | | | | | | | | | | | | | | | | | Bug: 10244719 Also tidy AnnotationAccess. (cherry-picked from 8b2c0b9abc3f520495f4387ea040132ba85cae69) Change-Id: I6ec8fd4e36b428d7e16e01d98b7bebc143fac8c3 Conflicts: libdvm/src/main/java/java/lang/Class.java
* | Fix getGenericInterfaces for the no annotation case.Ian Rogers2013-09-211-1/+1
| | | | | | | | | | | | | | | | | | Bug: 10244719 (cherry-picked from 43111aab512b1a7c7c8095a7135a7ae2754ea5bd) Change-Id: I758d32e9cffcabf771e6f5f86ffa2666c8e1cb02 Conflicts: libdvm/src/main/java/java/lang/Class.java
* | Lazier annotation signature parsing.Ian Rogers2013-09-213-40/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10244719. Also, make wider use of empty arrays. Also, use named inner classes to aid profiling. Remove caching as the empty result will be fast. Porting the ART changes to DVM, to avoid the caching, results in bringing in a bunch of other ART clean-up. TODO, avoid modified-UTF8 to String conversions by Dex. Change-Id: I051b6e34b5a4e7a7f1383461a799755947a5ba36 Conflicts: libdvm/src/main/java/java/lang/Class.java
* | Use the docs-approved Android x.y (Name) format consistently.Elliott Hughes2013-09-031-5/+5
| | | | | | | | | | | | | | Also include the API level where the reason for mentioning the version is an API difference (as opposed to simply a behavioral difference). Change-Id: Idd69630fc5d6f6f0bd5d1c524cb32fd8c2fb750d
* | Add libcore support for sample profiling from traceview gui.Jeff Hao2013-08-281-397/+0
| | | | | | | | | | | | | | | | | | This change unifies the native method tracing interface between art and dalvik, and so the two files can merged again. (cherry picked from commit cd28c9550cbc77b5b856a13638f221f1cd9fc6ab) Change-Id: Id834945644615c4d8d8536140842d9036f38fbeb
* | Share ClassLoader codeBrian Carlstrom2013-08-143-900/+0
| | | | | | | | | | Bug: 9071417 Change-Id: Icdde3aace023d1d7509c932cdd71f203213b59d6
* | Refactor ART java.lang.reflect implementationBrian Carlstrom2013-08-131-5/+5
| | | | | | | | | | | | | | | | Bug: 10014286. (cherry picked from commit 1222a700a25956b0e3634731160017f0d3aa0585) Change-Id: Ic5672489f6c028d47e6c2a499d6a2bbdd5cc4e4c
* | Remove updateProcessState.Mathieu Chartier2013-08-101-7/+0
| | | | | | | | Change-Id: Icbbc65dbc51bb46e64df27a5066b2ef08fe7b93f (cherry picked from commit 7798d7373c11f47a81f465577e4074480de82af6)
* | Show size/alloc/free per Dalvik heap space in dumpsysHiroshi Yamauchi2013-07-311-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | Add the heap size/alloc/free stats to the Dalvik heap space breakdown section in dumpsys meminfo. Also, now the zygote heap has a distict ashmem region name. Bug: 9532137 Bug: 8266259 (cherry picked from commit 8a620d52b5d12599b539c7a7621daf3012de5074) Change-Id: I7283e30cefbc6c57b23a5dc1ae88b037f3e11bbf
* | am 22606cfa: Merge "Remove some unused java.lang.reflect constructors"Brian Carlstrom2013-07-293-30/+1
|\ \ | |/ | | | | | | * commit '22606cfa0888c6848b56613b3d62f130c1754100': Remove some unused java.lang.reflect constructors
| * Remove some unused java.lang.reflect constructorsBrian Carlstrom2013-07-293-30/+1
| | | | | | | | Change-Id: I481b5f77344e10204371074f2eb41bcf293d16ad
| * Fix build.Elliott Hughes2013-07-292-0/+2
| | | | | | | | | | | | (cherry-pick of b4c2ec89de5bafcc5ce59e384f9688b069bb36f8.) Change-Id: Ie257696fe7a5e9848dfdab98799b645ce87701d9
| * Use the libcore.reflect implementation.Elliott Hughes2013-07-2912-1009/+82
| | | | | | | | | | | | (cherry-pick of 07e1d1125c11b8e037a31e9ebb6b64332a394a9f.) Change-Id: I06ccfb93525525ec4f417bcbabdcead2e817ced6
* | Fix build.Elliott Hughes2013-07-292-0/+2
| | | | | | | | Change-Id: I221a00ad7d6f4f15317ba34a79f3fba4a6990638
* | Use the libcore.reflect implementation.Elliott Hughes2013-07-2512-1009/+82
| | | | | | | | Change-Id: I3cb180d3c1912b9362c5a2e8dbedc1e80fb0c14f
* | am 5a2fc9c9: am 4323ab38: Merge "Simplify merges of the annotation code."Elliott Hughes2013-07-232-697/+0
|\ \ | |/ | | | | | | * commit '5a2fc9c912510c65504a548f2b26328d11017059': Simplify merges of the annotation code.
| * Simplify merges of the annotation code.Elliott Hughes2013-07-232-697/+0
| | | | | | | | Change-Id: Ifb43ae14efcbfad1da600f97e3b3763ad9764b1f
* | am 73599f39: am f59830ff: Merge "Synchronize access to the annotation cache."Elliott Hughes2013-07-231-53/+46
|\ \ | |/ | | | | | | * commit '73599f39d3c9b14f0c698413c4b6be0357f156f6': Synchronize access to the annotation cache.
| * Synchronize access to the annotation cache.Elliott Hughes2013-07-231-53/+46
| | | | | | | | | | Bug: https://code.google.com/p/android/issues/detail?id=57649 Change-Id: Icfd1e8dea317e4f8dec735ff709781dea0c0dc71