RFR: 8358666: Implement JEP 509: JFR CPU-Time Profiling

Markus Grönlund mgronlun at openjdk.org
Thu Jun 5 06:43:54 UTC 2025


On Thu, 5 Jun 2025 06:30:39 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

>> src/jdk.jfr/share/classes/jdk/jfr/internal/PlatformEventType.java line 203:
>> 
>>> 201:             this.cpuRate = rate;
>>> 202:             if (isEnabled()) {
>>> 203:                 JVM.setCPUThrottle(rate.rate(), rate.autoAdapt());
>> 
>> but we need to set the throttle somewhere? Else changes are not propagated?
>
> I checked and it seems to work as expected

@egahlin is the expert on  the settings system. Please guide here.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25654#discussion_r2128069800


More information about the hotspot-dev mailing list