[ruby-cvs:78761] 1e88f6eb95 (master): Refactor free page insertion
"Aaron Patterson" <[email protected]>
| Newsgroups | gmane.comp.lang.ruby.cvs |
|---|---|
| Message-ID | <[email protected]> |
Aaron Patterson 2019-12-18 10:26:11 +0900 (Wed, 18 Dec 2019)
New Revision: 1e88f6eb95
https://github.com/ruby/ruby/commit/1e88f6eb95
Log:
Refactor free page insertion
I am trying to fix this error:
http://ci.rvm.jp/results/trunk-gc_compact@silicon-docker/2491596
Somehow we have a page in the `free_pages` list that is full. This
commit refactors the code so that any time we add a page to the
`free_pages` list, we do it via `heap_add_freepage`. That function then
asserts that the free slots on that page are not 0.
Modified files:
gc.c