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. build/
  2. oat_process/
  3. oat_runtime/
  4. src/
  5. test/
  6. tools/
  7. Android.mk