diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-03 09:00:53 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-03 09:00:53 +0000 |
| commit | 2e437f8b45ac2399011b32c6bacb68603c6728a5 (patch) | |
| tree | 0735116e42cd78d16179a1eadce1d2e5b0ecf3fe /test/ruby | |
| parent | 9d71a0ae331c137b8c736e6dca1b1c265053ebe4 (diff) | |
* gc.c: change the counting method for young objects.
clear counter at the beggining of every GC and
count promoted (infant->young) objects.
Some promotions (infant->young) are transition of promoting to old
objects. We should not count such promotions.
With this technique, we don't need to check young objects
at obj_free().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
