[#7055] More on VC++ 2005 — Austin Ziegler <halostatue@...>

Okay. I've got Ruby compiling. I'm attempting to get everything in

17 messages 2006/01/05
[#7058] Re: More on VC++ 2005 — nobuyoshi nakada <nobuyoshi.nakada@...> 2006/01/06

Hi,

[#7084] mathn: ugly warnings — hadmut@... (Hadmut Danisch)

Hi,

22 messages 2006/01/10
[#7097] Re: mathn: ugly warnings — Daniel Berger <Daniel.Berger@...> 2006/01/10

Hadmut Danisch wrote:

[#7098] Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/10

Daniel Berger wrote:

[#7118] Re: Design contracts and refactoring (was Re: mathn: ugly warnings) — mathew <meta@...> 2006/01/12

*Dean Wampler *<deanwampler gmail.com> writes:

[#7226] Fwd: Re: Question about massive API changes — "Sean E. Russell" <ser@...>

Hello,

23 messages 2006/01/28
[#7228] Re: Question about massive API changes — Caleb Tennis <caleb@...> 2006/01/28

>

Re: core dump with ruby 1.9.0 (2006-01-10) and bdb-0.5.8

From: "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Date: 2006-01-11 11:01:42 UTC
List: ruby-core #7104
Hi.

ts <decoux@moulon.inra.fr> wrote:
(2006/01/11 18:53)

>>>>>> "T" == Tanaka Akira <akr@m17n.org> writes:
>
>T> GC.stress = true
>
> This is this that it don't like. I'll see what I can do.
>
>Guy Decoux

This method was introduced into HEAD (ruby1.9) yesterday or today
for the sake of GC debuging. If this is turned on, every call of
xmalloc (or xcalloc or xrealloc) causes GC.

void *ruby_xmalloc(size_t size)
{
    if (GC.stress) {
        rb_gc(); /* every time */
        return malloc(size);
    }
    else {
        void *p = malloc(size);
        if (p) return p;
        rb_gc(); /* only when memory is exhausted */
        return malloc(size);
    }
}

Frequent GC smokes out GC (memory) bug.
(I used this when debuging syck memory bug)



In This Thread