Index: third_party/tcmalloc/chromium/src/thread_cache.cc |
diff --git a/third_party/tcmalloc/chromium/src/thread_cache.cc b/third_party/tcmalloc/chromium/src/thread_cache.cc |
index 765786ff40302004b1b128bc38ebcafdf8309d58..b051258bd29a70cebf01402f93749d73b36c1a0c 100644 |
--- a/third_party/tcmalloc/chromium/src/thread_cache.cc |
+++ b/third_party/tcmalloc/chromium/src/thread_cache.cc |
@@ -64,7 +64,9 @@ int ThreadCache::thread_heap_count_ = 0; |
ThreadCache* ThreadCache::next_memory_steal_ = NULL; |
#ifdef HAVE_TLS |
__thread ThreadCache* ThreadCache::threadlocal_heap_ |
-# ifdef HAVE___ATTRIBUTE__ |
+// See comments in the thread_cache.h about this. Bug here: |
gpike
2012/04/24 21:05:13
s/ the//
asharif1
2012/04/24 21:11:43
Thanks, I should have proofread this comment. It s
|
+// http://code.google.com/p/chromium/issues/detail?id=124489 |
+#if defined(HAVE___ATTRIBUTE__) && !defined(PGO_GENERATE) |
__attribute__ ((tls_model ("initial-exec"))) |
# endif |
; |