commit | 52673ffae0025d86f4023735581f19ebcc477487 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Jun 27 23:25:34 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Jun 28 00:05:10 2012 -0700 |
tree | f684286493c5a71417b787717526a73de13ae9f0 | |
parent | 9f509b90111ccc88dce25d587b2df4f87eb68013 [diff] |
Move IsDaemon to native code. Having the daemon status in the managed heap means it is only readable by an attached thread in the runnable state. This is problematic when terminating the VM. Add extra asserts that ScopedJniThreadState and Thread::SetState only occur on expected threads. Remember a cause for no thread suspension asserting. Change-Id: I8cf35c4c77751f8b1a35a5fb9a7f67682bf153bc