Fix unit test by holding compiler_lock_ on ourselves.

Because in previous CL, we removed the MutexLock in the
Materialize for parallel compilation, we don't hold the
lock before we call LoadElfFromCompilationUnit anymore.
Thus, we have to acquire for the lock in
LoadElfFromCompilationUnit.

Change-Id: Ia1b059bdffafc54a473820244bcfcfc634771061
1 file changed
tree: 94844ca030e35f0ea19f56a5e9afb7a76f238146
  1. build/
  2. jdwpspy/
  3. src/
  4. test/
  5. tools/
  6. .gitignore
  7. Android.mk