Revision: 4024
Author: [email protected]
Date: Thu Mar  4 07:03:36 2010
Log: 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
http://code.google.com/p/v8/source/detail?r=4024

Modified:
 /branches/bleeding_edge/test/cctest/test-log.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-log.cc     Thu Mar  4 05:25:23 2010
+++ /branches/bleeding_edge/test/cctest/test-log.cc     Thu Mar  4 07:03:36 2010
@@ -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

Reply via email to