RFR: 8332980: [IR Framework] Add option to measure IR rule processing time
Vladimir Kozlov
kvn at openjdk.org
Thu Jan 23 19:30:45 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
Why you need to warm up match()?
-------------
PR Review: https://git.openjdk.org/jdk/pull/23266#pullrequestreview-2570834783
More information about the hotspot-compiler-dev
mailing list