Add additional support for Thread::Current() == NULL.

Added checks for Thread::Current() == NULL so that we don't crash in Runtime::~Runtime() when we have to wait for a concurrent GC to complete.

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