51db7beb7faaea43d697321520732d1d71288f50 |
06-Sep-2013 |
Ian Rogers <irogers@google.com> |
Use exit to avoid destructors in dex2oat. (cherry picked from commit 2672a9f93caa66add6ca48a8e38ba1661ef43959) Bug: 10645725 Change-Id: I55c2a7b7f3bd105f1a6a8bf84db2204c6f87e642
ex2oat.cc
|
d76e08323893c60df77eccca6e882279e7246d8c |
30-Aug-2013 |
Brian Carlstrom <bdc@google.com> |
Make files writable on the installd path as well Bug: 9618388 Change-Id: Iabfdfe2bbc44de1fec733269c08a243af75c7dcd
ex2oat.cc
|
e0948e13d5a4552e6a2728087573c07961e4a4f9 |
29-Aug-2013 |
Brian Carlstrom <bdc@google.com> |
Make DexFiles opened from files readonly by default, but writable during dex2oat Bug: 9618388 Change-Id: I83f2e16ee8446a79a94a84971146d807bb0c9ee0
ex2oat.cc
|
f30f6daf33a9671ff756befb673482d7f3717a18 |
29-Aug-2013 |
Ian Rogers <irogers@google.com> |
Set small ART override for image as an option. Build fix for small art, avoids changing the compiler filter post runtime initialization. Change-Id: I359b5231adaa0331321dc6239305cf748d174a17
ex2oat.cc
|
3f3d22c8fc89d754172858d1770f16916b407d8b |
28-Aug-2013 |
Ian Rogers <irogers@google.com> |
Reduce the scope of a ScopedObjectAccess in dex2oat. Allow concurrent GCs during image writing, etc. Change-Id: I89b70a6dfb17f58b156e164c91457337f1c2648f
ex2oat.cc
|
c6dfdacea2fd9e268f70328805b0366cdd6b7b9e |
27-Aug-2013 |
Brian Carlstrom <bdc@google.com> |
Add buffering to ELF file generation Bug: 10496017 Change-Id: I3cbad249e0fb33f726bd0a504b3b6bd9b4f759c8
ex2oat.cc
|
fe9ca4028f379688ecba6132ac3738171176b3e4 |
21-Aug-2013 |
buzbee <buzbee@google.com> |
Compiler filter update Tweak of the compiler filter to give better results for applications which are not dominated by tight arithmetic loops. Deleted the "DeferCompilation" setting - it didn't differ enough from the "Space" setting. Added "Everything" setting to support forced compilation (for images and testing). Previously used "Speed" for that purpose, but in the speed setting there are some things we don't want to compile. Change-Id: Ia53b14f2044fc9738c1a4c1318f8204f2c25abe3
ex2oat.cc
|
46398608eaa47afe5a4cfb91e3f43211bf937d68 |
20-Aug-2013 |
Ian Rogers <irogers@google.com> |
dex2oat flag to always dump timing data. Change-Id: I67fd10aff5cc5822ad119cd8b5a26c23e7a85cac
ex2oat.cc
|
e6bb3b2ce5a69c31c2adfc7eb2705633b7f966eb |
20-Aug-2013 |
Ian Rogers <irogers@google.com> |
Reduce AOT initialization. When compiling apps there is no need to resolve all types in the dex file, just those declared in the dex file. There's also no need to initialize static fields if we can only leave the class in a verified state. Increase use of CompilerDriver::IsImage. Move timing of dex2oat setup to before Runtime::Create. On run-test 056 the performance improvement is an order of magnitude, for ThinkFree dex2oat time is dominated by compilation and this change has no effect. Bug 10316099. Change-Id: Ibdd7caa43284e7448e6a56d810967100ae4a7898
ex2oat.cc
|
7571e8b761ebc2c923525e12ea9fcf07e62cb33e |
13-Aug-2013 |
Brian Carlstrom <bdc@google.com> |
Add flock(2)ing on dex-cache files to prevent races Bug: 9071417 Change-Id: I1ee9ff281867f90fba7a8ed8bbf06b33ac29d511
ex2oat.cc
|
0f40ac31134d9ae0f059d4c448165599dc8459c1 |
14-Aug-2013 |
Ian Rogers <irogers@google.com> |
Fix races in small mode compiler filters setup Fixes host tests in small art mode. Change-Id: I2579f872583f425607f91c1e58df68b05b5098bb
ex2oat.cc
|
1d1e267136732c2b123470b05c06fa536fa6dbbb |
14-Aug-2013 |
Ian Rogers <irogers@google.com> |
Merge "Refactor java.lang.reflect implementation" into dalvik-dev
|
75a43f10f55e2aa550de51e969cc1e60d583b632 |
14-Aug-2013 |
Anwar Ghuloum <anwarg@google.com> |
Clean up logcat spam from compiler and verifier Moved to VLOG(...), adding verifer tag for VLOG. Change-Id: Ia9ac8aeaf5aa1f4881e384003e82a66e560c5692
ex2oat.cc
|
ea46f950e7a51585db293cd7f047de190a482414 |
30-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Refactor java.lang.reflect implementation Cherry-picked from commit ed41d5c44299ec5d44b8514f6e17f802f48094d1. Move to ArtMethod/Field instead of AbstractMethod/Field and have java.lang.reflect APIs delegate to ArtMethod/ArtField. Bug: 10014286. Change-Id: Iafc1d8c5b62562c9af8fb9fd8c5e1d61270536e7
ex2oat.cc
|
7b67bee4f6ca4e634f35f63d1e08e1b05f138e01 |
13-Aug-2013 |
Hiroshi Yamauchi <yamauchi@google.com> |
Merge "Add a systrace support for lock contention logging." into dalvik-dev
|
b3733086ab415088b97fac20b3eea24433a7d2c5 |
13-Aug-2013 |
Hiroshi Yamauchi <yamauchi@google.com> |
Add a systrace support for lock contention logging. - Now several ART executables like oatdump need to link with libcutils as the mutex code is shared among them. - The blocking thread ID and lock owner thread ID are passed to ScopedContentionRecorder in the correct order. Bug: 9986464 Change-Id: Id766de23fbc4af1d8ba2de051595e365b04f5ae7
ndroid.mk
|
155ecba1c9b56ce1b468135e6a591a3fe9258c52 |
13-Aug-2013 |
buzbee <buzbee@google.com> |
Fix SMALL_ART On all art builds, the images classes must be compiled. When doing a small art build, it is necessary to override the default compiler filter to force compilation. A merge mistake broke this logic for dalvik-dev. Change-Id: I88186bd89d0ccb4316ee0910e9324ddc3e6a1f75
ex2oat.cc
|
a024a0686c3b0fea13f362bff70d65981e5febc5 |
31-Jul-2013 |
buzbee <buzbee@google.com> |
Compilation filter This CL introduces a static compilation filter mechanism intended to allow us to reduce compilation time and space requirements until we have a profiling mechanism in place. It supports 5 modes of filtering: o interpret-only (compile nothing) o deferred-compilation (compile only those methods believe to be compute-intensive) o space (optimized for space) o balanced (best return on space investment) o speed (compile everything) A future CL will allow the default filtering mode to be set via system property. For now, you can pass it in via command line as follows: dalvikvm -compiler-filter:[interpret-only|defer-compilation| space|balanced|speed] or dex2oat --runtime-arg -compiler-filter:[one of the above modes] Creating a file named art/SMALL_ART will force the filter default to interpret-only. Later on we'll move this capability to a persistent system property. or modify kDefaultCompilerFilter in runtime.h It also changes the compiler driver to allow the compilers to decline to compile a method by return NULL. Change-Id: Ic73411818f8bb845a4a19a05b0395c50902c534f
ex2oat.cc
|
0f055d11096cb02563e9c040cd03c791fd8f69a3 |
26-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
resolved conflicts for merge of 7934ac28 to dalvik-dev Change-Id: I8798a6f154463d3f92f6aca62f14130aec82d273
|
7934ac288acfb2552bb0b06ec1f61e5820d924a4 |
26-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Fix cpplint whitespace/comments issues Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
ex2oat.cc
|
6f28d91aab952e3244fbb4e707fa38f85538f374 |
25-Jul-2013 |
Anwar Ghuloum <anwarg@google.com> |
Add systrace support to NewTimingLogger, migrate compiler timing logging to NewTimingLogger Rpleaced old TimingLogger by NewTimingLogger, renamed NewTimingLogger to TimingLogger, added systrace support to TimingLogger. Tests passing, phone booting, systrace working. Change-Id: I2aeffb8bcb7f0fd979d8a2a3a8bcfbaa02413679
ex2oat.cc
|
b9a0324ab64cd25730f10151b064879af8915587 |
24-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Merge "Remove OatWriter buffering to memory for ElfWriterQuick" into dalvik-dev
|
c50d8e11a098cc5c6239aa86b47d4fcf8cbb4899 |
24-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Remove OatWriter buffering to memory for ElfWriterQuick This allows the oat contents to be directly written to the file. Change-Id: Ibc7ddf57477b152f07784b52f7334be73fd22833
ex2oat.cc
|
8a7bc17da633d3577eda040ac490cbd8351dc6b9 |
23-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
am 55c0ac85: Merge "Enable darwin target build for art." * commit '55c0ac8528fb07c9f0900013b828ee8c60120860': Enable darwin target build for art.
|
19e776ceb178397661b0323a9a982f6db249a56d |
23-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Enable darwin target build for art. Change-Id: I8fc04258360d663d2fcd07c307fdfdd2981cdd19
ndroid.mk
|
7fcba11846d3320911aefdba6a20c1192e36fc2e |
22-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Restore conditional oat file copying used by build system. Change-Id: I40343e59902e894f7343e9d8bbf30f7b5602d786
ex2oat.cc
|
4560248d4c85cade7f4fc7b30c3fb41b95a04a7f |
22-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Move TimingLogger creation to dex2oat Change-Id: I4fdb6afd4ce2ac0d91c6c968893606d593b6ea18
ex2oat.cc
|
0177fe200efc1bf4d433955ee7920c683fdf5901 |
21-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Remove CompilerDriver::IsDebuggingSupported Change-Id: Ib67e3ef67462fe5dae81148f7fe8cc76b3887f11
ex2oat.cc
|
0cd7ec2dcd8d7ba30bf3ca420b40dac52849876c |
18-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Fix cpplint whitespace/blank_line issues Change-Id: Ice937e95e23dd622c17054551d4ae4cebd0ef8a2
ex2oat.cc
|
93ba893c20532990a430741e0a97212900094e8c |
18-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Fix cpplint runtime/explicit issues Change-Id: I352ba0b427f1ff9b22887693952b180eae0839ba
ex2oat.cc
|
7940e44f4517de5e2634a7e07d58d0fb26160513 |
12-Jul-2013 |
Brian Carlstrom <bdc@google.com> |
Create separate Android.mk for main build targets The runtime, compiler, dex2oat, and oatdump now are in seperate trees to prevent dependency creep. They can now be individually built without rebuilding the rest of the art projects. dalvikvm and jdwpspy were already this way. Builds in the art directory should behave as before, building everything including tests. Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81
ndroid.mk
ex2oat.cc
|