summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-11-06 19:47:16 -0800
committerAndreas Gampe <agampe@google.com>2017-11-06 20:19:00 -0800
commit5a387277465181ee76751fc07b36f7f4e4a2b35b (patch)
tree230af932a63e8d33be7c71372f8a94b0b43f8c7c /compiler/driver/compiler_options.h
parent39cfa34828620220e3bdba181b36712fdbcd2639 (diff)
ART: Do not use proxy method as owner of lock
During lock inflation, it is possible to see a proxy method on top of the stack, e.g., when it is allocating its args array. However, proxy methods are not helpful for lock profiling, as they do not contain specific caller data we could use. Instead, try to walk the stack for the proxy's caller method, and use that as the owner. This is acceptable as proxies can never be synchronized methods (as interfaces methods aren't), and the caller frame cannot be a proxy method itself. Add a test. But the repro rate is really low. Bug: 68871592 Test: m test-art-host Change-Id: I02cf38c7d05e2c963a5dc489c57b6dd8009dccd4
Diffstat (limited to 'compiler/driver/compiler_options.h')
0 files changed, 0 insertions, 0 deletions