RFR: 8356027: Print enhanced compilation timings [v2]
Aleksey Shipilev
shade at openjdk.org
Mon May 5 15:27:47 UTC 2025
On Fri, 2 May 2025 16:27:27 GMT, Ashutosh Mehra <asmehra at openjdk.org> wrote:
> While you are refactoring this, if you can also add a title to the `PrintCompilation` output. like the following, it would immensely helpful as it would avoid the need to dig up the code to understand what these numbers stand for.
Added in new commit. I thought about printing the legend every n-th time, but there is a major wrinkle: the generic `print_impl` gets passed a stream, so we do not know if we have printed header there or not. Or whether indeed we should print a header there. So I opted to print it once from compiler initialization code.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24984#issuecomment-2851362344
More information about the hotspot-dev
mailing list