RFR: 8357581: [JVMCI] Add HotSpotProfilingInfo [v2]

Doug Simon dnsimon at openjdk.org
Fri May 23 06:19:42 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.

Doug Simon has updated the pull request incrementally with one additional commit since the last revision:

  fix copyright

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25397/files
  - new: https://git.openjdk.org/jdk/pull/25397/files/d95475b0..12a9a059

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25397&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25397&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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 graal-dev mailing list