summaryrefslogtreecommitdiffstats
path: root/base/tracked_objects.cc
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-20 18:53:13 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-20 18:53:13 +0000
commitd6992b5b3a8c6cdd8c75f74ebdb40ac69f035610 (patch)
tree5379534f01d4d9e546d20315848a89ce0d0dd08e /base/tracked_objects.cc
parent3ca6705f4478925da7e25b84f722bada055f8129 (diff)
downloadchromium_src-d6992b5b3a8c6cdd8c75f74ebdb40ac69f035610.zip
chromium_src-d6992b5b3a8c6cdd8c75f74ebdb40ac69f035610.tar.gz
chromium_src-d6992b5b3a8c6cdd8c75f74ebdb40ac69f035610.tar.bz2
Update "TallyBirth" and "TallyDeath" to "TallyABirth" and "TallyADeath"
in comments. R=jar@chromium.org BUG=none TEST=none Review URL: https://codereview.chromium.org/15241002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/tracked_objects.cc')
-rw-r--r--base/tracked_objects.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/tracked_objects.cc b/base/tracked_objects.cc
index 76d6ccc..55c1ffe 100644
--- a/base/tracked_objects.cc
+++ b/base/tracked_objects.cc
@@ -507,10 +507,10 @@ void ThreadData::TallyRunOnWorkerThreadIfTracking(
// TODO(jar): Support the option to coalesce all worker-thread activity under
// one ThreadData instance that uses locks to protect *all* access. This will
// reduce memory (making it provably bounded), but run incrementally slower
- // (since we'll use locks on TallyBirth and TallyDeath). The good news is
- // that the locks on TallyDeath will be *after* the worker thread has run, and
- // hence nothing will be waiting for the completion (... besides some other
- // thread that might like to run). Also, the worker threads tasks are
+ // (since we'll use locks on TallyABirth and TallyADeath). The good news is
+ // that the locks on TallyADeath will be *after* the worker thread has run,
+ // and hence nothing will be waiting for the completion (... besides some
+ // other thread that might like to run). Also, the worker threads tasks are
// generally longer, and hence the cost of the lock may perchance be amortized
// over the long task's lifetime.
ThreadData* current_thread_data = Get();