summaryrefslogtreecommitdiff
path: root/lib/rubygems/specification.rb
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-06-06 15:41:59 -0400
committerPeter Zhu <peter@peterzhu.ca>2022-06-07 09:56:20 -0400
commitc4bf24ee4672cc24a9355a08eb9afd3dbb073be5 (patch)
tree96a9e865917819fe17406526234632a20a99894e /lib/rubygems/specification.rb
parentf50432fba850fd163be07a8c7062517eb7ba6e97 (diff)
Remove while loop over heap_prepare
Having a while loop over `heap_prepare` makes the GC logic difficult to understand (it is difficult to understand when and why `heap_prepare` yields a free page). It is also a source of bugs and can cause an infinite loop if `heap_page` never yields a free page.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5907
Diffstat (limited to 'lib/rubygems/specification.rb')
0 files changed, 0 insertions, 0 deletions