Make sure VMClassLoader is initialized before eating up the RAM

Otherwise there may be an OOME when trying to resolve the class. When
this happens, it causes an abort in WrapExceptionInInitializer since
the class is in the bootstrap classloader.

Test: test-art-host
Bug: 69149957
Change-Id: I3cb79e8cffef758799d8c57ca5132d65a10e75ea
1 file changed