Reland "Use the thread local cache in interpreter / unresolved entrypoints"

This reverts commit 27aecbb0180a98a672a8ab96b763d0864105d266.

Reason for revert: Removed obsolete DCHECK.

Change-Id: I993e509b6e79c7436fd1b6dec5e2d466eaffbd1a
12 files changed