Index: src/frames.cc |
diff --git a/src/frames.cc b/src/frames.cc |
index cde6f21f74813ddb7f90612293bcc057225929ae..7f4d7deaef18801675bd784aff036ad96ce33100 100644 |
--- a/src/frames.cc |
+++ b/src/frames.cc |
@@ -1431,7 +1431,9 @@ Code* InnerPointerToCodeCache::GcSafeFindCodeForInnerPointer( |
// after the inner pointer. |
Page* page = Page::FromAddress(inner_pointer); |
+ page->skip_list()->Lock(); |
Address addr = page->skip_list()->StartFor(inner_pointer); |
+ page->skip_list()->Unlock(); |
Address top = heap->code_space()->top(); |
Address limit = heap->code_space()->limit(); |