[#69616] [Ruby trunk - Feature #11258] add 'x' mode character for O_EXCL — cremno@...
Issue #11258 has been updated by cremno phobia.
3 messages
2015/06/16
[#69643] [Ruby trunk - Misc #11276] [RFC] compile.c: convert to use ccan/list — normalperson@...
Issue #11276 has been updated by Eric Wong.
3 messages
2015/06/17
[#69751] [Ruby trunk - Bug #11001] 2.2.1 Segmentation fault in reserve_stack() function. — kubo@...
Issue #11001 has been updated by Takehiro Kubo.
3 messages
2015/06/27
[ruby-core:69800] [Ruby trunk - Bug #11200] Memory leak of method entries
From:
usa@...
Date:
2015-06-30 04:07:47 UTC
List:
ruby-core #69800
Issue #11200 has been updated by Usaku NAKAMURA.
Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: WONTFIX, 2.1: WONTFIX, 2.2: UNKNOWN
----------------------------------------
Bug #11200: Memory leak of method entries
https://bugs.ruby-lang.org/issues/11200#change-53194
* Author: Koichi Sasada
* Status: Closed
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: 2.3dev
* Backport: 2.0.0: WONTFIX, 2.1: WONTFIX, 2.2: UNKNOWN
----------------------------------------
```ruby
def recur
Class.new{
define_method(:foo) do
recur
end
}.new.foo
end
begin
recur
rescue SystemStackError
retry
end
```
This program increase memory consumption because method entries in method frames (running method entries) are not freed when classes/modules are freed.
I will solve this issue by changing method frame data structures soon.
However, it will be very big change, it is difficult to apply 2.2 and before.
It is very rare case, so I don't think it is critical issue to fix older versions.
--
https://bugs.ruby-lang.org/