summaryrefslogtreecommitdiffstats
path: root/runtime/indirect_reference_table.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for app JNI workarounds.Ian Rogers2014-04-221-11/+2
| | | | Change-Id: I4396df7e93fcace4b5b19c2c387e5c30089182a6
* Fix tests to pass with VerifyObject.Mathieu Chartier2014-03-071-1/+3
| | | | | | | A SIRT ref with a null class was causing object verification problems in space_test. Change-Id: I95cfc3da5e0fec0155387f75612b0a3f26f6d3c9
* Add more VerifyObject calls.Mathieu Chartier2014-03-071-0/+9
| | | | | | | | | | | Added verify object calls to SirtRef, IndirectReferenceTable, ReferenceTable. Removed un-needed verify object in ScopedObjectAccess / DecodeJObject since object sources are handled. Bug: 12934910 Change-Id: I55a46a8ea61fed2a77526eda27fd2cce97a9b125
* Enable annotalysis on clang ART builds.Ian Rogers2014-03-061-0/+26
| | | | | | | | | | | Fix clang build errors aswell as restructure locking/mutex code for correct thread safety analysis support. Reorder make dependencies so that host builds build first as they should provide better compilation errors than target. Remove host's use of -fno-omit-frame-pointer as it has no value with correct use of CFI, which we should have. Change-Id: I72cea8da9a3757b1a0b3acb4081feccb7c6cef90
* Disable compaction for jni workarounds.Mathieu Chartier2014-03-061-2/+2
| | | | | | | Compaction can't work when jni workarounds is enabled. Also some other refactoring. Change-Id: Ia7b0f2b39c79f5a0a5f50874d823b950ab02a0c3
* Change root visitor to use Object**.Mathieu Chartier2014-02-181-1/+1
| | | | | | | Simplifies code and improves the performance of root visiting since we usually don't need to check to see if the object moved. Change-Id: Iba998f5a15ae1fa1b53ca5226dd2168a411196cf
* Add root types and thread id to root visiting.Mathieu Chartier2014-02-111-2/+3
| | | | | | | Enables us to pass the root type and thread id to hprof. Bug: 12680863 Change-Id: I6a0f1f9e3aa8f9b4033d695818ae7ca3460d67cb
* Change IndirectReferenceTable::Add null DCHECK to CHECK.Mathieu Chartier2013-12-191-1/+1
| | | | Change-Id: I7d3582bd5ef75c7fef6a94c0e4f1fea38fc8b526
* Add support for changing roots through the root visitor callback.Mathieu Chartier2013-09-131-7/+9
| | | | | | Needed for copying collectors. Change-Id: Icc4a342a57e0cfb79587edb02ef8c85e08808877
* Fix up TODO: c++0x, update cpplint.Mathieu Chartier2013-08-161-3/+2
| | | | | | | | | | | | Needed to update cpplint to handle const auto. Fixed a few cpplint errors that were being missed before. Replaced most of the TODO c++0x with ranged based loops. Loops which do not have a descriptive container name have a concrete type instead of auto. Change-Id: Id7cc0f27030f56057c544e94277300b3f298c9c5
* Fix NewLocalRef to use AddLocalReference.Elliott Hughes2013-07-291-1/+1
| | | | | Bug: 10026664 Change-Id: I06f8f75a92f73b3b58fa767c0d08d1b736f7d5b5
* Fix cpplint whitespace/comments issuesBrian Carlstrom2013-07-261-1/+1
| | | | Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
* Create separate Android.mk for main build targetsBrian Carlstrom2013-07-121-0/+330
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