Limited deopt request from jvmti should enable entry / exit hooks

When an event requires a limited deopt support we should enable entry /
exit hooks. We only call this in debuggable runtimes and hence none of
the entrypoints need to be updated but we still need to inform that
entry / exit hooks have to be called and also record that we need entry
/ exit hooks corresponding to the deopt manager's instrumentation key.

We didn't see a problem earlier, since limited deopt was only used only
for setting breakpoints and breakpoints instrument the stack explicitly.
This would be a problem when we extend other events like method entry /
exit to use limited deopt support.

Bug: 206029744
Test: art/test.py

Change-Id: Ic0c19cf6da70b3c34fc2e9b67898d9e5e223e2b4
3 files changed