diff options
Diffstat (limited to 'gc.rb')
-rw-r--r-- | gc.rb | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -30,12 +30,12 @@ module GC # Note: These keyword arguments are implementation and version dependent. They # are not guaranteed to be future-compatible, and may be ignored if the # underlying implementation does not support them. - def self.start full_mark: true, immediate_mark: true, immediate_sweep: true - __builtin_gc_start_internal full_mark, immediate_mark, immediate_sweep + def self.start full_mark: true, immediate_mark: true, immediate_sweep: true, compact: false + __builtin_gc_start_internal full_mark, immediate_mark, immediate_sweep, compact end def garbage_collect full_mark: true, immediate_mark: true, immediate_sweep: true - __builtin_gc_start_internal full_mark, immediate_mark, immediate_sweep + __builtin_gc_start_internal full_mark, immediate_mark, immediate_sweep, false end # call-seq: @@ -188,7 +188,7 @@ end module ObjectSpace def garbage_collect full_mark: true, immediate_mark: true, immediate_sweep: true - __builtin_gc_start_internal full_mark, immediate_mark, immediate_sweep + __builtin_gc_start_internal full_mark, immediate_mark, immediate_sweep, false end module_function :garbage_collect |