Fix for issue 5884080: Loop formation regression

This CL is the art version of
  https://android-git.corp.google.com/g/#/c/159057/1
The basic problem had been partially fixed in the existing art code,
but this CL is a more comprehensive fix.

Change-Id: I59336ed4265a3535d6da7d51c9243430c68536bd
4 files changed
tree: 79d0c58e32ca1555a3999164f6e507706b8b8c29
  1. Android.mk
  2. build/
  3. jdwpspy/
  4. src/
  5. test/
  6. tools/