diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-11-23 14:53:53 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-11-24 09:28:34 -0500 |
| commit | 99e1f7b60717bc5ca3b160f10f4a8fe1521cba7c (patch) | |
| tree | 2d1d2d1a4bdef75d3e8ce3d7508aa6fa96962c89 /test/ruby/test_lambda.rb | |
| parent | 406dafbb347cb81f6d256d18ac9fd2908a9cb8ef (diff) | |
Abort GC on shutdown
On large Ruby applications, shutdown may be slow if a major GC has just
started because rb_objspace_call_finalizer completes the GC.
This commit adds gc_abort which discards the mark stack if during
incremental marking and stops sweeping if during lazy sweeping.
Diffstat (limited to 'test/ruby/test_lambda.rb')
0 files changed, 0 insertions, 0 deletions
