Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stack overflow handling issue in GC stress #56733

Merged
merged 1 commit into from
Aug 3, 2021

Commits on Aug 2, 2021

  1. Fix stack overflow handling issue in GC stress

    This change fixes a problem when in GC stress mode 3, GC started to run
    on the thread that hit stack overflow due to the GCX_PREEMP in
    DebuggerRCThread::DoFavor that is called from the
    EEPolicy::HandleFatalStackOverflow. It was causing failures in the CI.
    The issue is GC stress specific, the GCX_PREEMP would not start running
    GC on the current thread in regular cases.
    
    The fix is to inhibit GC stress in the HandleFatalStackOverflow.
    janvorli committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    071688f View commit details
    Browse the repository at this point in the history