Revert "Revert^2 "Lazily allocate DexCache arrays.""

This reverts commit e153a62e8e8a2c42f86d2db87c8188cd0d7bef6b.

Bug: b/181097963

Reason for revert: Crashes seen on bots.

Change-Id: I1b452d4a15adf42dd7170d77d1b79260d78400a3
13 files changed