diff options
-rw-r--r-- | test/ruby/test_process.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_process.rb b/test/ruby/test_process.rb index d7910e5acf..dc0ccd1f77 100644 --- a/test/ruby/test_process.rb +++ b/test/ruby/test_process.rb @@ -2742,6 +2742,9 @@ EOS ary.clear ary = nil + # Disable GC so we can make sure GC only runs in Process.warmup + GC.disable + total_pages_before = GC.stat(:heap_eden_pages) + GC.stat(:heap_allocatable_pages) Process.warmup |