summaryrefslogtreecommitdiffstats
path: root/runtime/thread_android.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix thread priorities for unstarted threads.Narayan Kamath2014-11-061-0/+7
| | | | | | | | | | | | | | | | | | | | | Calls to Thread.setPriority for unstarted threads now behave similar to dalvik. Note that there's still some inconsistent behaviour carried over from dalvik. - high priority threads from bg_non_interactive processes are not always moved to the SP_FOREGROUND cgroup. - we do not attempt to adjust the cgroup of a native thread that's attaching. Note that on android, the system_server will change the cgroups for all running threads in a process when it moves into the foreground and background. It's by design that threads in a background process can request to be moved to the foreground by setting a higher priority. bug: 17893086 Change-Id: I1662982b1c7b3ac509698e2e12c9768d082c8053
* Don't manually mess with sigaltstack on Android any more.Elliott Hughes2013-07-161-0/+8
| | | | | | | Bionic now takes care of things. Bug: 8557703 Change-Id: I0510a193f2433eaf54c9c6ac3415c85b50a7f1d2
* Create separate Android.mk for main build targetsBrian Carlstrom2013-07-121-0/+90
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