RFR: 8348401: [IR Framework] PrintTimes should not require verbose

Theo Weidmann tweidmann at openjdk.org
Thu Jan 23 12:38:03 UTC 2025


The flag -DPrintTimes=true currently only prints the measured execution time if -DVerbose=true is also used. This patch removes the dependency on -DVerbose=true. 

Example command:


jtreg -jdk:build/fastdeb/jdk -verbose:all -vmoptions:"-DPrintTimes=true"


Example output:


Messages from Test VM
---------------------
 testIntArrayRunner:             67200625 ns
 testByteArrayRunner:           108177958 ns
 testShortArrayRunner:          156758500 ns
 testLongArrayRunner:           202389542 ns

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

Commit messages:
 - Update TestVM.java
 - Update TestVM.java

Changes: https://git.openjdk.org/jdk/pull/23267/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23267&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348401
  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/23267.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23267/head:pull/23267

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


More information about the hotspot-compiler-dev mailing list