harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Garner <robin.gar...@anu.edu.au>
Subject Re: [Fwd: Re: [DRLVM][JET] write barrier for Java (mmtk)]
Date Fri, 13 Oct 2006 06:00:41 GMT
Weldon Washburn wrote:
> Robin,
> I did a diff of the mmtk/vm directory.  It looks like nothing really 
> changed
> in the vm interface code which is good.  Am I understanding this right??

That sounds about right.  And (famous last words) I think the interface 
will probably remain stable for a while now.

> I did notice a change in utility/scan/mmtype.java.  
> getSlot(ObjectReference,
> int) returns addr.plus(VM.ARRAY_BASE_OFFSET).... instead of
> ...plus(arrayOffset)...
> I actually stumbled on this bug during bringup.  I replaced
> ...plus(arrayOffset)... with ...plus(12)...  Its a hack.  But now it looks
> like I simply set ARRAY_BASE_OFFSET to 12 during <clinit>.  Does this seem
> right??

That's the intent, yes.  Each VM provides its array base offset as a 


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

View raw message