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(); |