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

Daniel Skantz duke at openjdk.org
Mon Jul 1 07:15:20 UTC 2024


On Mon, 1 Jul 2024 06:31:17 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> Daniel Skantz has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - tweak probability in CtwRunner, add CaptureBailoutInformation
>>  - remove once-used method arg
>
> src/hotspot/share/opto/compile.cpp line 1024:
> 
>> 1022: #ifdef ASSERT
>> 1023:   _phase_optimize_finished = false;
>> 1024:   _phase_verify_ideal_loop = false;
> 
> What is this for?

This is to disable the stress mode during PhaseIdealLoop::verify(). I am not sure if we need to enable the stress mode during this verification pass, and it did not seem trivial to make it work. What do you think?

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

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


More information about the hotspot-compiler-dev mailing list