harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuri Kashnikoff" <yuri.kashnik...@gmail.com>
Subject Re: [drlvm][gc] How to iterate MOS?
Date Thu, 06 Mar 2008 06:00:44 GMT
Thank you for your help Xiao-Feng.
I will prepare description of my work just a little bit later. Sorry
but this due to my NSU activities :)

On Tue, Mar 4, 2008 at 7:05 PM, Xiao-Feng Li <xiaofeng.li@gmail.com> wrote:
>
> On 04 Mar 2008 13:24:24 +0300, Egor Pasko <egor.pasko@gmail.com> wrote:
>  > On the 0x3FD day of Apache Harmony Yuri Kashnikoff wrote:
>  >  > Xiao-Feng,
>  >  >
>  >  >
>  >  > >  Yuri, simply copying gc_gen_iterate_heap()  doesn't work, because the
>  >  > >  heap state could be transient during collection. Especially for the
>  >  > >  second insertion, it is in the middle of a transition from a minor
>  >  > >  collection to a major collection, so the objects' states are not
>  >  > >  consistent.
>  >  > >
>  >  > >  Does your original code without mutator iteration work for you to
>  >  > >  iterate live objects in MOS?
>  >  > Yes. I found the place where objects' states are consistent. And it works
well.
>  >  > Thank you for your answers, they helped me a lot.
>  >  >
>  >  > I would like to find a place where all objects in MOS are marked as
>  >  > live/dead, but before
>  >  > compactisation. May such state be produced by playing with
>  >  > num_marking_collectors ?
>  >  > Or is there any appropriate method to produce such state (for further
>  >  > MOS iteration)?
>  >
>  >  OFFTOPIC
>  >
>  >  Yuri, do you have time do tescribe your project in the mailing list or
>  >  on wiki? Looks interesting :)
>
>  Yes, that would also help me to give the right answer.
>
>  Thanks.
>  xiaofeng
>  >  --
>  >  Egor Pasko
>
>
> >
>  >
>
>
>
>  --
>  http://xiao-feng.blogspot.com
>



-- 
Yuri S. Kashnikov
Novosibirsk State University, Russia
2 Pirogova street
630090, Novosibirsk-90
yuri.kashnikoff@gmail.com

Mime
View raw message