Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-20 Thread Timothy Stack
On Saturday, September 20, 2003, at 10:47 AM, Helmer Krämer wrote: On Fri, 19 Sep 2003 11:40:07 -0600 (MDT) Timothy Stack <[EMAIL PROTECTED]> wrote: Hi Tim, Okie, I've duplicated the problem, the gc is getting stuck and that eats up all the CPU. In particular it gets stuck in startGC() looping

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-20 Thread Timothy Stack
On Saturday, September 20, 2003, at 10:35 AM, Dalibor Topic wrote: Hi Tim, thanks for taking the time to look into this. I've tried backing out the change as you propose, and it works for me (TM). But the jit-temp-data is no longer freed, so we are back at square one ;( Yeah, i had the same pr

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-20 Thread Helmer Krämer
On Fri, 19 Sep 2003 11:40:07 -0600 (MDT) Timothy Stack <[EMAIL PROTECTED]> wrote: Hi Tim, > > Okie, I've duplicated the problem, the gc is getting stuck and that eats > > up all the CPU. In particular it gets stuck in startGC() looping on the > > finalizer list. I tried backing out helmer's

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-20 Thread Dalibor Topic
Hi Tim, thanks for taking the time to look into this. I've tried backing out the change as you propose, and it works for me (TM). But the jit-temp-data is no longer freed, so we are back at square one ;( Timothy Stack wrote: Okie, I've duplicated the problem, the gc is getting stuck and that e

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-19 Thread Timothy Stack
hi, > Okie, I've duplicated the problem, the gc is getting stuck and that eats > up all the CPU. In particular it gets stuck in startGC() looping on the > finalizer list. I tried backing out helmer's last changes to the GC and > it seems to run fine again, but I'm not really sure where the bu

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-19 Thread Timothy Stack
hi, > > now the jit frees its temp data, but I don't hear a sound anymore and > > the cpu usage is at ninety-something percent ;) > > > > when I run kaffe with -verbosecall and pipe the output to a file, I can > > hear some sound, but it skips. Weird. Could you take a third look at the > > co

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0

2003-09-18 Thread Timothy Stack
> > Hi Tim, > > it's getting better but it's not perfect yet ;) bah, i suck > now the jit frees its temp data, but I don't hear a sound anymore and > the cpu usage is at ninety-something percent ;) > > when I run kaffe with -verbosecall and pipe the output to a file, I can > hear some sound,

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0 works)

2003-09-18 Thread Dalibor Topic
Hi Tim, it's getting better but it's not perfect yet ;) now the jit frees its temp data, but I don't hear a sound anymore and the cpu usage is at ninety-something percent ;) when I run kaffe with -verbosecall and pipe the output to a file, I can hear some sound, but it skips. Weird. Could you

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0 works)

2003-09-17 Thread Dalibor Topic
Hi Tim, thanks for the quick patch! I tried it, but unfortunately, now kaffe crashes when I try to play a mp3. bash-2.05a$ kaffe -cp jl030.jar javazoom.jl.player.jlp /var/tmp/GutenRMX.mp3 playing /var/tmp/GutenRMX.mp3... kaffe-bin: ../../../../kaffe/kaffe/kaffevm/jit3/machine.c:221: translate:

Re: [kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0 works)

2003-09-16 Thread Timothy Stack
> > Timothy Stack wrote: > >>Hi, > > > >> > >>The memory usage seems to come from > >> > >>jit-temp-data: Nr179 Mem 8980K, which doesn't get freed as it > >>should be, so it's impossible to run with less then -mx 16M. I think the > >>gc should try to free jit temp data when it runs out of

[kaffe] Freeing jit temp data on demand (Was: Re: JavaLayer 0.3.0 works)

2003-09-16 Thread Dalibor Topic
Timothy Stack wrote: Hi, The memory usage seems to come from jit-temp-data: Nr179 Mem 8980K, which doesn't get freed as it should be, so it's impossible to run with less then -mx 16M. I think the gc should try to free jit temp data when it runs out of memory. Tim, Helmer, what do you th