Closed jasonroelofs closed 1 year ago
Your thoughts @cfis? Seems the memory tests we have are more reliable when GC stress testing is turned off.
GC stress is only enabled on windows, so wouldn't account for failures on Ubuntu or MacOS.
I enabled it mostly as a double check - I've found it very helpful with ruby-prof and with compaction enabled to reveal incorrect handling of Ruby Objects on the C/C++ side. I also thought it would prevent the failures by forcing the GC to always run. But apparently that is not the issue. Anyway, I did comment out the the commonly failing Data_Object test case again.
But its fine to turn it off too since it is just on Windows.
There are a couple of destructor-based tests that are failing regularly on Windows and for certain versions of Ruby on Mac. Not sure how to track these down but if we disable the stress testing they go away (which is odd becuase without stress testing the destructors actually get called?)
Not sure Ruby's GC stress testing is that great.