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

Improving CUnitQueue performance and data race tolerance #2395

Merged

Commits on Jul 12, 2022

  1. [core] Protect CUnit::m_iFlag from data race

    using an atomic.
    Refactored common allocation code CUnitQueue::allocateEntry(..).
    maxsharabayko committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    d002b5e View commit details
    Browse the repository at this point in the history
  2. [core] Increased CUnitQueue block allocation speed.

    Allocates 128 additional units at the start and every time 90% of units are taken.
    Previously was allocating only 32 units.
    maxsharabayko committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    7c81569 View commit details
    Browse the repository at this point in the history