Chromium Code Reviews| Index: src/platform-freebsd.cc |
| =================================================================== |
| --- src/platform-freebsd.cc (revision 7635) |
| +++ src/platform-freebsd.cc (working copy) |
| @@ -642,6 +642,11 @@ |
| // We require a fully initialized and entered isolate. |
| return; |
| } |
| + if (v8::Locker::IsActive() && |
| + !isolate->thread_manager()->IsLockedByCurrentThread()) { |
| + return; |
| + } |
| + |
| Sampler* sampler = isolate->logger()->sampler(); |
| if (sampler == NULL || !sampler->IsActive()) return; |