Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(641)

Unified Diff: src/log.cc

Issue 6070009: Added labelled thread names to help with some debugging activity. Right now,... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)),

Powered by Google App Engine
This is Rietveld 408576698