[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61610] [ruby-trunk - Bug #9645] [PATCH] variable.c: avoid memory leak on const redefinition

From: nagachika00@...
Date: 2014-03-20 12:23:02 UTC
List: ruby-core #61610
Issue #9645 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE, 2.1: REQUIRED

r45350 was backported to ruby_2_0_0 at r45373.

----------------------------------------
Bug #9645: [PATCH] variable.c: avoid memory leak on const redefinition
https://bugs.ruby-lang.org/issues/9645#change-45882

* Author: Eric Wong
* Status: Closed
* Priority: Normal
* Assignee: Eric Wong
* Category: core
* Target version: current: 2.2.0
* ruby -v: ruby 2.2.0dev (2014-03-16 trunk 45349) [x86_64-linux]
* Backport: 2.0.0: DONE, 2.1: REQUIRED
----------------------------------------
I noticed this leak because I was making constants use ihash from Feature 9614.
I hope nobody is really affected by this leak.


---Files--------------------------------
0001-variable.c-avoid-memory-leak-on-const-redefinition.patch (1.5 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next