From 2e437f8b45ac2399011b32c6bacb68603c6728a5 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 3 Jun 2014 09:00:53 +0000 Subject: * 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 --- ChangeLog | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 10854b3c84..3db48a36fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +Tue Jun 3 17:54:21 2014 Koichi Sasada + + * 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 * gc.c: add verifying counters code in gc_verify_internal_consistency(). -- cgit v1.2.3