harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk" <ivan.volos...@gmail.com>
Subject Re: [drlvm] Jitrino.OPT performs incorrect GC enumeration in nested loop with array accesses
Date Thu, 05 Oct 2006 14:00:07 GMT
On 10/5/06, Mikhail Fursov <mike.fursov@gmail.com> wrote:
> On 10/5/06, Ivan Volosyuk <ivan.volosyuk@gmail.com> wrote:
> >
> > Is this can be a problem? If the base pointer is optimized out and we
> > will find different object base?
> > --
> > Ivan
> >
> > The base pointer for mptr with unknown offset must live as long as mptr is
> alive.
> The 'gcpoint' pass adds pseudo usages for such bases after every call
> instruction where mptr with unknown offset is used.
> So if base pointer is lost this is a bug.

I can make a patch which will check this assertion in the GC enumeration code.
--
Ivan

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message