RFR: 8356027: Print enhanced compilation timings [v4]
Aleksey Shipilev
shade at openjdk.org
Tue May 6 09:31:32 UTC 2025
On Mon, 5 May 2025 21:13:08 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:
> "W=time spent in waiting to be put on compilation queue"
>
> I am not sure about this since it is mostly 0s in normal execution. I understand that you already have values and easy to calculate but output become complex and you may forgot what the columns mean.
Yeah, `W` is not always `0`, but most of the time it is. I agree it makes the logging noisier. We can merge `W` and `Q` into `Q`, i.e. saying that the time spent waiting for queue insert is the time spend in queuing. See new commit.
> I thought about using `-XX:+Verbose` to gate it but it is debug flag. May be we can print it only for installing AOT code?
I think the queuing delays affect normal JIT compilations as well, so it would be nice to surface them for all compilations. I would also like to make this info universally available without any other magic incantations. So I would prefer not to gate this by `Verbose` flag.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24984#issuecomment-2853874789
More information about the hotspot-dev
mailing list