RFR: 8317562: [JFR] Compilation queue statistics
Mat Carter
macarte at openjdk.org
Wed Oct 18 15:28:23 UTC 2023
On Tue, 17 Oct 2023 17:04:02 GMT, Cesar Soares Lucas <cslucas at openjdk.org> wrote:
>> Adding a new periodic jfr event to monitor and output statistics for the compiler queues. You will see one event per compiler queue (c1 and c2)
>>
>> Passes tier1 on linux (x86) and mac (aarch64)
>
> src/hotspot/share/compiler/compileBroker.hpp line 91:
>
>> 89:
>> 90: int _size;
>> 91: int _total_added;
>
> Can total be negative?
no - changed to uint
> test/jdk/jdk/jfr/event/compiler/TestCompilerQueueUtilization.java line 36:
>
>> 34: * @test
>> 35: * @key jfr
>> 36: * @requires vm.hasJFR
>
> Does it need C1 and/or C2?
yes requires c1 or c2
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16211#discussion_r1362628813
PR Review Comment: https://git.openjdk.org/jdk/pull/16211#discussion_r1362629511
More information about the hotspot-jfr-dev
mailing list