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

pal init: Init membarrier() before first thread to improve start time #106724

Merged

Commits on Aug 21, 2024

  1. pal init: InitializeFlushProcessWriteBuffers() before first thread to…

    … improve start time
    
    InitializeFlushProcessWriteBuffers() initializes expedited membarrier()
    syscall on Linux, which is much slower when called in a multi-thread
    process. Move this init earlier to improve dotnet process start time.
    A detailed explanation can be found in issue 106722.
    
    Fixes dotnet#106722
    Haris Okanovic committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    bc7dbdd View commit details
    Browse the repository at this point in the history