MLVM on BSD Port: No Love

Charles Oliver Nutter charles.nutter at sun.com
Thu Sep 11 15:33:28 PDT 2008


Jochen Theodorou wrote:
> say is there somewhere a step-by-step guide on how to compile this?, not 
> the BSD port, a linux port is what I need.  For example... where is the 
> repository? What version do need? What to use to check out?
> 
> If it is documented somewhere, then even better, just show me the page 
> please ;)

http://openjdk.java.net/projects/mlvm/

Here's the walkthrough as contained in the repository's README.txt:

         $ mkdir davinci
         $ cd davinci
         $ hg fclone http://hg.openjdk.java.net/jdk7/hotspot sources
         $ hg fclone http://hg.openjdk.java.net/mlvm/mlvm patches
         $ sh patches/make/link-patch-dirs.sh sources patches
         + ln -s ../../../patches/hotspot sources/hotspot/.hg/patches
         + ln -s ../../../patches/jdk sources/jdk/.hg/patches
         $ ls -il patches/hotspot/series sources/hotspot/.hg/patches/series
         (should be identical files)
         $ guards="buildable testable $(sh patches/make/current-release.sh)"
         $ sh patches/make/each-patch-repo.sh hg qselect --pop $guards
         $ sh patches/make/each-patch-repo.sh hg qpush -a

Of course you need to be able to set up a working JDK build too; that's 
out of scope for these instructions.

> Also I don't really know yet how I can make use of invokedynamic all of 
> my own... a changed javac won't help me with groovy for example... and 
> what will the ASM lib say?

I'm using ASM and everything works fine. Just emit an invokevirtual 
against Dynamic.

- Charlie



More information about the mlvm-dev mailing list