Update VMRuntime.preloadDexCaches() for hash-based arrays.

Do not try to fill entries that already contain some
resolved item to avoid unnecessary work. We do not know
which of the conflicting items may be needed later.

Test: m test-art-host-gtest
Test: testrunner.py --host
Test: Nexus 6P boot.
Bug: 30627598
Bug: 63892794
Change-Id: Ie52f4455da544c1a3d2a61660c14c13c488c3fd7
1 file changed