diff options
Diffstat (limited to 'gc.rb')
-rw-r--r-- | gc.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -242,13 +242,13 @@ module GC # were moved are replaced with T_MOVED objects. No object should have a # reference to a T_MOVED object after compaction. # - # This function doubles the heap to ensure room to move all objects, + # This function expands the heap to ensure room to move all objects, # compacts the heap to make sure everything moves, updates all references, # then performs a full GC. If any object contains a reference to a T_MOVED # object, that object should be pushed on the mark stack, and will # make a SEGV. - def self.verify_compaction_references(toward: nil, double_heap: false) - Primitive.gc_verify_compaction_references(double_heap, toward == :empty) + def self.verify_compaction_references(toward: nil, double_heap: false, expand_heap: false) + Primitive.gc_verify_compaction_references(double_heap, expand_heap, toward == :empty) end end |