[#60404] is RB_GC_GUARD needed in rb_io_syswrite? — Eric Wong <normalperson@...>
I haven't gotten it to crash as-is, but it seems like we need to
4 messages
2014/02/01
[#60682] volatile usages — Eric Wong <normalperson@...>
Hi all, I went ahead and removed some use of volatile which were once
5 messages
2014/02/13
[#60794] [RFC] rearrange+pack vtm and time_object structs — Eric Wong <normalperson@...>
Extracted from addendum on top of Feature #9362 (cache-aligned objects).
4 messages
2014/02/16
[#61139] [ruby-trunk - Feature #9577] [Open] [PATCH] benchmark/driver.rb: align columns in text output — normalperson@...
Issue #9577 has been reported by Eric Wong.
3 messages
2014/02/28
[ruby-core:60790] [ruby-trunk - Bug #9187] st_table leaks when exception is raised in Hash#rehash
From:
nagachika00@...
Date:
2014-02-16 16:48:14 UTC
List:
ruby-core #60790
Issue #9187 has been updated by Tomoyuki Chikanaga.
Backport changed from 1.9.3: DONE, 2.0.0: REQUIRED to 1.9.3: DONE, 2.0.0: DONE
r43942, r43957 and r43975 were backported to ruby_2_0_0 at r45011.
----------------------------------------
Bug #9187: st_table leaks when exception is raised in Hash#rehash
https://bugs.ruby-lang.org/issues/9187#change-45205
* Author: Masaki Matsushita
* Status: Closed
* Priority: Normal
* Assignee: Masaki Matsushita
* Category: core
* Target version: 2.1.0
* ruby -v: ruby 2.1.0dev (2013-12-01 trunk 43941) [x86_64-linux]
* Backport: 1.9.3: DONE, 2.0.0: DONE
----------------------------------------
Following code causes leakage of st_table:
class Foo
def initialize
@raise = false
end
def hash
raise if @raise
@raise = true
return 0
end
end
h = {Foo.new => true}
10_0000.times do
h.rehash rescue nil
end
--
http://bugs.ruby-lang.org/