Remove the unlocker from the JS thread in ProfMultipleThreads to
avoid getting a profiling sample while not holding the locker, because we will not get a stack sample in that case. Review URL: http://codereview.chromium.org/668063 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4024 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
19a5126ee3
commit
afe1cfa6de
@ -404,10 +404,7 @@ class LoopingJsThread : public LoopingThread {
|
||||
"var j; for (var i=0; i<10000; ++i) { j = Math.sin(i); }");
|
||||
}
|
||||
context.Dispose();
|
||||
{
|
||||
v8::Unlocker unlocker;
|
||||
i::OS::Sleep(1);
|
||||
}
|
||||
i::OS::Sleep(1);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user