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

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