RFR: 8366082: Improve queue size computation in CPU-time sampler [v6]

Johannes Bechberger jbechberger at openjdk.org
Fri Sep 5 09:32:16 UTC 2025


On Fri, 5 Sep 2025 09:25:56 GMT, Jaroslav Bachorik <jbachorik at openjdk.org> wrote:

>> Johannes Bechberger has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix build on non Linux
>
> test/jdk/jdk/jfr/event/profiling/TestCPUTimeSampleQueueAutoSizes.java line 86:
> 
>> 84:                                           .sum();
>> 85:                 ret.add(new LossEvent(actualStart, lostSamples));
>> 86:             }
> 
> NIT: This could be probably more efficient by bulding time quantized bucket

Sure. But I'm only getting 10 or so events, so I didn't think it would be worth it

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26926#discussion_r2324587444


More information about the hotspot-jfr-dev mailing list