History log of /art/dalvikvm/dalvikvm.cc
Revision Date Author Comments
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
fc58af45e342ba9e18bbdf597f205a58ec731658 17-Apr-2015 Mathieu Chartier <mathieuc@google.com> Add AbstractMethod, Constructor, Method

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
2eebc9956095f3fb510692acda478f39a364fb74 17-Oct-2014 Piotr Jastrzebski <haaawk@google.com> Fix error message to match the code.

The code checks that curr_opt > option_count
but error message says that curr_opt >= option_count.

Change-Id: I19cd077e2383ad9a368e324a1e35cc98170a40a4
700a402244a1a423da4f3ba8032459f4b65fa18f 20-May-2014 Ian Rogers <irogers@google.com> Now we have a proper C++ library, use std::unique_ptr.

Also remove the Android.libcxx.mk and other bits of stlport compatibility
mechanics.

Change-Id: Icdf7188ba3c79cdf5617672c1cfd0a68ae596a61
866ac80d18c37a3854a8c857cb084614fba01110 16-May-2014 Ian Rogers <irogers@google.com> Add missing header necessary for libc++.

Change-Id: I0fe951f681415cf40b3e3f606feffd5bd6bd14c8
507dfdd147c97bfbadebfd63584d094b6a4e7b47 16-May-2014 Ian Rogers <irogers@google.com> Compatibility layer to transition from UniquePtr to std::unique_ptr.

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
bd5ea6a2f7c61c4cd7b66fead1bedd96e938369d 17-Apr-2014 Ian Rogers <irogers@google.com> Preparation for transition to libc++.

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
686107ea2f123edf8fbba2df5081a5f0b6de4d13 26-Feb-2014 Brian Carlstrom <bdc@google.com> Fix dalvikvm -help

Bug: https://code.google.com/p/android/issues/detail?id=62149
Change-Id: I8ab11cc7c171dc4b7eee1d33aa1624aae832a393
570c009c9994225db8cb94838e0adcaf306aa9b9 12-Sep-2013 Kenny Root <kroot@google.com> Add explicit dependency on algorithm

(cherry picked from commit f409f8134fa7222bc56f50a96cd541bb76ce75e9)

Change-Id: I3edb34b3c3a1e89a195db18ad8e6a71bc7b4a570
f409f8134fa7222bc56f50a96cd541bb76ce75e9 12-Sep-2013 Kenny Root <kroot@google.com> Add explicit dependency on algorithm

Change-Id: I3edb34b3c3a1e89a195db18ad8e6a71bc7b4a570
7934ac288acfb2552bb0b06ec1f61e5820d924a4 26-Jul-2013 Brian Carlstrom <bdc@google.com> Fix cpplint whitespace/comments issues

Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
934313b5b14474fee3b84bbda0f0d3fe4805c63f 11-Jul-2013 Brian Carlstrom <bdc@google.com> Let dalvikvm default based on persist.sys.dalvik.vm.lib

Change-Id: I0e2aa9b1227d9665c37366d6d7bdca2b6c009271
0eba633357c6c01b298434c7fd8a5705b5b2e18f 20-Jun-2013 Brian Carlstrom <bdc@google.com> Use libnativehelper to find JNI_CreateJavaVM

Change-Id: If5da43aee75a3ac5337a90b25264ac30129e3933
ad27f28fa7516b169ee9947ca24a04fd5600f2e6 19-Jun-2013 Brian Carlstrom <bdc@google.com> Add missing dlclose

Change-Id: I02c893fc59f0d3bea8a24c4c0fc39e2f34592a34
fa42b4410d49134a8e63dc2196be4013d286f2d6 17-Jun-2013 Brian Carlstrom <bdc@google.com> Move to new art dalvikvm

Change-Id: Ib04bc9853b7084965fa0c9899c3e5f5ac42d4ce7