Graal/Truffle Release 0.2
Stefan Marr
java at stefan-marr.de
Wed Mar 26 19:52:09 UTC 2014
Hi:
On 26 Mar 2014, at 09:55, Bernhard Urban <bernhard.urban at jku.at> wrote:
> in order to make the life easier for external Truffle implementations, we
> introduced a release model for Graal and Truffle some weeks ago. The idea
> is to release a truffle.jar which is in sync with a Graal enabled VM in
> terms of API. Yesterday we made version 0.2:
> http://lafo.ssw.uni-linz.ac.at/builds/
I already reported to Andreas an issue I am seeing with the latest changes for thread safe ASTs.
I was suspecting that something on the benchmarking machine is wrong in terms of compilers.
But, I just downloaded your precompiled binary onto this 8 core machine, and keep seeing the ThreadSafetyTest test failure below.
Unrelated, I was trying to run the tests based on the truffle.jar you provide, but it doesn’t contain the unit tests. Might be useful to also provide a jar with the unit tests. That could help with running such tests easily.
I have still no idea what is going on here. But since very recently, I have severe issues with the correctness of TruffleSOM executions. And, I suspect there is something funky going on with the background compilation. But, wasn’t able to confirm that yet.
Best regards
Stefan
smarr at Infinity:~/tmp/test/graalvm-jdk1.8.0$ bin/java -server -cp ../graal/lib/junit-4.8.jar:truffle-0.2.jar:../graal/graal/com.oracle.truffle.api.test/bin/ org.junit.runner.JUnitCore com.oracle.truffle.api.test.ThreadSafetyTest
JUnit version 4.8
.E
Time: 39.163
There was 1 failure:
1) test(com.oracle.truffle.api.test.ThreadSafetyTest)
java.lang.AssertionError: expected:<1000000> but was:<766512>
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.failNotEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:126)
at org.junit.Assert.assertEquals(Assert.java:470)
at org.junit.Assert.assertEquals(Assert.java:454)
at com.oracle.truffle.api.test.ThreadSafetyTest.testTarget(ThreadSafetyTest.java:79)
at com.oracle.truffle.api.test.ThreadSafetyTest.test(ThreadSafetyTest.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:24)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
at org.junit.runner.JUnitCore.runMain(JUnitCore.java:98)
at org.junit.runner.JUnitCore.runMainAndExit(JUnitCore.java:53)
at org.junit.runner.JUnitCore.main(JUnitCore.java:45)
FAILURES!!!
Tests run: 1, Failures: 1
--
Stefan Marr
INRIA Lille - Nord Europe
http://stefan-marr.de/research/
More information about the graal-dev
mailing list