Add obsoleteClass field to ClassExt

This field is used to keep track of Class objects that have been made
obsolete by structural class redefinition. They must be kept live and
accessible to preserve JIT invariants around code liveness and to
ensure we can continue to access their dex-caches for obsolete
methods.

Test: ./test.py --host --all-compiler
Bug: 140891089

Change-Id: I0ce309f479c42b56b543339654e2cc49c917bce5
1 file changed