Implement Throwable::nativeFillInStackTrace and nativeGetStackTrace.

Refactor stack trace into compact internal form which is then used to
compute larger and more verbose StackTraceElement[] form. Fix some
potential problems with GC.

Change-Id: I4a4308c1ec5b82fd95b649d5ec0504b9607e688f
6 files changed
tree: 7a19bb527abaa56a98462d2c212ebe043b9435d2
  1. Android.mk
  2. build/
  3. src/
  4. test/
  5. tools/