RFR: 8357581: [JVMCI] Add ProfilingInfo.getDecompileCount
Doug Simon
dnsimon at openjdk.org
Thu May 22 18:03:31 UTC 2025
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.
-------------
Commit messages:
- added HotSpotProfilingInfo
Changes: https://git.openjdk.org/jdk/pull/25397/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25397&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8357581
Stats: 235 lines in 5 files changed: 17 ins; 194 del; 24 mod
Patch: https://git.openjdk.org/jdk/pull/25397.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25397/head:pull/25397
PR: https://git.openjdk.org/jdk/pull/25397
More information about the hotspot-compiler-dev
mailing list