commit | 380f0d8db56b5fcf6e7181184fdae9f303ad7ba5 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Jun 10 11:01:43 2019 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jun 11 17:44:40 2019 +0000 |
tree | 4ad13aff6c3742787f6f6487844305af065070e9 | |
parent | 3fae12960c2d411dff450fce95c096af0e8d74de [diff] |
ART: Conditionally install Dbg class callbacks Temporary allocations in the dispatch code are unnecessary when they end up in disabled code. Instead follow the example of the method inspection callback and only add the callback when the debugger is actually active. Test: m test-art-host Test: atest CtsJdwpTestCases Change-Id: I750f2df475400147b1d569f463228d436aa3ae5a