Index: src/log.cc |
=================================================================== |
--- src/log.cc (revision 6114) |
+++ src/log.cc (working copy) |
@@ -276,7 +276,11 @@ |
// Profiler implementation. |
// |
Profiler::Profiler() |
- : head_(0), |
+ : |
+#ifdef DEBUG_THREAD_NAMES |
+ Thread("v8:Profiler"), |
+#endif |
+ head_(0), |
tail_(0), |
overflow_(false), |
buffer_semaphore_(OS::CreateSemaphore(0)), |