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: [drlvm][vm, mmtk] adding thread-local storage functionality to vmmagic
Date Fri, 18 Aug 2006 10:37:29 GMT
On 8/18/06, Robin Garner <robin.garner@anu.edu.au> wrote:
>
> Object org.vmmagic.utility.accessVmStructure(<identifier>)

This is a good idea to keep in mind. We can introduce it when needed.
At the moment for service fast-path inlining, I guess specific JIT
intrisics are enough.

> or even better, declare object instances with a pragma annotation
>
> @IntrinsicDataStructure("name")
> MutatorContext myMutatorContext;
>
> and the compiler generates code to fetch the address.  Has better type
> safety, potentially.

hmm, I am not sure how this syntactic suger can have better type safety.

Thanks,
xiaofeng

---------------------------------------------------------------------
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