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

Unified Diff: third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h

Issue 9311003: Update the tcmalloc chromium branch to r144 (gperftools 2.0), and merge chromium-specific changes. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased. Created 8 years, 10 months 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: third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h
diff --git a/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h b/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h
index ee23541c3e7040f21b65ed2c9e973ab15f6993c5..ffcca1b9c4d933a9dbcd014d8122f8a7becda00c 100644
--- a/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h
+++ b/third_party/tcmalloc/chromium/src/base/spinlock_win32-inl.h
@@ -42,6 +42,9 @@ void SpinLockDelay(volatile Atomic32 *w, int32 value, int loop) {
} else if (loop == 1) {
Sleep(0);
} else {
+ // TODO(dmikurube): Re-enable the latest gperftools here.
+ // The update is disabled in Chromium since
+ // base/atomicops-internals-windows.h doesn't support 64-bit operations.
jar (doing other things) 2012/02/28 22:15:49 Please supply commented out version of original co
Dai Mikurube (NOT FULLTIME) 2012/02/28 23:05:43 Done.
Sleep(1);
}
}

Powered by Google App Engine
This is Rietveld 408576698