| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ia383c0a0847684a513cab7db44b4ecf8fe05e1c3
|
|
|
|
| |
Change-Id: I3eaa1fa1085bb4d28fe342a7420272720e48274b
|
|
|
|
|
|
|
|
|
|
|
| |
Remove #error in common_test.h that fires with clang build and replace with
runtime error.
Fix bit rot caused by not compiling with Wthread-safety.
Fix clang build issues in compiler relating to missing header file definitions
in object files.
Other minor build and tidying issues.
Change-Id: Ife829ab0664581936155be524de46e6181c750b0
|
|
|
|
| |
Change-Id: Ib0b2829fed9d7efee09d098ce4db9d13f2fa2eac
|
|
|
|
| |
Change-Id: If234c2bfae2a7211caed0b7471d7661f2e69e2f0
|
|
|
|
|
|
|
| |
Note that the oat file version is now bumped to 004. A clean-oat will be
necessary after syncing this change.
Change-Id: If8875335b7fcc39b6b40c6f95de07da50da7b6b8
|
|
|
|
| |
Change-Id: Ia2459c7da6b79e0a1c0f1148c6e28ad9cbbe27a2
|
|
|
|
|
|
|
| |
ART_USE_LLVM_COMPILER is removed and when necessary ART_USE_PORTABLE_COMPILER
is used in #ifdefs.
Change-Id: Iffa9ce5b0246c7c427ccc4e67ecc134624632e55
|
|
|
|
|
|
|
|
|
| |
Break object.h into constituent files.
Reduce number of #includes in other GC header files.
Introduce -inl.h files to avoid mirror files #include-ing each other.
Check invariants of verifier RegTypes for all constructors.
Change-Id: Iecf1171c02910ac152d52947330ef456df4043bc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generates .oat in ELF file format using MCLinker
- Uses MCLinker IRBuilder to create a synthetic .o from OatWriter output.
- Uses new ElfFile for prelinking to support art image optimizations.
Adapted OatFile to load using dlopen, ElfFile, or memory, removing raw MemMap mechanism.
Changed image code to not assume oat data will be immediately after
image to allow space for ELF headers.
Passes test-art and works with installd.
Change-Id: Idc026eddb5de93f4b97490c405f3ed7b39589749
|
|
|
|
| |
Change-Id: Ief03e9154d038fa977fe5eb38b1b9aef6659231f
|
|
|
|
| |
Change-Id: Ifdb98a63376014a698b53bc926fb1c5512dc2e57
|
|
|
|
| |
Change-Id: I15d1ecfb9900a07b36209015e8b47718fdee19a7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in dex cache.
Generic clean up to facilitate having GDB macros for Pretty* helper functions.
Improved cleanliness of DexCache since having it as an object array was not the best solution.
Fixed a bug in InOrderWalk caused by ResolveType sometimes allocating classes.
Rename C++ Method to AbstractMethod and add two new classes Constructor, Method which both inherit from AbstractMethod.
Rename done to have the C++ code be closer to the java code.
Change-Id: I4995b4c5e47a3822192b08afa24a639d3b1f4da9
|
|
|
|
|
|
|
|
|
| |
Rather than translate a native PC to a Dex PC and then to the reference
bitmap, just go straight from the native PC to the reference bitmap.
Encode the native PC offsets using a hash rather than linearly
searching.
Change-Id: Iee1073d93c941c0a31f639e5f23cea9e9f747bee
|
|
|
|
| |
Change-Id: I0984c395bbd1ee4b206eafd19915b6f68781dd16
|
|
|
|
| |
Change-Id: Ic56fb397f3bd6dee32372eb875261a3383eaf30c
|
|
|
|
|
|
|
| |
(If you ignore the compilers, we've got relatively little lint now. Fits on
a single screen.)
Change-Id: I51389002894d4fd8cf46f79d2bac57079322a030
|
|
|
|
| |
Change-Id: I2a5815cc2a38f5cea9e9c36e5e6db92c1a861eaa
|
|
|
|
| |
Change-Id: Id8ba59c62795d885a18b3cc634e7ef370a2d2f97
|
|
|
|
| |
Change-Id: Iae5ba2091c55a34dbd1005cf3d25fce2a8d5c1f9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We replaced LLVMLongName and LLVMStubName with ElfFuncName,
and we are using the simple name: Art0, Art1, ..., ArtN,
as the function name of every generated functions. This
gives us 3 benefits:
1. We can avoid the ambiguous function name returned by
LLVMLongName() in some special situation.
2. We don't need to have the art::Method object during
the executable linking procedure. Besides, this will
make bootstrapping easier.
3. Reduce the size of the ELF executable, since we don't
have to save a long function name, which usually contains
more than 30 characters.
Change-Id: Ib698062b272458e847ad5545d7acf33a4dc9eb85
|
|
|
|
| |
Change-Id: I062c3cc78ff9a35d0efcbc9451e7e7ccb055667b
|
|
|
|
| |
Change-Id: I51c04d731d6de035328781d8ac134ad6fcf49897
|
|
|
|
|
|
| |
(cherry picked from commit 0228e7eacadb1c829e4e1064bec0792c2696e66f)
Change-Id: I649b14b6f8ec9ba43f82c3670f88b064ac008ada
|
|
|
|
| |
Change-Id: I11fd2db2badf7bd98e7866ca2155d8ef1e112408
|
|
|
|
| |
Change-Id: Idbbdf19f3a77498d79d043fd33ca12ce39cafbb7
|
|
|
|
| |
Change-Id: Ic2519551864dd7090ba98f2fc92318f95f92947f
|
|
|
|
| |
Change-Id: I7dccdffb3bac422fee52a4bd82dfac220da91722
|
|
|
|
| |
Change-Id: I4696fee58e43db48540e2442c4235fc4bb02d9e3
|
|
|
|
| |
Change-Id: Ic3d13f3d591c34f159bf0739536a1751c3e7dc75
|
|
|
|
| |
Change-Id: I5b7bc76a370238d810d78522bd5531600746700f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
naming.
We fail assertions in the existing heap code, as does Dalvik. This refactoring
is to clean the heap and space APIs and to reduce duplication of data
and thereby solve a failing assertion in the card table.
This change also wires up clearing of soft references including before
out-of-memory errors are reported.
In doing this change it was made clear that mspaces are buggy (and
violating invariants with the garbage collector). This
change upgrades to an un-Android molested version of dlmalloc-2.8.5 and
implements a version of the mspace morecore routine under ART control.
run-test 061-out-of-memory is updated for current heap sizes.
Change-Id: I377e83ab2a8c78afb9b1881f03356929e2c9dc64
|
|
|
|
| |
Change-Id: Ied0462c711a09e2542f231c3b2fa31239958bd28
|
|
|
|
|
|
|
|
| |
char*s are pointers in CHECKs, not 1970s-style strings.
Also fix an unnecessary std::string copy and remove two unused #includes.
Change-Id: I0045878f86e15c4f1d0fd4f61953334e826eb75c
|
|
|
|
| |
Change-Id: I328de86a89c7d84a211b3aed3d42b8c92c1f3464
|
|
|
|
| |
Change-Id: Ic300c0ee60f9699a2ef351c89121750af637dade
|
|
|
|
| |
Change-Id: I5a327a4e0b678bd9dabb12de4e21ef05e3fefd0b
|
|
|
|
| |
Change-Id: I82b8eac2f90902b2adaca67d97dbf4d601c19122
|
|
|
|
| |
Change-Id: Ia88f9d302e0f9cd72be2199ee46d212d99864c67
|
|
|
|
|
|
|
|
|
| |
Remove the dependence on the Method object in dex2oat, allowing lazier
resolution.
Introduce new find and iterators in DexFile to simplify common
operations and avoid misuse of class data items.
Change-Id: I39fb8252190f543d89d8b233076355cec310fe08
|
|
|
|
|
|
|
|
| |
This allows the old dalvik tests to be run without ever explicitly
running dex2oat on anything. Just upload the jar files and the system
will take care of generating the files it needs.
Change-Id: Iad553bf6f57e28da4edb8eb0df47e62e08a0be44
|
|
|
|
| |
Change-Id: I1494df6e74ec16238971fb4346ba184eb61c37ab
|
|
|
|
| |
Change-Id: I094375230af2d9a88e30245b390cac71be7b50f4
|
|
|
|
| |
Change-Id: Ia1122165e47f846a1d4506111849f830d9f14c1b
|
|
|
|
| |
Change-Id: I55041b564ab65317c8b1f863005f20ba650a0322
|
|
|
|
| |
Change-Id: I9d6902b0c447fd8fbe5600fd36139791b2ceefb7
|
|
Change-Id: If2abdb99826ead14e3465d90ba2acffd89709389
|