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 /ChangeLog | |
parent | 9d71a0ae331c137b8c736e6dca1b1c265053ebe4 (diff) | |
download | ruby-2e437f8b45ac2399011b32c6bacb68603c6728a5.tar.gz |
* 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 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Tue Jun 3 17:54:21 2014 Koichi Sasada <ko1@atdot.net> + + * 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(). + Tue Jun 3 16:38:19 2014 Koichi Sasada <ko1@atdot.net> * gc.c: add verifying counters code in gc_verify_internal_consistency(). |