Mercurial > hg > graal-compiler
changeset 16120:af8b7d059e03
HSAIL: disabled NewStringEqualsTest
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 17 Jun 2014 16:37:14 +0200 |
parents | 310994c667a7 |
children | 4b1c42d33929 |
files | graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NewStringEqualsTest.java |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NewStringEqualsTest.java Tue Jun 17 12:05:34 2014 +0200 +++ b/graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/NewStringEqualsTest.java Tue Jun 17 16:37:14 2014 +0200 @@ -52,6 +52,12 @@ setupArrays(); String base = "ABCDEFGHIJ"; + // Resolving StringIndexOutOfBoundsException causes compilation of the + // lambda to fail as. Combined with use of InlineEverything and RemoveNeverExecutedCode + // the inlining budget is blown before String.equals can be inlined leaving + // a DirectCallTargetNode in the graph which cannot be lowered by HSAIL. + new StringIndexOutOfBoundsException().fillInStackTrace(); + dispatchLambdaKernel(NUM, (gid) -> { outArray[gid] = new String(chars, 0, 10 + (gid % 3)).equals(base); }); @@ -63,6 +69,7 @@ return (canHandleObjectAllocation()); } + @Ignore("see comment in runTest") @Test public void test() { try (DebugConfigScope s = disableIntercept()) { @@ -70,6 +77,7 @@ } } + @Ignore("see comment in runTest") @Test public void testUsingLambdaMethod() { try (DebugConfigScope s = disableIntercept()) {