I adjusted the test to run with less iterations when C2 is not available. I 
verified that nothing interesting happens anymore after `1000` iterations 
(because execution is slow which gives the compiler threads enough time to 
compile everything). With C2, execution is much faster and we therefore need 
more iterations to trigger compilations of all interesting methods.

Thanks,
Tobias

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

Commit messages:
 - REDO
 - Undo
 - 8377881: [lworld] compiler/valhalla/inlinetypes/TestGenerated.java is slow 
without C2

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

PR: https://git.openjdk.org/valhalla/pull/2101

Reply via email to