RFR: 8349094: GenShen: Race between control and regulator threads may violate assertions [v12]

Y. Srinivas Ramakrishna ysr at openjdk.org
Wed Feb 26 01:32:05 UTC 2025


On Sat, 15 Feb 2025 00:34:59 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

>> William Kemper has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 30 commits:
>> 
>>  - Merge remote-tracking branch 'jdk/master' into fix-control-regulator-threads
>>  - Old gen bootstrap cycle must make it to init mark
>>  - Merge remote-tracking branch 'jdk/master' into fix-control-regulator-threads
>>  - Improve message for assertion
>>  - Make shutdown safer for threads requesting (or expecting) gc
>>  - Do not accept requests if control thread is terminating
>>  - Notify waiters when control thread terminates
>>  - Add event for control thread state changes
>>  - Fix shutdown livelock error
>>  - Fix includes
>>  - ... and 20 more: https://git.openjdk.org/jdk/compare/ba6c9659...915ffbda
>
> src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp line 450:
> 
>> 448: 
>> 449:   void cancel_concurrent_mark();
>> 450:   bool cancel_gc(GCCause::Cause cause);
> 
> // Returns true if and only if cancellation request was successfully communicated.

See new comment at line 443 above.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23475#discussion_r1970759318


More information about the shenandoah-dev mailing list