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

Fix small chunk finaliser bug #2257

Merged
merged 1 commit into from
Oct 4, 2017
Merged

Conversation

dipinhora
Copy link
Contributor

Prior to this commit there was a bug which prevented the finaliser
from running for the first slot of a small chunk in an actors
heap. This would result in incorrect behavior but only on a subset
of all objects created depending on which slot in a small chunk the
object happened to occupy.

This commit fixes this issue and also adds a test to catch the
issue to prevent regression.


This bugfix is the last remaining hurdle preventing completion of WallarooLabs/wally/issues/1605

Prior to this commit there was a bug which prevented the finaliser
from running for the first slot of a small `chunk` in an actors
`heap`. This would result in incorrect behavior but only on a subset
of all objects created depending on which slot in a small chunk the
object happened to occupy.

This commit fixes this issue and also adds a test to catch the
issue to prevent regression.
@SeanTAllen
Copy link
Member

Sweet

@Praetonus Praetonus merged commit f6742a4 into ponylang:master Oct 4, 2017
@mfelsche
Copy link
Contributor

mfelsche commented Oct 4, 2017

Thanks a million @dipinhora !

@SeanTAllen SeanTAllen mentioned this pull request Oct 9, 2017
dipinhora added a commit to dipinhora/ponyc that referenced this pull request Oct 9, 2017
dipinhora added a commit to dipinhora/ponyc that referenced this pull request Oct 9, 2017
SeanTAllen pushed a commit that referenced this pull request Oct 9, 2017
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.

4 participants