harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject Re: [classlib] Patch for H-3148 (OOM when using native memory which is out of GC-control)
Date Sat, 14 Apr 2007 20:03:13 GMT
On 4/15/07, Andrew Zhang <zhanghuangzhu@gmail.com> wrote:
>
>
>
> On 4/13/07, Tim Ellison <t.p.ellison@gmail.com> wrote:
> >
> > Nathan Beyer wrote:
> > > It looks like Tim took assignment of this issue. Tim, are you working
> > > on this one?
> >
> > If you have time to take it then please go ahead and steal it from me.
> > It may be a few days before I get to study it properly (I guess my main
> > concern would be performance impact of a memory check on each alloc).
>
>
> Is it possible to pre-alloc a certain mount of memory first, and if alloc
> fails, try to:
>
> 1. call gc
> 2. realloc from native or native + prealloced memory
>

Or we can invoke gc when it fails to alloc memory instead of checking memory
information before allocing?

Regards,
> > Tim
> >
>
>
>
> --
> Best regards,
> Andrew Zhang




-- 
Best regards,
Andrew Zhang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message