You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Mikhail Fursov <mi...@gmail.com> on 2006/10/26 10:05:27 UTC

[drlvm][build] Where to put mmtk.jar?

Folks,
I'm preparing the first patch with VM helpers inlining framework
implementation.
The Java fast-path helpers use org.vmmagic.unboxed classes (or "magic"
classes ) to use address arithmetic in helpers. That is the mmtk.jar is
required to build these classes.
The problem is that I do not know what is the best place to put mmtk.jar.
Should we make it downloadable from some 3rd party page? My vote is -1 here.
Let's be careful about what is in the JAR.
Could we put it directly into SVN? I'm +1 here. We have to decide only about
a folder name.

Any thoughts?

-- 
Mikhail Fursov

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Mikhail Fursov <mi...@gmail.com>.
On 10/26/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>
> Why not?  We do that for everything else, where we can.
>

My reasons are
1) I do not know any stable place where to get mmtk.jar. The file I use was
sent to me by Weldon. Another place where you can download it is Robin's
home directory: http://cs.anu.edu.au/people/Robin.Garner/mmtk-20061012.jar

2) We do not need the whole ~1Mb file. We need only one small package with
stubs from it now: org.vmmagic.unboxed

But I'm agree, that the best way for us is to download the clean and minimal
JAR with 'unboxed' package from the 3rd site.

Robin, Weldon,
Could you organize it for Harmony? :)


-- 
Mikhail Fursov

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Robin Garner <ro...@anu.edu.au>.
I'll need to consult within the MMTk world, but my preference would be to
distribute jar files for the vmmagic and mmtk interfaces, separate to the
implementation.

Leave it with me.

cheers

Geir Magnusson Jr. wrote:
> works for me
>
> Weldon Washburn wrote:
>>
>>
>> On 10/26/06, *Geir Magnusson Jr.* <geir@pobox.com
<ma...@pobox.com>> wrote:
>>
>>
>>
>>     Mikhail Fursov wrote:
>>      > Folks,
>>      > I'm preparing the first patch with VM helpers inlining framework
>>      > implementation.
>>      > The Java fast-path helpers use org.vmmagic.unboxed classes (or
>>     "magic"
>>      > classes ) to use address arithmetic in helpers. That is the
>>     mmtk.jar is
>>      > required to build these classes.
>>      > The problem is that I do not know what is the best place to put
>>     mmtk.jar.
>>      > Should we make it downloadable from some 3rd party page? My vote
>>     is -1
>>      > here.
>>
>>     Why not?  We do that for everything else, where we can.
>>
>> I agree with Geir.  Its best to try to stay out of the business of
warehousing 3rd party stuff.  Let's download MMTk.jar from a web page
during "build fetch-depends".   We can change this if it causes
problems. Robin Garner, can you help us with this?  What is the best
URL for this?
>>
>>      > Let's be careful about what is in the JAR.
>>      > Could we put it directly into SVN? I'm +1 here. We have to decide
>>     only
>>      > about
>>      > a folder name.
>>      >
>>      > Any thoughts?
>>      >
>>
>>
>>
>>
>> --
>> Weldon Washburn
>> Intel Enterprise Solutions Software Division




Re: [drlvm][build] Where to put mmtk.jar?

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.
works for me

