harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm][threadmanager] Fast thread local data access
Date Fri, 20 Oct 2006 13:56:08 GMT
On 10/20/06, Slava Shakin <vyacheslav.p.shakin@gmail.com> wrote:
>
> I think a generic encoding interface exposed by a component could return
> for
> a given helper a mask of affected registers, description of input and
> return
> parameters, and should not produce any other side effects including VM
> calls
> or exception throwing. BTW implementing a similar description mechanism
> for
> traditional VM helpers will also help modularity. Instead of helpers, we
> could think about extensible magics framework where magics are
> expanded/encoded by responsible components.


Slava,
The functionality you described could be reasonable for very low-level and
platform+OS specific magics only like TLS access.
The unboxed Java magics IMO are much more flexible because they are
converted to the HIR by JIT translator.

-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message