diff options
| author | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-10-03 17:52:00 -0700 |
|---|---|---|
| committer | Aaron Patterson <tenderlove@ruby-lang.org> | 2019-10-04 11:11:59 -0700 |
| commit | a20ed0565efd2f47845c890d1ebea341d43ee5e6 (patch) | |
| tree | 4359b8f78c2ea20dbbd476699b4784e1e00afb7b /spec/ruby/shared | |
| parent | cbf88064f5bd433c13345bbc2ce509b4e8509c7a (diff) | |
Don't allocate objects in `gc_compact`
I'd like to call `gc_compact` after major GC, but before the GC
finishes. This means we can't allocate any objects inside `gc_compact`.
So in this commit I'm just pulling the compaction statistics allocation
outside the `gc_compact` function so we can safely call it.
Diffstat (limited to 'spec/ruby/shared')
0 files changed, 0 insertions, 0 deletions
