Fail in the right place when we cannot allocate a mark stack.

Previously we'd keep going and then crash when dereferencing
the mark stack later. I expected dalvikvm to throw an OutOfMemoryError
in this scenario but it also aborts.

Change-Id: I3cd995113561f40b191fcb51ecfcb1f032bed4ec
4 files changed
tree: b82cc9773e7011b4cadbdb4ac4f7de559afa59f3
  1. Android.mk
  2. build/
  3. oat_process/
  4. oat_runtime/
  5. src/
  6. test/
  7. tools/