Add AllocStackTrace(). Move InternalStackTrace to managed heap.

Replaces trace.method and trace.pc with IntArray and ObjectArray<Method>.
Exception_tests pass.

Change-Id: I54431bbf8031b186fdd360ec27a31b11c8eff052
4 files changed
tree: 422d8cc5cbe04b0025e75a5f48e87cd891a97655
  1. build/
  2. src/
  3. tools/
  4. Android.mk