2015-04-06 10:38:11 +02:00
|
|
|
|
2015-04-08 19:24:50 +02:00
|
|
|
# A Space is a collection of pages. It stores objects, the data for the objects,
|
|
|
|
# not references. See Page for more detail.
|
|
|
|
|
|
|
|
# Pages are stored by the object size they represent in a hash.
|
|
|
|
|
|
|
|
# Space and Page work together in making *new* objects available.
|
|
|
|
# "New" is slightly misleading in that normal operation only ever
|
|
|
|
# recycles objects.
|
|
|
|
|
2015-04-08 19:33:15 +02:00
|
|
|
class Space < Object
|
2015-04-08 19:24:50 +02:00
|
|
|
|
2015-04-15 10:39:12 +02:00
|
|
|
# ObjectSpace
|
|
|
|
# :each_object, :garbage_collect, :define_finalizer, :undefine_finalizer, :_id2ref, :count_objects
|
2015-04-06 10:38:11 +02:00
|
|
|
end
|