Reviewers: Mikhail Naganov, Description: 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.
Please review this at http://codereview.chromium.org/668063 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M test/cctest/test-log.cc Index: test/cctest/test-log.cc =================================================================== --- test/cctest/test-log.cc (revision 4021) +++ test/cctest/test-log.cc (working copy) @@ -404,10 +404,7 @@ "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); } } }; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
