CompilationFinalWeakReferencePartialEvaluationTest

Andreas Woess andreas.woess at oracle.com
Wed Dec 7 16:03:00 UTC 2016


Hi Andrew,

I guess this test is fails on AArch64 because Truffle is currently 
missing AArch64 support [1], so it's not executing Truffle-compiled code 
as the test expects. Feel free to @Ignore the test for now, and we will 
take care of it later.

[1] namely an implementation of 
OptimizedCallTargetInstrumentationFactory (for interested parties)

- Andreas


On 07/12/2016 16:44, Andrew Haley wrote:
> I'm baffled by this test.  If I run it on AArch64 it fails with
>
> java.lang.AssertionError: expected:<42> but was:<57005>
> 	at org.junit.Assert.fail(JUNIT.4e031bb61df09069aeb2bffb4019e7a5034a4ee0/Assert.java:88)
> ...
> 	at com.oracle.graal.truffle.test.CompilationFinalWeakReferencePartialEvaluationTest.compilationFinalWeakReferenceTest(CompilationFinalWeakReferencePartialEvaluationTest.java:147)
>
> So I tried it on x86.  If I run it on x86 with debugging single-step
> in eclipse, it does the same as on AArch64.  If I run it on x86
> without debugging enabled then it passes.
>
> So, I cannot debug to find the problem because debugging always
> breaks the test.  Please help me to understand what this test is
> supposed to do, and how it is supposed to work.
>
> Thanks,
>
> Andrew.



More information about the graal-dev mailing list