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 /common.mk | |
parent | 792b6fd8a221eed71fc1a2328350edc3d167a1cb (diff) | |
download | ruby-511e155e24fbd21bd028b19de04aeab6b98109df.tar.gz |
* 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 'common.mk')
0 files changed, 0 insertions, 0 deletions