RFR: 8330157: C2: Add a stress flag for bailouts [v4]
Roberto Castañeda Lozano
rcastanedalo at openjdk.org
Wed Jun 19 08:16:13 UTC 2024
On Wed, 19 Jun 2024 07:06:07 GMT, Daniel Skantz <duke at openjdk.org> wrote:
>> Enabling the stress code in debug builds too could work. I can give it a try, but it will require some time for more testing.
>
> Enabling the new flag in debug builds works if we weaken some existing asserts to allow artificial failures. I'm considering making this stress mode debug-only.
I totally support making the stress mode work in debug builds, this is the mode in which we would get most value out of the bailout stress functionality. Support for product builds is secondary in my opinion (although it may add some value, e.g. helping reproduce issues that only surface in product builds), and may be excluded if there are any concerns about e.g. stability.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/19646#discussion_r1645653759
More information about the hotspot-compiler-dev
mailing list