On the 0x1E4 day of Apache Harmony Oliver Deakin wrote:
> > Forcing gc by hand does work, but it is difficult for code to know
> > when to
> > call gc.So I think it is better if VM can give some support since it
> > knows
> > the global situation.:)
> 
> ..and of course a manual gc() call does not necessarily result in a gc

this one is easy :) make a gc2() magic in DRLVM and collect only young
objects on it.. to make code portable, implement gc2() as gc() for
other JVMs. Need to be patient until the generational GC.

Can a hack like this be widely accepted in Java community? I think, yes.

-- 
Egor Pasko, Intel Managed Runtime Division


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to