[#81999] [Ruby trunk Bug#13737] "can't modify frozen String" when installing bundled gems — ko1@...
Issue #13737 has been updated by ko1 (Koichi Sasada).
4 messages
2017/07/11
[#82005] [Ruby trunk Bug#13737] "can't modify frozen String" when installing bundled gems — nobu@...
Issue #13737 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/07/12
[#82102] Re: register_fstring_tainted:FL_TEST_RAW(str, RSTRING_FSTR) — Eric Wong <normalperson@...>
Koichi Sasada <ko1@atdot.net> wrote:
4 messages
2017/07/18
[#82151] [Ruby trunk Feature#13637] [PATCH] tool/runruby.rb: test with smallest possible machine stack — Rei.Odaira@...
Issue #13637 has been updated by ReiOdaira (Rei Odaira).
3 messages
2017/07/24
[ruby-core:82196] Re: [Ruby trunk Bug#13772] Memory leak recycling stacks for threads in 2.4.1
From:
Eric Wong <normalperson@...>
Date:
2017-07-27 09:19:55 UTC
List:
ruby-core #82196
Thanks for the report, it seems it's the presence of
th->root_fiber in thread_start_func_2 and thread_free causing
stack to be unfreed.
Smaller reproduction w/o rest-client:
i = 0
100000.times.each_slice(32) do |slice|
slice.map do
Thread.new do
f = Fiber.new {}
f.resume
end
end.each(&:join)
GC.start(full_mark: true, immediate_sweep: true)
slots = GC.stat[:heap_live_slots]
puts "slots #{slots} #{i+=1} threads #{Thread.list.count}"
end
Maybe ko1 can help fix it.
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>