commit | a436fde2762664a3ecdda5eefcadd20b2e104f59 | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Tue Aug 27 23:34:06 2013 -0700 |
committer | Ian Rogers <irogers@google.com> | Tue Aug 27 23:37:33 2013 -0700 |
tree | 22431bc387483220728a3bc99ec7314abce3ad60 | |
parent | 10cc81056261625902a8a073bafb9f499eec4ff7 [diff] |
Handle OOMEs in class linker with grace. Check for OOMEs and then fail due to them in class loading. Make the compiler driver spot OOMEs during resolution and abort compilation to avoid needless GC thrash then eventual death. Allocate the pre-allocated OOME during Runtime::Init as Runtime::Start isn't called in the context of the compiler/tools. Change-Id: Id72199d0fe82001b5bf22758b3cdc9cc4b8efbb9