Hi all,

In some rare cases, no abstract value classes are generated. This causes the 
statistics printer to divide by zero.

This change makes it such that at least one abstract class is generated (this 
is to ensure sufficient coverage) rather than band-aid fixing the symptom. When 
halfway through generation, the generator will nudge the next class to be 
abstract if no abstract value classes have been generated thus far.

I also added a quality of life seed print at the beginning of execution.

Testing: tier 1, 100 invocations of the generator on Linux x64. The originally 
failing seed passes.

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

Commit messages:
 - Generate at least one AVC.

Changes: https://git.openjdk.org/valhalla/pull/2223/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2223&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8380015
  Stats: 10 lines in 2 files changed: 5 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/valhalla/pull/2223.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2223/head:pull/2223

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

Reply via email to