RFR: 8350086: Inline hot Method accessors for faster task selection [v3]
Vladimir Ivanov
vlivanov at openjdk.org
Fri Feb 14 19:16:11 UTC 2025
On Fri, 14 Feb 2025 18:35:12 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> This seems fine but at one point we were talking about moving what looks like the duplicated InvocationCounters from MethodCounters and use MDO instead. I think this looks like it could be something to clean up.
There's definitely some duplication between MethodCounter and MDO, but those two serve different purposes at runtime when it comes to profiling (facilitate different profiling modes). There are ways to merge them, but it may have far-reaching consequences for the implementation (e.g., fast MDO presence check is used to guard profiling logic in interpreter). Not clear to me whether it'll worth the effort.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23634#issuecomment-2660083999
More information about the hotspot-dev
mailing list