OSDN Git Service

Support inlining with breakpoint
authorSebastien Hertz <shertz@google.com>
Thu, 20 Mar 2014 15:40:17 +0000 (16:40 +0100)
committerSebastien Hertz <shertz@google.com>
Thu, 27 Mar 2014 15:22:09 +0000 (16:22 +0100)
commita76a6d4cb3dedec909bd927f20bc0ab23198a337
tree34ceb525611dde3413cdcab4a3ab8ced3b131fc9
parent78bd9b2198f0ccc48036c1517b2d9a9023157dfb
Support inlining with breakpoint

When installing/uninstalling a breakpoint in a method, we fully or selectively
deoptimize/undeoptimize depending on whether the method can be inlined. When
the method can be inlined, it requires full deoptimization. Otherwise, it only
requires selective deoptimization.

We add sanity check to control we are in a consistent state each time we add or
remove a breakpoint. We also add some comments to better describe the process
of deoptimization for breakpoint.

Bug: 12187616
Change-Id: Id15adc6e5e2fe783c83c925cbcd19ae02431b7e0
runtime/debugger.cc
runtime/instrumentation.h