RFR: 8296440: Remove Method* handling from cleanup_inline_caches_impl

Richard Reingruber rrich at openjdk.org
Wed Mar 15 14:15:20 UTC 2023


On Wed, 15 Mar 2023 10:48:58 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Impressive that we can get rid of so much complicated code! Looks correct to me. 

Thanks for reviewing, Martin.

> Is the check fast enough to do it on every resolution?

I though so. The easy cases where the callee is from a permanent loader or where caller and callee have the same holder oop should be common.
I'm not sure how to quantify the performance effect though.
I wouldn't object to turn it into an assertion if requested.

-------------

PR: https://git.openjdk.org/jdk/pull/12802


More information about the hotspot-dev mailing list