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

WIP stack scrubbing #10725

Closed
wants to merge 2 commits into from
Closed

WIP stack scrubbing #10725

wants to merge 2 commits into from

Conversation

carnaval
Copy link
Contributor

@carnaval carnaval commented Apr 2, 2015

Overwrite everything on the stack that looks like a pointer to a small julia object with 0xdead00000000 | offset where offset is its position in the memory region.
It should allow for guaranteed failure when an object is not rooted on the stack.
Doesn't work yet for big objects (we'll have to do a bit more work since we can't know the size given an interior pointer).
Probably a reasonable first step before conservative stack scanning.
(this branch also reverts Jameson's windows alignment fix because it was making it annoying to debug, but I hope we'll fix it for real before merging this PR).
I managed to crash it on a make testall run so there are still missing roots somewhere, this will make it easier to find them hopefully.

@yuyichao
Copy link
Contributor

Close in favor of #12317 .

@yuyichao yuyichao closed this Aug 11, 2015
@yuyichao yuyichao deleted the ob/gcscrub branch November 25, 2015 00:19
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.

2 participants