Weldon Washburn wrote:
> 
> 
> On 10/26/06, *Geir Magnusson Jr.* <geir@pobox.com 
> <ma...@pobox.com>> wrote:
> 
> 
> 
>     Mikhail Fursov wrote:
>      > Folks,
>      > I'm preparing the first patch with VM helpers inlining framework
>      > implementation.
>      > The Java fast-path helpers use org.vmmagic.unboxed classes (or
>     "magic"
>      > classes ) to use address arithmetic in helpers. That is the
>     mmtk.jar is
>      > required to build these classes.
>      > The problem is that I do not know what is the best place to put
>     mmtk.jar.
>      > Should we make it downloadable from some 3rd party page? My vote
>     is -1
>      > here.
> 
>     Why not?  We do that for everything else, where we can. 
> 
>  
> I agree with Geir.  Its best to try to stay out of the business of 
> warehousing 3rd party stuff.  Let's download MMTk.jar from a web page 
> during "build fetch-depends".   We can change this if it causes 
> problems. Robin Garner, can you help us with this?  What is the best URL 
> for this?
> 
>      > Let's be careful about what is in the JAR.
>      > Could we put it directly into SVN? I'm +1 here. We have to decide
>     only
>      > about
>      > a folder name.
>      >
>      > Any thoughts?
>      >
> 
> 
> 
> 
> -- 
> Weldon Washburn
> Intel Enterprise Solutions Software Division

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Weldon Washburn <we...@gmail.com>.
On 10/26/06, Geir Magnusson Jr. <ge...@pobox.com> wrote:
>
>
>
> Mikhail Fursov wrote:
> > Folks,
> > I'm preparing the first patch with VM helpers inlining framework
> > implementation.
> > The Java fast-path helpers use org.vmmagic.unboxed classes (or "magic"
> > classes ) to use address arithmetic in helpers. That is the mmtk.jar is
> > required to build these classes.
> > The problem is that I do not know what is the best place to put mmtk.jar
> .
> > Should we make it downloadable from some 3rd party page? My vote is -1
> > here.
>
> Why not?  We do that for everything else, where we can.


I agree with Geir.  Its best to try to stay out of the business of
warehousing 3rd party stuff.  Let's download MMTk.jar from a web page during
"build fetch-depends".   We can change this if it causes problems. Robin
Garner, can you help us with this?  What is the best URL for this?

> Let's be careful about what is in the JAR.
> > Could we put it directly into SVN? I'm +1 here. We have to decide only
> > about
> > a folder name.
> >
> > Any thoughts?
> >
>



-- 
Weldon Washburn
Intel Enterprise Solutions Software Division

Re: [drlvm][build] Where to put mmtk.jar?

Posted by "Geir Magnusson Jr." <ge...@pobox.com>.

Mikhail Fursov wrote:
> Folks,
> I'm preparing the first patch with VM helpers inlining framework
> implementation.
> The Java fast-path helpers use org.vmmagic.unboxed classes (or "magic"
> classes ) to use address arithmetic in helpers. That is the mmtk.jar is
> required to build these classes.
> The problem is that I do not know what is the best place to put mmtk.jar.
> Should we make it downloadable from some 3rd party page? My vote is -1 
> here.

Why not?  We do that for everything else, where we can.

> Let's be careful about what is in the JAR.
> Could we put it directly into SVN? I'm +1 here. We have to decide only 
> about
> a folder name.
> 
> Any thoughts?
> 

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Mikhail Fursov <mi...@gmail.com>.
Weldon,
Glad to hear that we will have separate and lightweight vmmagic jar soon.
Thanks to you and Steve!

As for today: I use Robin's site in the patch with VM helpers support to
download mmtk.jar. Let's change mmtk location when Steve adds first file
release to vmmagic.sf.net site.

+ Could you take a look at this issue:
http://issues.apache.org/jira/browse/HARMONY-2008 ?


On 10/31/06, Weldon Washburn <we...@gmail.com> wrote:
>
> All,
> I received a private email from Steve Blackburn regarding mmtk.jar.  There
> is a new forum for discussing vmmagic at:
> http://sourceforge.net/projects/vmmagic.  It seems that vmmagic API won't
> be
> changed impulsively as there are several projects dependent on the current
> interface.
>
>
> On 10/27/06, Xiao-Feng Li <xi...@gmail.com> wrote:
> >
> > On 10/27/06, Mikhail Fursov <mi...@gmail.com> wrote:
> > > On 10/27/06, Weldon Washburn <we...@gmail.com> wrote:
> > > >
> > > > On 10/26/06, Xiao-Feng Li <xi...@gmail.com> wrote:
> > > > >
> > > > > Hi, Mikhail, would you please educate me why this helper inlining
> > work
> > > > > depends on mmtk.jar? If only the unboxed classes are used, why
> can't
> > > > > we write a simple replacement? That's just easy.
> > > >
> > > >
> > > > Agreed its real easy to do.  But I for one would like Harmony to
> stay
> > as
> > > > close to MMTk standard interfaces as possible.  And the best way to
> do
> > > > that
> > > > is download their *.class files.  Otherwise 3 years from now the
> world
> > > > will
> > > > have MMTk vmmagic and Harmony vmmagic that are not identical.
> > >
> > >
> > > +1
> > > This also will attract MMTk developers to our project. As Robin said
> our
> > > project has VM, compiler, classlib and everything else needed for J2SE
> > in
> > > the same place. So we are more flexible for experiments then any other
> > open
> > > Java platform I know.
> >
> > Agree. As long as we have API documentation available for helper
> > developers, this is a good solution.
> >
> > Thanks,
> > xiaofeng
> >
> > > --
> > > Mikhail Fursov
> > >
> > >
> >
>
>
>
> --
> Weldon Washburn
> Intel Enterprise Solutions Software Division
>
>


-- 
Mikhail Fursov

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Weldon Washburn <we...@gmail.com>.
All,
I received a private email from Steve Blackburn regarding mmtk.jar.  There
is a new forum for discussing vmmagic at:
http://sourceforge.net/projects/vmmagic.  It seems that vmmagic API won't be
changed impulsively as there are several projects dependent on the current
interface.


On 10/27/06, Xiao-Feng Li <xi...@gmail.com> wrote:
>
> On 10/27/06, Mikhail Fursov <mi...@gmail.com> wrote:
> > On 10/27/06, Weldon Washburn <we...@gmail.com> wrote:
> > >
> > > On 10/26/06, Xiao-Feng Li <xi...@gmail.com> wrote:
> > > >
> > > > Hi, Mikhail, would you please educate me why this helper inlining
> work
> > > > depends on mmtk.jar? If only the unboxed classes are used, why can't
> > > > we write a simple replacement? That's just easy.
> > >
> > >
> > > Agreed its real easy to do.  But I for one would like Harmony to stay
> as
> > > close to MMTk standard interfaces as possible.  And the best way to do
> > > that
> > > is download their *.class files.  Otherwise 3 years from now the world
> > > will
> > > have MMTk vmmagic and Harmony vmmagic that are not identical.
> >
> >
> > +1
> > This also will attract MMTk developers to our project. As Robin said our
> > project has VM, compiler, classlib and everything else needed for J2SE
> in
> > the same place. So we are more flexible for experiments then any other
> open
> > Java platform I know.
>
> Agree. As long as we have API documentation available for helper
> developers, this is a good solution.
>
> Thanks,
> xiaofeng
>
> > --
> > Mikhail Fursov
> >
> >
>



-- 
Weldon Washburn
Intel Enterprise Solutions Software Division

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Xiao-Feng Li <xi...@gmail.com>.
On 10/27/06, Mikhail Fursov <mi...@gmail.com> wrote:
> On 10/27/06, Weldon Washburn <we...@gmail.com> wrote:
> >
> > On 10/26/06, Xiao-Feng Li <xi...@gmail.com> wrote:
> > >
> > > Hi, Mikhail, would you please educate me why this helper inlining work
> > > depends on mmtk.jar? If only the unboxed classes are used, why can't
> > > we write a simple replacement? That's just easy.
> >
> >
> > Agreed its real easy to do.  But I for one would like Harmony to stay as
> > close to MMTk standard interfaces as possible.  And the best way to do
> > that
> > is download their *.class files.  Otherwise 3 years from now the world
> > will
> > have MMTk vmmagic and Harmony vmmagic that are not identical.
>
>
> +1
> This also will attract MMTk developers to our project. As Robin said our
> project has VM, compiler, classlib and everything else needed for J2SE in
> the same place. So we are more flexible for experiments then any other open
> Java platform I know.

Agree. As long as we have API documentation available for helper
developers, this is a good solution.

Thanks,
xiaofeng

> --
> Mikhail Fursov
>
>

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Mikhail Fursov <mi...@gmail.com>.
On 10/27/06, Weldon Washburn <we...@gmail.com> wrote:
>
> On 10/26/06, Xiao-Feng Li <xi...@gmail.com> wrote:
> >
> > Hi, Mikhail, would you please educate me why this helper inlining work
> > depends on mmtk.jar? If only the unboxed classes are used, why can't
> > we write a simple replacement? That's just easy.
>
>
> Agreed its real easy to do.  But I for one would like Harmony to stay as
> close to MMTk standard interfaces as possible.  And the best way to do
> that
> is download their *.class files.  Otherwise 3 years from now the world
> will
> have MMTk vmmagic and Harmony vmmagic that are not identical.


+1
This also will attract MMTk developers to our project. As Robin said our
project has VM, compiler, classlib and everything else needed for J2SE in
the same place. So we are more flexible for experiments then any other open
Java platform I know.

-- 
Mikhail Fursov

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Weldon Washburn <we...@gmail.com>.
On 10/26/06, Xiao-Feng Li <xi...@gmail.com> wrote:
>
> Hi, Mikhail, would you please educate me why this helper inlining work
> depends on mmtk.jar? If only the unboxed classes are used, why can't
> we write a simple replacement? That's just easy.


Agreed its real easy to do.  But I for one would like Harmony to stay as
close to MMTk standard interfaces as possible.  And the best way to do that
is download their *.class files.  Otherwise 3 years from now the world will
have MMTk vmmagic and Harmony vmmagic that are not identical.

Thanks,
> xiaofeng
>
> On 10/26/06, Mikhail Fursov <mi...@gmail.com> wrote:
> > Folks,
> > I'm preparing the first patch with VM helpers inlining framework
> > implementation.
> > The Java fast-path helpers use org.vmmagic.unboxed classes (or "magic"
> > classes ) to use address arithmetic in helpers. That is the mmtk.jar is
> > required to build these classes.
> > The problem is that I do not know what is the best place to put mmtk.jar
> .
> > Should we make it downloadable from some 3rd party page? My vote is -1
> here.
> > Let's be careful about what is in the JAR.
> > Could we put it directly into SVN? I'm +1 here. We have to decide only
> about
> > a folder name.
> >
> > Any thoughts?
> >
> > --
> > Mikhail Fursov
> >
> >
>



-- 
Weldon Washburn
Intel Enterprise Solutions Software Division

Re: [drlvm][build] Where to put mmtk.jar?

Posted by Xiao-Feng Li <xi...@gmail.com>.
Hi, Mikhail, would you please educate me why this helper inlining work
depends on mmtk.jar? If only the unboxed classes are used, why can't
we write a simple replacement? That's just easy.

Thanks,
xiaofeng

On 10/26/06, Mikhail Fursov <mi...@gmail.com> wrote:
> Folks,
> I'm preparing the first patch with VM helpers inlining framework
> implementation.
> The Java fast-path helpers use org.vmmagic.unboxed classes (or "magic"
> classes ) to use address arithmetic in helpers. That is the mmtk.jar is
> required to build these classes.
> The problem is that I do not know what is the best place to put mmtk.jar.
> Should we make it downloadable from some 3rd party page? My vote is -1 here.
> Let's be careful about what is in the JAR.
> Could we put it directly into SVN? I'm +1 here. We have to decide only about
> a folder name.
>
> Any thoughts?
>
> --
> Mikhail Fursov
>
>