RFR: 8332980: [IR Framework] Add option to measure IR rule processing time
duke
duke at openjdk.org
Mon Jan 27 08:11:48 UTC 2025
On Thu, 23 Jan 2025 12:04:35 GMT, Theo Weidmann <tweidmann at openjdk.org> wrote:
> Adds a flag to the IR Framework that prints the time it took to verify the IR rules for each method.
>
> Example use:
>
>
> jtreg -jdk:build/fastdeb/jdk -verbose:all vmoptions:"-DPrintRuleMatchingTime=true" path/to/Test.java
>
>
> Example output:
>
>
> Verifying IR rules for testByteArray: 548584 ns = 0 ms
> Verifying IR rules for testIntArray: 702042 ns = 0 ms
> Verifying IR rules for testLongArray: 466209 ns = 0 ms
> Verifying IR rules for testShortArray: 731708 ns = 0 ms
@theoweidmannoracle
Your change (at version 10b0813698ab410c833659cc9a1abbb9b6de50af) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23266#issuecomment-2615076786
More information about the hotspot-compiler-dev
mailing list