RFR: 8299960: Speed up test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java

Emanuel Peter epeter at openjdk.org
Wed Jan 11 12:02:55 UTC 2023


This is one of the most time-consuming compiler tests.
On my machine, I was able to reduce it from `20 sec` to `3 sec`.

This is an irTest, so we basically only want to see if certain IR-nodes are present.
By default we do lots of warmup iterations, this is not required in these examples, so I set `@Warmup(1)`.

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

Commit messages:
 - 8299960: Speed up test/hotspot/jtreg/compiler/c2/irTests/TestVectorizeURShiftSubword.java

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

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


More information about the hotspot-compiler-dev mailing list