summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-06-02 15:34:55 -0700
committerAndreas Gampe <agampe@google.com>2017-06-05 21:19:22 +0000
commitd2c03b558e469fefb32ebdcb1e200a33d814cf53 (patch)
treeb76a03e045773f242726bd07846edb509b0b3ef5 /compiler/optimizing/codegen_test_utils.h
parente59cb816470be6bc8129fa59b192109402f7b6ab (diff)
ART: Add method names to lock-contention samples
Obfuscators and optimizers will strip reliable source info from dex files, making the traditional source file name and line number emitted in lock-contention samples not very useful. Add the method names to the sample. While this significantly increases the size of the sample, it allows mapping obfuscated code back to the source, pinpointing the involved locks. Contention samples: Before: [com.google.android.gms,1,main,956,:com.google.android.gms,6,AssetManager.java,-2,100] After: [com.google.android.gms,1,main,956,:com.google.android.gms,6,bzv com.google.android.chimera.container.ConfigurationManager.b(),AssetManager.java,-2,int android.content.res.AssetManager.getStringBlockCount(),100] Bug: 62241642 Test: m Test: m test-art-host Test: Device boots Test: Manual inspection of reports Change-Id: I8d7a65e16e022d53aba1ced2fdb202f24bced516
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions