RFR: 8357581: [JVMCI] Add ProfilingInfo.getDecompileCount

Tom Rodriguez never at openjdk.org
Thu May 22 18:32:53 UTC 2025


On Thu, 22 May 2025 17:12:34 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> Graal is adding enhanced logic to detect deoptimization cycles and needs to be able to query a method's decompilation counter (i.e. `MethodData::_compiler_counters._nof_decompiles`).
> This PR adds the `HotSpotProfilingInfo` interface so that such HotSpot-specific profiling info can be accessed.
> The change looks bigger in the GitHub review UI than it really is. I have simply renamed the pre-existing `HotSpotProfilingInfo` private class as `HotSpotProfilingInfoImpl` and repurposed the `HotSpotProfilingInfo` name for the *new* public interface.

Looks good.

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

Marked as reviewed by never (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25397#pullrequestreview-2862216006


More information about the hotspot-compiler-dev mailing list