OSDN Git Service

ART: Prioritize reference table dump
authorAndreas Gampe <agampe@google.com>
Tue, 15 Nov 2016 01:00:28 +0000 (17:00 -0800)
committerAndreas Gampe <agampe@google.com>
Thu, 17 Nov 2016 23:11:53 +0000 (23:11 +0000)
commitb33635d2f9f7ffe10ba94dd1cc695897350d3e5e
treef2c9e5a41be6f6dd0fb8d170b0aad90a4ed60afe
parent2a539ab099ee2207200f34b461027cf46c37e00e
ART: Prioritize reference table dump

Sort the reference table summary dump by highest count, prioritizing
repeated types and instances. This will help with triaging leaks.

Add a test.

(cherry picked from commit 6e970e7fa88efd5ee38b0d6f9010a3985c62778f)

Bug: 32857749
Test: m test-art-host-gtest-reference_table_test
Merged-In: Id9c7a118c36c06c7510b13c2a51e63f08a27c564
Change-Id: I7e61881b5badf9ac2b6b72333f31437ab498caee
runtime/reference_table.cc
runtime/reference_table_test.cc