Weldon Washburn wrote:
On 12/21/06, Mikhail Fursov <[EMAIL PROTECTED]> wrote:

There is no problem to support old-style (exception) and new style
(annotation) pragmas in JIT.
But there is a problem for helpers developers. If vmmagic.jar has only one
of them, you can't compile a helper if you use another. So if we use
vmmagics from 3rd party site it's better for us to write helpers that can
be
compiled with the same library.


Good point.  I assume vmmagic is rapidly stabilizing.  In other words, once
we make the migration to the new vmmagic API, it won't change for a very
long time.  As far as I can tell, the big change is in the pragmas.  There
was minor change in the unboxed directory. This means (hopefully) little or
no impact on the lines of "real" code.  Just some mods on how a method is
declared "uninterruptible", "noinline", etc.  The bottom line, moving
everything over to the new vmmagic API is probably less work than trying to
maintain a mix and match of old and new API.  Robin, is this a correct
statement?

This is true. JikesRVM has already dropped support for the old 'throws' style pragmas. The change isn't hard to script up and do automatically.


On 12/21/06, Mikhail Fursov <[EMAIL PROTECTED]> wrote:
>
> Actually we can :)
>
> On 12/21/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote:
> >
> > Should we maintain both annotated and throw-style pragmas?
> >
> > 2006/12/21, Mikhail Fursov <[EMAIL PROTECTED]>:
> > > Hi Robin!
> > > I'm glad to hear that we will have a small and thin jar instead of
the
> > old
> > > one.
> > > I'm going to provide a patch for our build system right after you
put
> > a
> > > release to the official vmmagic site.
> > > The only incompatibility I see is that we have to use annotations to
> > use new
> > > vmmagic code (we use 'throws'-like markers now). I'll fix it too.
> > >
> > >
> > > BTW the correct URL is vmmagic.sf.net, isn't it?
> > > BTW2 is the new vmmagic interface (I mean annotations) is the same
as
> > used
> > > in JikesRVM? IMO we want to be compatible here.
> > >
> > > On 12/21/06, Robin Garner <[EMAIL PROTECTED]> wrote:
> > > >
> > > > We have just about finished the latest version of vmmagic, and
those
> >
> > > > interested can download a snapshot from
> > > >
> > > >    http://cs.anu.edu.au/people/Robin.Garner/vmmagic-20061221.jar
> > > >
> > > > This will become available at vmmagic.org in the next few days.
> > > >
> > > > The principal change from the previous version is that pragmas are
> > now
> > > > Annotations.  Comments and feedback are welcome.
> > > >
> > > > cheers,
> > > > Robin
> > > >
> > > > --
> > > > Robin Garner
> > > > Dept. of Computer Science
> > > > Australian National University
> > > > http://cs.anu.edu.au/people/Robin.Garner/
> > > >
> > >
> > >
> > >
> > > --
> > > Mikhail Fursov
> > >
> > >
> >
>
>
>
> --
> Mikhail Fursov




--
Mikhail Fursov






--
Robin Garner
Dept. of Computer Science
Australian National University
http://cs.anu.edu.au/people/Robin.Garner/

Reply via email to