Allow allocating large object from free list while background sweeping SOH by cshung · Pull Request #2103 · dotnet/runtime (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation4 Commits2 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

cshung

Fixes #1848

The change postponed the clearing of the free lists of the large object heap, that allows the free list to be used while the background small object heap sweeping is in progress.

Stress tests involving large object allocation mixed with all the existing test cases survived the stress run over the weekend without crashing or deadlock.

@cshung

@cshung

@Maoni0 is added to the review. #Closed

@Maoni0

these 2 lines can be gotten rid of


Refers to: src/coreclr/src/gc/gc.cpp:34466 in c25b551. [](commit_id = c25b551, deletion_comment = False)

@Maoni0

hmm, too bad the lines didn't actually get displayed (just the line #) but if you open this in codeflow it should work

@cshung

@cshung cshung changed the title[WIP] Allow allocating large object from free list while background sweeping SOH Allow allocating large object from free list while background sweeping SOH

Jan 24, 2020

Maoni0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cshung cshung deleted the dev/andrewau/keep-loh-freelist branch

January 28, 2020 02:08

VSadov added a commit to VSadov/runtime that referenced this pull request

Jan 29, 2020

@VSadov

VSadov added a commit that referenced this pull request

Jan 29, 2020

@VSadov

more PR feedback

MichalStrehovsky pushed a commit to MichalStrehovsky/corert that referenced this pull request

Mar 28, 2020

@VSadov @MichalStrehovsky

more PR feedback

MichalStrehovsky pushed a commit to MichalStrehovsky/corert that referenced this pull request

Mar 31, 2020

@VSadov @MichalStrehovsky

more PR feedback

jkotas pushed a commit to dotnet/corert that referenced this pull request

Apr 1, 2020

@VSadov @jkotas

more PR feedback

@ghost ghost locked as resolved and limited conversation to collaborators

Dec 11, 2020