From 9b8825b6f94696c9659f93f5da9bf02644625f67 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 29 May 2020 15:59:14 -0700 Subject: Update NEWS / documentation with GC.start(compact:true) --- gc.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'gc.rb') diff --git a/gc.rb b/gc.rb index 23ed12ffdc..881b8659ce 100644 --- a/gc.rb +++ b/gc.rb @@ -26,6 +26,7 @@ module GC # # Use full_mark: false to perform a minor GC. # Use immediate_sweep: false to defer sweeping (use lazy sweep). + # Use compact: true to compact the heap (it implies a full mark and sweep). # # Note: These keyword arguments are implementation and version dependent. They # are not guaranteed to be future-compatible, and may be ignored if the -- cgit v1.2.3