Index: runtime/vm/megamorphic_cache_table.cc |
diff --git a/runtime/vm/megamorphic_cache_table.cc b/runtime/vm/megamorphic_cache_table.cc |
index 4705b21900c3c4396ba436edcf486ab8fe5e9aaa..5ecddd551fd53022e75b950f9dda4625067d1a41 100644 |
--- a/runtime/vm/megamorphic_cache_table.cc |
+++ b/runtime/vm/megamorphic_cache_table.cc |
@@ -16,7 +16,7 @@ RawMegamorphicCache* MegamorphicCacheTable::Lookup(Isolate* isolate, |
const String& name, |
const Array& descriptor) { |
// Multiple compilation threads could access this lookup. |
- SafepointMutexLocker ml(isolate->mutex()); |
+ SafepointMutexLocker ml(isolate->lookup_mutex()); |
ASSERT(name.IsSymbol()); |
// TODO(rmacnak): ASSERT(descriptor.IsCanonical()); |