Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check need_major_gc during GC stress
need_major_gc is set when a major GC is required. However, if gc_stress_no_major is also set, then it will not actually run a major GC. For example, the following script will sometimes crash: ``` GC.stress = 1 50000.times.map { [] } ``` With the following message: ``` [BUG] cannot create a new page after major GC ```
- Loading branch information