Integrated: 8332980: [IR Framework] Add option to measure IR rule processing time

Theo Weidmann tweidmann at openjdk.org
Mon Jan 27 08:22:49 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

This pull request has now been integrated.

Changeset: 175e58b2
Author:    Theo Weidmann <tweidmann at openjdk.org>
Committer: Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/175e58b2e321b779276a9a98a5e72cedb9638d0c
Stats:     21 lines in 3 files changed: 18 ins; 0 del; 3 mod

8332980: [IR Framework] Add option to measure IR rule processing time

Reviewed-by: kvn, chagedorn

-------------

PR: https://git.openjdk.org/jdk/pull/23266


More information about the hotspot-compiler-dev mailing list