Skip to content

runtime: add direct test of GC bitmap data #7135

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

Closed
randall77 opened this issue Jan 15, 2014 · 3 comments
Closed

runtime: add direct test of GC bitmap data #7135

randall77 opened this issue Jan 15, 2014 · 3 comments
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.

Comments

@randall77
Copy link
Contributor

We write a lot of GC bitmaps, but they aren't really tested except for the overall GC
test.  We should test them explicitly.  Russ' idea:

I wonder if we could have a debugging routine that takes an allocated block and (say)
sets every slot that holds a pointer to ~0. then a test could check that the expected
slots were edited.
@rsc
Copy link
Contributor

rsc commented Apr 3, 2014

Comment 1:

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented May 9, 2014

Comment 2:

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

@randall77
Copy link
Contributor Author

Comment 3:

There is now an explicit test for this, see gcinfo_test.go.

Status changed to Fixed.

@randall77 randall77 added fixed Suggested Issues that may be good for new contributors looking for work to do. labels Sep 8, 2014
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Projects
None yet
Development

No branches or pull requests

3 participants