JDK-8302137 : Speed up compiler/codegen/TestTrichotomyExpressions.java
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 21
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2023-02-09
  • Updated: 2025-04-24
  • Resolved: 2025-04-24
Related Reports
Blocks :  
Relates :  
Description
https://github.com/openjdk/jdk/blame/master/test/hotspot/jtreg/compiler/codegen/TestTrichotomyExpressions.java

It is one of the slowest compiler tests in tier1, takes over 30sec.

Looks like high iteration count is the problem.

Wait with this for now, as the test might get rewritten for JDK-8211518.
Comments
Closing all tasks created for the test speedups under JDK-8295561. If this becomes a priority again, we should probably measure test performance of all tests, and prioritize by which tests are taking the most time now, and not based on data from 2023.
24-04-2025