On Fri, 13 Mar 2026 11:02:58 GMT, Paul Hübner <[email protected]> wrote:
> 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. This pull request has now been integrated. Changeset: 2d66adb0 Author: Paul Hübner <[email protected]> URL: https://git.openjdk.org/valhalla/commit/2d66adb0d08d165bb27bbd26e7caac2e35d230d8 Stats: 10 lines in 2 files changed: 5 ins; 0 del; 5 mod 8380015: [lworld] runtime/valhalla/inlinetypes/field_layout/ValueRandomLayoutTest.java divides by zero during statistic printing Reviewed-by: fparain ------------- PR: https://git.openjdk.org/valhalla/pull/2223
