summaryrefslogtreecommitdiff
path: root/runtime/verify_object.h
Commit message (Collapse)AuthorAgeFilesLines
* More inclusive language in the runtimeDavid Srbecky2020-07-281-3/+3
| | | | | | | | Test: m Bug: 161896447 Bug: 161850439 Bug: 161336379 Change-Id: Iabc29fa43b4b5a403699d6bca95e9a2cb8945d77
* Clean up mirror/objectMathieu Chartier2018-06-201-0/+4
| | | | | | | | Refactor some boiler plate code. Test: test-art-host Change-Id: Id45fab759798c2447a2d979c1fcbd50e18241021
* cpplint: Cleanup errorsIgor Murashkin2017-11-081-2/+2
| | | | | | | | | Cleanup errors from upstream cpplint in preparation for moving art's cpplint fork to upstream tip-of-tree cpplint. Test: cd art && mm Bug: 68951293 Change-Id: I15faed4594cbcb8399850f8bdee39d42c0c5b956
* ART: Introduce thread-current-inl.hAndreas Gampe2017-06-021-1/+0
| | | | | | | | | | | Factor out Thread::Current() code into its own -inl file to remove transitive includes. This requires at the same time correcting mutex.h, i.e., moving some functions into mutex-inl.h. Test: m test-art-host Change-Id: I88f888b604e0897368d9b483edce6ce4332dd9c9
* ART: Refactor verify_object.hAndreas Gampe2017-02-031-1/+10
| | | | | | | | | | | | | Move the actual VerifyObject check into a new cc file, as we commonly don't enable the check at all. This allows to cut the -inl include from almost all current users. This also exposes missing -inl includes. Also fix up some of our old mess where .h defined functions require -inl.h defined functions. Test: m Change-Id: I3dd821bbe2015564a29bf1ed9be00f7a7276ad61
* Move mirror::Object setters to ObjPtrMathieu Chartier2016-10-061-2/+3
| | | | | | | | Bug: 31113334 Test: test-art-host Change-Id: I2c4c84645e194c3c435a4a6fd670176b0e98671f
* Remove object_utils.h.Ian Rogers2014-07-161-2/+2
| | | | | | | | | Break into object_lock, field_helper and method_helper. Clean up header files following this. Also tidy some of the Handle code in response to compiler errors when resolving the changes in this CL. Change-Id: I73e63015a0f02a754d0866bfaf58208aebcaa295
* Enable annotalysis on clang ART builds.Ian Rogers2014-03-061-4/+4
| | | | | | | | | | | 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
* Fix and optimize verify object.Mathieu Chartier2014-02-211-0/+62
VerifyObject no longer resides in heap. You can now enable VerifyObject for non-debug builds. VerifyStack is still slow, so it is now guarded by its own flag. Fixed the image writer to not use verification at places where verification fails due to invalid reads. Fixed RosAlloc to use SizeOf which doesn't call verify object. Added a flag paremeter to some of the mirror getters / setters to be able to selectively disable VerifyObject on certain calls. Optimized the GC to not verify each object multiple times during object scanning if verify object is enabled. Added 3 verification options: verify reads, verify this, and verify writes so that you can select how much verification you want for mirror getters and setters. Removed some useless DCHECKs which would slow debug builds without providing any benefits. TODO: RosAlloc verification doesn't currently work with verify objects. Bug: 12934910 Bug: 12879358 Change-Id: Ic61033104dfc334543f89b0fc0ad8cd4f4015d69