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

Properly account for foreign objects in GC #1842

Merged
merged 1 commit into from
Apr 19, 2017

Conversation

dipinhora
Copy link
Contributor

Prior to this commit, foreign objects were accounted for upon
receive but then their impact on the heap was lost whenever GC
ran. This commit resolves that by making sure that foreign objects
are properly accounted in the heap during the marking phase of GC
in a manner similar to how they're accounted for upon receive.

Resolves #1550

Prior to this commit, foreign objects were accounted for upon
receive but then their impact on the heap was lost whenever GC
ran. This commit resolves that by making sure that foreign objects
are properly accounted in the heap during the marking phase of GC
in a manner similar to how they're accounted for upon receive.

Resolves ponylang#1550
@SeanTAllen
Copy link
Member

@sylvanc can you verify this is as you intended?

@SeanTAllen SeanTAllen added the triggers release Major issue that when fixed, results in an "emergency" release label Apr 18, 2017
@jemc
Copy link
Member

jemc commented Apr 18, 2017

Is it possible this also solves #1781?

@dipinhora
Copy link
Contributor Author

Upon a quick look, I'm not sure that this change would solve issue #1781. It would need to be tested explicitly to confirm.

@albertnetymk
Copy link

My understanding of this PR is that it fixes the heuristics for when to trigger GC, so it probably doesn't fix #1781.

@SeanTAllen SeanTAllen merged commit 6de742b into ponylang:master Apr 19, 2017
SeanTAllen added a commit that referenced this pull request Apr 19, 2017
Missed during merge
@SeanTAllen SeanTAllen mentioned this pull request Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triggers release Major issue that when fixed, results in an "emergency" release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Foreign objects are not properly accounted for in GC
4 participants