What is AheadOfTimeCompilationTest supposed to do?

Doug Simon doug.simon at oracle.com
Thu Feb 9 23:28:03 UTC 2017

Now that real AOT is implemented on Graal with a suite of tests, this early attempt at ensuring what might be necessary for AOT should probably be retired. For now, you can just:

Assume.assumeFalse(getTarget().arch instanceof AArch64);

for the tests that fail.


> On 9 Feb 2017, at 19:08, Andrew Haley <aph at redhat.com> wrote:
> I'm running this, and the code I generate looks much the same as the x86
> code, structurally speaking.  But I fail the testStaticFinalObjectAOT()
> test with an assertion because
>        assertDeepEquals(1, getConstantNodes(result).count());
> I have 3 constant nodes.
> But what is being tested here?  Why does the number of constant nodes
> have to equal 1?
> The three constant nodes I have are the static final Object and two
> integers which are field offsets.
> Andrew.

More information about the graal-dev mailing list