Fix all unsafe caching to be like libcore.
Elliott Hughes authored
This way, if a runtime is restarted within a process, we re-initialize all
the cached data.

Change-Id: Ifd441f8c84c4cff904ee62bbd6b5707ad365967d
7756d547