diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 14:59:35 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-19 14:59:35 +0000 |
commit | 50214475a92b9d9d105a2ea8ee72081b4a6ef54c (patch) | |
tree | 93fae8855b3fe252e7760fa078c505c7037761a4 /compile.c | |
parent | 24c9860d55ba5578f9b5a6fecdd5bf4891731164 (diff) | |
download | ruby-50214475a92b9d9d105a2ea8ee72081b4a6ef54c.tar.gz |
* gc.c (garbage_collect_test): rewrite checking code.
When RGENGC_CHECK_MODE >= 2, all minor marking, run normal minor
marking *and* major/full marking. After that, compare the results
and shows BUG if a object living with major/full marking but dead
with minor marking.
After detecting bugs, print references information.
(RGENGC_CHECK_MODE == 2, show references to dead object)
(RGENGC_CHECK_MODE == 3, show all references)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
0 files changed, 0 insertions, 0 deletions