diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-23 07:02:44 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-23 07:02:44 +0000 |
commit | 511e155e24fbd21bd028b19de04aeab6b98109df (patch) | |
tree | 1e7676e9a9aa5d43a2e905b21ee6c71c84f43f37 /ChangeLog | |
parent | 792b6fd8a221eed71fc1a2328350edc3d167a1cb (diff) |
* gc.c (heap_get_freeobj): clear slot->freelist here.
This means that this slot doesn't have any free objects.
And store this slot with objspace->heap.using_slot.
* gc.c (gc_before_sweep): restore objspace->freelist
into objspace->heap.using_slot->freelist.
This means that using_slot has free objects which are
pointed from objspace->freelist.
* gc.c (gc_slot_sweep): do not need to clear slot->freelist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +Tue Jul 23 15:57:11 2013 Koichi Sasada <ko1@atdot.net> + + * gc.c (heap_get_freeobj): clear slot->freelist here. + This means that this slot doesn't have any free objects. + And store this slot with objspace->heap.using_slot. + + * gc.c (gc_before_sweep): restore objspace->freelist + into objspace->heap.using_slot->freelist. + This means that using_slot has free objects which are + pointed from objspace->freelist. + + * gc.c (gc_slot_sweep): do not need to clear slot->freelist. + Tue Jul 23 09:34:49 2013 Zachary Scott <e@zzak.io> * sample/drb/README*.rdoc: [DOC] migrate DRb sample READMEs to rdoc |