Skip to content

Implement multithreaded liveness checking #1418

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

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

KimSteenRiber
Copy link

@KimSteenRiber KimSteenRiber commented Mar 24, 2021

This is a copy of a previous PR, that was backed out due to failing QV. The multithreading has been rewritten on the unity side, while the mono and il2cpp side remain the same
This branch introduces support for multithreaded liveness checking, and uses a new block container type, that will allocate new blocks when needed, instead of reallocating a continuous array like the old implementation did. This also removes the need for starting and stopping the world and removing the marks that has been set in the walked objects, when reallocating blocks for the array.

This branch introduces support for multithreaded liveness checking, and uses a new block container type, that will allocate new blocks when needed, instead of reallocating a continuous array like the old implementation did. This also removes the need for starting and stopping the world, and removing the marks that has been set in the walked objects.
@ashwinimurt
Copy link

@ashwinimurt to get notified when this is merged.

@joshpeterson
Copy link

The changes look fine, but let's not merge this until we get the entire landing pattern with the IL2CPP and Unity repos worked out again.

@KimSteenRiber
Copy link
Author

I'll make sure to run more than just abv this time, or perhaps we should make a dedicated batch for this.

@ashwinimurt ashwinimurt merged commit b2b04de into unity-master Apr 8, 2021
@ashwinimurt
Copy link

QV green unity branch.

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