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

add separate ptr data section #18978

Open
dlangBugzillaToGithub opened this issue Apr 20, 2015 · 2 comments
Open

add separate ptr data section #18978

dlangBugzillaToGithub opened this issue Apr 20, 2015 · 2 comments

Comments

@dlangBugzillaToGithub
Copy link

Martin Nowak (@MartinNowak) reported this on 2015-04-20T14:13:55Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=14472

Description

We should emit mutable data that can't alias GC memory to a separate .noptr section, so that it can be excluded when scanning GC roots.
@dlangBugzillaToGithub
Copy link
Author

code (@MartinNowak) commented on 2015-09-06T20:53:14Z

Might make more sense to add a special ptrdata section, so that the GC only has to scan that.

@dlangBugzillaToGithub
Copy link
Author

code (@MartinNowak) commented on 2015-09-07T15:44:19Z

Something along this line from Rainer.
https://github.com/D-Programming-Language/dmd/pull/5047#issuecomment-138125410
https://github.com/rainers/dmd/commit/e6a3d1778ad2969fc7bcb378a084b8d865b015c7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant