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: [drlvm] vmmagic snapshot available
Date Thu, 21 Dec 2006 22:52:30 GMT
Weldon Washburn wrote:
> On 12/21/06, Mikhail Fursov <mike.fursov@gmail.com> 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 <mike.fursov@gmail.com> wrote:
>> >
>> > Actually we can :)
>> >
>> > On 12/21/06, Alexey Varlamov <alexey.v.varlamov@gmail.com> wrote:
>> > >
>> > > Should we maintain both annotated and throw-style pragmas?
>> > >
>> > > 2006/12/21, Mikhail Fursov <mike.fursov@gmail.com>:
>> > > > 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 <robin.garner@anu.edu.au> 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/

Mime
View raw message