summaryrefslogtreecommitdiffstats
path: root/vm/Dalvik.h
Commit message (Collapse)AuthorAgeFilesLines
* Normalize the include guard style.Carl Shapiro2011-06-141-3/+3
| | | | | | | | | | An leading underscore followed by a capital letter is a reserved name space in C and C++. This change also moves any #include directives within the include guard in some of the compiler/codegen/arm header files. Change-Id: I9715e2c5301699d31886e61d0fe6e29483555a2a
* Use std::string rather than malloc/free for saneDirName.Elliott Hughes2011-06-071-1/+0
| | | | | | Also use std::vector instead of the cutils/array cruft. Change-Id: I273147335cafbac5d336955f53b0b29d015f0589
* Compile the garbage collector and heap profiler as C++.Carl Shapiro2011-04-081-2/+0
| | | | Change-Id: I25d8fa821987a3dd6d7109d07fd42dbf2fe0e589
* Remove HeapWorker.h from Dalvik.h.Carl Shapiro2011-03-211-1/+0
| | | | | | This is no longer a public interface. Change-Id: I4830be24d5042d841796da14ea402a369c97a2e2
* A bit of libdex spring cleaning.Dan Bornstein2011-03-091-0/+2
| | | | | | | | | Give the UTF-8 parsing/validation code and the debug info decoder their own files in libdex. Also, moved the random utility dexRoundUpPower2() so it wasn't in the middle of unrelated stuff (though maybe it doesn't want to stay in DexFile.c at all). Change-Id: I115447e49904e2440dd538b1df90616ea95707a9
* Split BitVector into its own file.Andy McFadden2010-12-101-0/+1
| | | | | | | | | | | | | This just pulls the BitVector stuff out into separate files. IIRC the motivation for building Misc.c for ARM rather than Thumb was the bit-manipulation going on in BitVector (e.g. the use of ffs()), so I switched that around in the makefile. The only change of any substance was relocation of the kBitVectorGrowth define from the .h to the .c. Change-Id: Ib35fda81809081bd629b4f344e41f21966e1441c
* Eliminate the GC.h header file.Carl Shapiro2010-12-021-1/+0
| | | | Change-Id: Ieda8b819032fc6aac80b390960d9c6f4864795ab
* Rename OpCode.h -> DexOpcodes.h.Dan Bornstein2010-12-011-1/+1
| | | | | | | | Also incorporate the former contents of OpCodeNames.h. This is a small attempt to increase naming consistency in libdex. There will be a bit more to come, in a follow-up. Change-Id: Ia7ab06042dde2e19eda02ef1fee72fb4260e899d
* Remove the functionality in ReduceConstants.[ch].Dan Bornstein2010-09-091-1/+0
| | | | | | | | It was a good experiment to try, but it was never made production-ready, and it doesn't look like it would be a net win at this point. We metaphorically pour out a beer in its honor. Change-Id: I7f6ac95f5b7c963df0a3015ed33595fa1a928636
* Quicker partial collection by using card marking.Barry Hayes2010-07-081-0/+1
| | | | | | | | | | Add calls to the card marking from the write barrier routines, so that a write to an Object marks the appropriate card. Add code in the GC to use and rebuild the cards at a partial GC, clearing cards in the Zygote heap which do not in fact contain references to the application heap. Change-Id: Ie6f29fd096e029f48085715b282b6db8a7122555
* Move WriteBarrier operations into their own header file. Split Object.hBarry Hayes2010-06-251-0/+2
| | | | | | | | The write barrier routines will soon be INLINE and non-null. Buried in the middle of Object.h, which is early in Dalvik.h, it would be hard for them to make use of definitions in other .h files. Change-Id: I3c0eb59cb6ef29c2bacd0432cf59aaca4c3d031c
* Rearrange some things.Andy McFadden2010-04-061-1/+1
| | | | | | | | | | | | | This splits DexOptimize into DexPrepare (which deals with file shuffling and fork/exec) and Optimize (which does the actual quickening of instructions). The Optimize functions are now effectively private to the "analysis" directory. Twiddled some comments. No substantive code changes. Change-Id: Ia51865b259fb32822132e2373997866e360ca86a
* Indirect reference table implementation.Andy McFadden2009-07-311-0/+1
| | | | | | | | | | | | | | | | | | This change introduces the "indirect" reference table, which will be replacing ReferenceTable for local and global JNI references. The key difference is that, instead of handing raw Object pointers to JNI, we will be giving them a magic value that can be converted back to an Object. The goal is to avoid having to pin every object that native code is aware of. The code is not actually used anywhere yet. Also bundled up here: - added detail to a log message - fixed a string format issue in the internal assert() definition - very minor optimization in "remove" function in ReferenceTable - quiet a gcc complaint - only include the hash table regression test in builds that invoke it
* Initial port of the Dalvik JIT enging to the internal repository.Ben Cheng2009-06-041-0/+3
| | | | | | | | Fixed files with trailing spaces. Addressed review comments from Dan. Addressed review comments from fadden. Addressed review comments from Dan x 2. Addressed review comments from Dan x 3.
* auto import //branches/master/...@140412The Android Open Source Project2009-03-181-0/+1
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+82
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-82/+0
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-1/+2
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+2
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+79