Better WaitForConcurrentGcToComplete information

WaitForConcurrentGcToComplete now returns which type of Gc we waited on. This enables us to have smarter logic so that we don't run as many redundant Gcs.

Fixes 074-gc-thrash occasionally failing due to sticky mark bits not clearing older weak references.

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