Skip to content

Conversation

@sfc-gh-satherton
Copy link
Collaborator

@sfc-gh-satherton sfc-gh-satherton commented Dec 12, 2020

This PR resolves #4133

Changes in this PR:

  • Added yield to remap cleanup loop to prevent a stack overflow if too many queue entries are processed without waiting on IO.

Style

  • All variable and function names make sense.
  • The code is properly formatted (consider running git clang-format).

Performance

  • All CPU-hot paths are well optimized.
  • The proper containers are used (for example std::vector vs VectorRef).
  • There are no new known SlowTask traces.

Testing

  • The code was sufficiently tested in simulation.
  • If there are new parameters or knobs, different values are tested in simulation.
  • ASSERT, ASSERT_WE_THINK, and TEST macros are added in appropriate places.
  • Unit tests were added for new algorithms and data structure that make sense to unit-test
  • If this is a bugfix: there is a test that can easily reproduce the bug.

…many queue entries are processed without waiting on IO.
@sfc-gh-satherton sfc-gh-satherton marked this pull request as ready for review December 14, 2020 07:38
@sfc-gh-satherton
Copy link
Collaborator Author

CI failure was a CI problem.

@jzhou77 jzhou77 merged commit bac5b04 into apple:release-6.3 Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants