harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao-Feng Li" <xiaofeng...@gmail.com>
Subject Re: [classlib] H-3148 (OOM when using native memory which is out of GC-control) again
Date Mon, 14 May 2007 23:53:53 GMT
+1 for the solution.

On 5/15/07, Mikhail Markov <mikhail.a.markov@gmail.com> wrote:
> Hi, all!
>
> I'd like to raise the problem with freeing native memory which is out of GC
> control again :-) (and https://issues.apache.org/jira/browse/HARMONY-3148 as
> one of it's demonstration).
> (See the previous round at
> http://thread.gmane.org/gmane.comp.java.harmony.devel/25768).
>
> Several people have added comments to the JIRA, but we need a general
> decision on the following question:
>
> Do we accept the way which was introduced by Leo's patch in H-3148 (i.e.
> check if there are enough native memory available before allocating new one,
> and call System.gc() (or System.runFinalization()) if necessary)?
>
> I'm +1 for this method.
> (Mark mentioned that he'd refactored the patch if he had time:-) - i'm ready
> to do this if he has no time.)
>
> Thanks,
> Mikhail
>


-- 
http://xiao-feng.blogspot.com

Mime
View raw message