Hi everyone!
I was able to resolve the remaining issues. Scala successfully bootstraps on Avian. All tests pass.²
² Excluding the instrumented ones; instrumentation is not supported on Avian.
³ Imho, it is currently not fast enough to be included in the PR validation.
Out of curiosity: is there particular reason why instrumentation is not supported?
What's the performance compared to Oracle JVM? How long does it take to run all tests?
I was able to resolve the remaining issues. Scala successfully bootstraps on Avian. All tests pass.²
Any chance to move this forward?
Yes, I think so. However, the biggest question is: who is going to do the work and how much work is needed?How hard is to maintain (install, update, etc.) Avian VM?I'd suggest that you look at https://github.com/scala/jenkins-scripts/blob/master/job/scala-nightly-main (which is used to run https://scala-webapps.epfl.ch/jenkins/job/scala-nightly-main-master/) and determine if those scripts we use for jenkins could be easily adapted so we can have nightly build on top of Avian.I think at this point all we could offer is to run nightly on top of Avian. You'd need to build community around supporting Scala on Avian which would be responsible for keeping that job to be green. Once we gain more experience with the whole experiment we might consider tighter integration.
The build script I have been using looks like this (sorry, no bash expert):
### HOST ###
cd
cd Entwicklung/avian-build/jdk7u-dev
# Cloned from http://hg.openjdk.java.net/jdk7u/jdk7u-dev
hg pull default
bash get_source.sh
LANG=C make ALLOW_DOWNLOADS=true ALT_BOOTDIR=/usr/lib/jvm/java-7-openjdk-amd64 clean
unset JAVA_HOME
LANG=C make ALLOW_DOWNLOADS=true ALT_BOOTDIR=/usr/lib/jvm/java-7-openjdk-amd64
cd
cd Entwicklung/avian-build/
rm -rf jdk-avian
cp -r jdk7u-dev/build/linux-amd64/j2sdk-server-image/ jdk-avian
cd
cd Entwicklung/avian-build/avian
# Cloned from https://github.com/ReadyTalk/avian.git
git pull origin
make clean
make tails=true strip=: openjdk=/home/soc/Entwicklung/avian-build/jdk-avian
cp build/linux-x86_64-tails-openjdk/libjvm.so ../jdk-avian/jre/lib/amd64/server
cd
cd Entwicklung/avian-build/scala
# Cloned from https://github.com/scala/scala.git
git pull origin master
ant all.clean
### GUEST ###
cd
cd /home/soc/Entwicklung
sudo mount -t vboxsf -o uid=1000,gid=1000 avian avian-build
export JAVA_HOME="/home/soc/Entwicklung/avian-build/jdk-avian"
export SCALA_BIN="/home/soc/Entwicklung/avian-build/scala/build/pack/bin/"
export PATH=${PATH}:${JAVA_HOME}/bin:${SCALA_BIN}
cd
cd /home/soc/Entwicklung/avian-build/scala
/home/soc/Entwicklung/avian-build/avian/build/linux-x86_64-tails-openjdk/avian-dynamic -Xmx2048m -Xss1m -classpath /home/soc/Entwicklung/avian-build/apache-ant-1.9.0/lib/ant-launcher.jar -Dant.home=/home/soc/Entwicklung/avian-build/apache-ant-1.9.0 -Dant.library.dir=/home/soc/Entwicklung/avian-build/apache-ant-1.9.0/lib org.apache.tools.ant.launch.Launcher test
That's pretty much it.
I'd suggest that you look at https://github.com/scala/jenkins-scripts/blob/master/job/scala-nightly-main (which is used to run https://scala-webapps.epfl.ch/jenkins/job/scala-nightly-main-master/) and determine if those scripts we use for jenkins could be easily adapted so we can have nightly build on top of Avian.
--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.