RFR: 8330157: C2: Add a stress flag for bailouts [v7]

Daniel Skantz duke at openjdk.org
Fri Jul 12 14:24:55 UTC 2024


On Mon, 1 Jul 2024 10:05:29 GMT, Daniel Skantz <duke at openjdk.org> wrote:

>> Or you somehow randomly enable/disable the `StressBailout` flag? Stuffing too much special-logic into the internals could be quite confusing for the flag-user.
>
> We can do that perhaps in `initialize_stress_seed` and rename the method, but the `StressBailoutMean` interface could still become less intuitive.

Could we just randomly add the flag to `Args` in CtwRunner.java, maybe with 10% probability?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19646#discussion_r1676003190


More information about the hotspot-compiler-dev mailing list