summaryrefslogtreecommitdiffstats
path: root/runtime/runtime_android.cc
Commit message (Collapse)AuthorAgeFilesLines
* Disable new signal handler.Mathieu Chartier2014-03-041-12/+14
| | | | | | Doesn't play well with existing signal handlers. Change-Id: Ic93691ad8af14f037bec571a2163bae146741d31
* Fix SafePrettyTypeOf to never call VerifyObject.Mathieu Chartier2014-03-031-1/+3
| | | | | | | Calling VerifyObject from the segfault handler caused another segfault. Change-Id: I459646594d830cbb110a4ac2bac25a7b90794854
* Add custom SIGSEGV handler to help find heap corruption.Mathieu Chartier2014-02-281-2/+48
| | | | | | | | | | | | | | | | The new signal handler prints heap diagnostics when you get a SIGSEGV. Added a fault message member in runtime which is modifiable by Runtime::SetFaultMessage. When you get a SIGSEGV it will print out whatever is stored in this string as well as the normal information. This is useful for debugging heap corruption since it lets you see which threads were in which methods when the last GC occured. Added some smarter object dumping logic when the faulting address is in the heap. Bug: 12934910 Change-Id: Ia72be2c39f70ad711cbd746d66fad2b617d5d29f
* Create separate Android.mk for main build targetsBrian Carlstrom2013-07-121-0/+25
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