RFR: 8332980: [IR Framework] Add option to measure IR rule processing time
Christian Hagedorn
chagedorn at openjdk.org
Mon Jan 27 06:39:51 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
Looks good to me, too!
-------------
Marked as reviewed by chagedorn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23266#pullrequestreview-2574629175
More information about the hotspot-compiler-dev
mailing list