summaryrefslogtreecommitdiffstats
path: root/dalvikvm/dalvikvm.cc
Commit message (Collapse)AuthorAgeFilesLines
* Replace NULL with nullptrMathieu Chartier2015-04-221-11/+11
| | | | | | | Also fixed some lines that were too long, and a few other minor details. Change-Id: I6efba5fb6e03eb5d0a300fddb2a75bf8e2f175cb
* Add AbstractMethod, Constructor, MethodMathieu Chartier2015-04-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moves functionality to ART from libcore. Precursor to moving ArtMethods to native. Mostly performance improvements. N5 perf before (irrelevant results removed): Class_getConstructor 962.87 =========== Class_getDeclaredMethod 2394.37 ============================ Class_getMethod 2509.20 ============================== Class_newInstance 1999.81 ======================= Method_invokeI 1439.02 ================= Method_invokePreBoxedI 1415.82 ================ Method_invokeStaticI 1456.24 ================= Method_invokeStaticPreBoxedI 1427.32 ================= Method_invokeStaticV 814.47 ========= Method_invokeV 816.56 ========= After: benchmark ns linear runtime Class_getConstructor 1302.04 ================ Class_getDeclaredMethod 1459.01 ================== Class_getMethod 1560.40 =================== Class_newInstance 2029.94 ========================= Method_invokeI 1312.89 ================ Method_invokePreBoxedI 1255.01 =============== Method_invokeStaticI 1289.13 =============== Method_invokeStaticPreBoxedI 1196.52 ============== Method_invokeStaticV 790.82 ========= Method_invokeV 791.73 ========= Performance improvements are more than just fixing regressions introduced in: http://android-review.googlesource.com/#/c/146069/ Bug: 19264997 Change-Id: Ife79c469fdb09f30e3aefcfc3e0ce5ed32303fce
* Fix error message to match the code.Piotr Jastrzebski2014-10-171-1/+1
| | | | | | | The code checks that curr_opt > option_count but error message says that curr_opt >= option_count. Change-Id: I19cd077e2383ad9a368e324a1e35cc98170a40a4
* Now we have a proper C++ library, use std::unique_ptr.Ian Rogers2014-05-191-3/+2
| | | | | | | Also remove the Android.libcxx.mk and other bits of stlport compatibility mechanics. Change-Id: Icdf7188ba3c79cdf5617672c1cfd0a68ae596a61
* Add missing header necessary for libc++.Ian Rogers2014-05-161-0/+1
| | | | Change-Id: I0fe951f681415cf40b3e3f606feffd5bd6bd14c8
* Compatibility layer to transition from UniquePtr to std::unique_ptr.Ian Rogers2014-05-151-1/+1
| | | | | | | | | Use ART_WITH_STLPORT (enabled for the target) to cause the use of UniquePtr, for the host switch to std::unique_ptr. For now the type remains called UniquePtr. Make dalvik compile with clang on the host, move its build to C++11. Change-Id: I5ba8d2757904bc089ed62047ea03de3c0853fb12
* Preparation for transition to libc++.Ian Rogers2014-04-161-3/+2
| | | | | | | Move the dependency on libc++ to its own makefile so that we can switch in a single place between libc++ and stlport. Change-Id: Ie61e7d054dcd049e36d5e7298c27d8a4abe6edf7
* Fix dalvikvm -helpBrian Carlstrom2014-02-251-9/+9
| | | | | Bug: https://code.google.com/p/android/issues/detail?id=62149 Change-Id: I8ab11cc7c171dc4b7eee1d33aa1624aae832a393
* Add explicit dependency on algorithmKenny Root2013-09-111-0/+1
| | | | | (cherry picked from commit f409f8134fa7222bc56f50a96cd541bb76ce75e9) Change-Id: I3edb34b3c3a1e89a195db18ad8e6a71bc7b4a570
* Fix cpplint whitespace/comments issuesBrian Carlstrom2013-07-261-1/+1
| | | | Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
* Let dalvikvm default based on persist.sys.dalvik.vm.libBrian Carlstrom2013-07-111-1/+1
| | | | Change-Id: I0e2aa9b1227d9665c37366d6d7bdca2b6c009271
* Use libnativehelper to find JNI_CreateJavaVMBrian Carlstrom2013-06-201-18/+4
| | | | Change-Id: If5da43aee75a3ac5337a90b25264ac30129e3933
* Add missing dlcloseBrian Carlstrom2013-06-181-0/+1
| | | | Change-Id: I02c893fc59f0d3bea8a24c4c0fc39e2f34592a34
* Move to new art dalvikvmBrian Carlstrom2013-06-171-0/+225
Change-Id: Ib04bc9853b7084965fa0c9899c3e5f5ac42d4ce7