[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiler Warning message ideas

From: Stefan Israelsson Tampe
Subject: Compiler Warning message ideas
Date: Sun, 22 Jan 2012 23:01:39 +0100

When compiling newest stable-2.0 I noticed,

wrote `ice-9/eval.go'
  GUILEC ice-9/psyntax-pp.go
GC Warning: Repeated allocation of very large block (appr. size 69632):
    May lead to memory leak and poor performance.
wrote `ice-9/psyntax-pp.go'

E.g. basically making a thread allocates a large block for the stack and the bohem gc explicitly tells us
that doing this will probably lead to memory leak using their gc.

So, make sure to use  "thread pools" or at least pools of stacks.

An idea is to hack on guile so that thread creation will allocate the stacks from a pool and then see if the
memory leak is plugged.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]