Commit afe1cfa6 authored by kasperl@chromium.org's avatar kasperl@chromium.org

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
parent 19a5126e
......@@ -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);
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment