commit | cfaa455374aae0a08c8cb28b5bb306b17866d652 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Mon Nov 26 21:00:08 2012 -0800 |
committer | Ian Rogers <irogers@google.com> | Fri Nov 30 16:38:21 2012 -0800 |
tree | ca8f25a06f234385b6e62bb774085f1324e5d519 | |
parent | 3676aeb03d5f70933891bb3b21abb8e31a81e36c [diff] |
Turn the thread peer_ into a Object*. Don't use a JNI global ref for the thread peer_ so that we can support more threads than we can global refs. This fixes run-test 51. Fix a race in thread destruction where a thread may be requested to suspend while deleting itself. Change-Id: Id8756a575becf80d2a0be0a213325034556927f1