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

runtime: GC precision tests #6097

Closed
dvyukov opened this issue Aug 10, 2013 · 8 comments
Closed

runtime: GC precision tests #6097

dvyukov opened this issue Aug 10, 2013 · 8 comments

Comments

@dvyukov
Copy link
Member

dvyukov commented Aug 10, 2013

Since we are actively working on precise GC with the goal of 100% precision. It's a good
idea to have some GC precision tests. E.g. allocate a heap block, set finalizer for it,
cast the pointer to uintptr, spray the value to locals/arguments/globals/heap/etc, call
GC, ensure that the block is still collected. Later when we discover/fix new corner
cases, we will be able to test them as well.
@dvyukov
Copy link
Member Author

dvyukov commented Aug 10, 2013

Comment 1:

While I remember, one place where we are conservative is arguments/locals of assembly
functions.

@lexprfuncall
Copy link

Comment 2:

This is a good idea.  I have tests like the one you describe for use with the liveness
analysis that I will incorporate in the test suite when that is checked in.  I also have
a debugging mode that aggressively verifies the correctness of the maps on ordinary code.

@rsc
Copy link
Contributor

rsc commented Sep 9, 2013

Comment 3:

No longer for Go 1.2, because precision didn't make it in.

Labels changed: removed go1.2maybe.

@rsc
Copy link
Contributor

rsc commented Nov 27, 2013

Comment 4:

Labels changed: added go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 5:

Labels changed: added release-none, removed go1.3maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 6:

Labels changed: added repo-main.

@rsc
Copy link
Contributor

rsc commented Mar 4, 2014

Comment 7:

Owner changed to @rsc.

@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@dvyukov
Copy link
Member Author

dvyukov commented Jun 26, 2017

obsolete

@dvyukov dvyukov closed this as completed Jun 26, 2017
@golang golang locked and limited conversation to collaborators Jun 26, 2018
@rsc rsc removed their assignment Jun 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants