diff options
author | Alex Light <allight@google.com> | 2018-03-06 15:13:59 -0800 |
---|---|---|
committer | Alex Light <allight@google.com> | 2018-03-06 15:55:31 -0800 |
commit | f5d5eb1851841abff74b2c2757c58988a5ccd3b1 (patch) | |
tree | d1442902f2e1831c8da85788ec7ff35edf2063c2 /compiler/optimizing/code_generator_mips.cc | |
parent | f709ba5b7f5a3802c6e216117f1202d6ee0e4591 (diff) |
Remove FramePop trace listener if no outstanding events
Previously we would leave the JvmtiMethodTraceListener installed
forever if we even had a FramePop event requested. This was to prevent
any possible UAF issues with shadow-frames. This changes it so we will
check if there are any outstanding shadow-frames when the event is
disabled. If there are not any left we will remove it and remove the
deopts. This should improve performance after a frame-pop event is
used.
Bug: 74240081
Bug: 34414072
Test: ./test.py --host -j50
Test: Debug system-server a bit and use Step-Out.
Change-Id: I5fdb8ccce95ba51d6113df12e01bb158d210a5b2
Diffstat (limited to 'compiler/optimizing/code_generator_mips.cc')
0 files changed, 0 insertions, 0 deletions