Commit 8e1c34db authored by haraken@chromium.org's avatar haraken@chromium.org

Oilpan: Remove Heap::getStats

It is unused.

BUG=420515

Review URL: https://codereview.chromium.org/728753002

git-svn-id: svn://svn.chromium.org/blink/trunk@185353 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 39e5cf6a
......@@ -2813,19 +2813,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();
......
......@@ -967,11 +967,6 @@ public:
static String createBacktraceString();
#endif
// Collect heap stats for all threads attached to the Blink
// garbage collector. Should only be called during garbage
// collection where threads are known to be at safe points.
static void getStats(HeapStats*);
static void getStatsForTesting(HeapStats*);
static void getHeapSpaceSize(uint64_t*, uint64_t*);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment