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

Unified Diff: Source/platform/heap/Heap.cpp

Issue 728753002: Oilpan: Remove Heap::getStats (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.cpp
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
index d775343e9681faf8f23c2f66261482d130fad816..2cb5349ba2d461627e2c12387b933bc2b7260e4d 100644
--- a/Source/platform/heap/Heap.cpp
+++ b/Source/platform/heap/Heap.cpp
@@ -2790,19 +2790,6 @@ void Heap::getHeapSpaceSize(uint64_t* objectSpaceSize, uint64_t* allocatedSpaceS
}
}
-void Heap::getStats(HeapStats* stats)
-{
- stats->clear();
- ASSERT(ThreadState::isAnyThreadInGC());
- ThreadState::AttachedThreadStateSet& threads = ThreadState::attachedThreads();
- typedef ThreadState::AttachedThreadStateSet::iterator ThreadStateIterator;
- for (ThreadStateIterator it = threads.begin(), end = threads.end(); it != end; ++it) {
- HeapStats temp;
- (*it)->getStats(temp);
- stats->add(&temp);
- }
-}
-
void Heap::getStatsForTesting(HeapStats* stats)
{
stats->clear();
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698