Force ahead-of-time initialization of classes used in ThreadStress.

This is to prevent delayed initialization of classes used by
QueuedWait, possibly leading to an OutOfMemoryError thrown while
trying to throw OutOfMemoryError.

Test: art/test/testrunner/testrunner.py -t 004-ThreadStress
Bug: 67730573
Change-Id: I7a79306b739050d89f19e533cb45fb43e4b39b3a
1 file changed