Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Jun 24, 2022

This PR changes the scope of Space.acquire_lock. The lock was introduced in #555, and it caused bad allocation performance when we have many threads (e.g. more than 24 threads, mutator threads or GC threads with copying allocators). This pull request reduces the scope of this acquire_lock, and the overhead from it is mostly neglectable.

This closes #610.

Mutator performance after this pull request
ss-regression-mutator

@qinsoon qinsoon added the PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead) label Jun 27, 2022
@qinsoon qinsoon marked this pull request as ready for review June 27, 2022 05:01
@qinsoon qinsoon requested a review from wks June 27, 2022 05:01
Copy link
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

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

LGTM

@qinsoon qinsoon merged commit c2c4df0 into mmtk:master Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Performance regression on mutator time for semispace in PR#555

2 participants