Throw OOME if pthread_create(3) fails.

This is how dalvik behaved, though we offer useful detail messages.

This patch also fixes a bug where we weren't actually including detail
messages in OOMEs (not just the pre-allocated one).

Change-Id: If6c8f47008a9bd058d9773f2f2e6e9a4f0d843e1
3 files changed
tree: 6d03848a0d66c686092d03c063298bac6cefa2f2
  1. .gitignore
  2. Android.mk
  3. build/
  4. jdwpspy/
  5. src/
  6. test/
  7. tools/