# HG changeset patch # User Doug Simon # Date 1415639581 -3600 # Node ID 6f99dae5df578dc62eebd48c72fc6f45a0f483c1 # Parent 06756883d87e67e80f3630b19036acd52a959321 be verbose about replay compilation test failure diff -r 06756883d87e -r 6f99dae5df57 graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java --- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Mon Nov 10 17:28:38 2014 +0100 +++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/GraalCompilerTest.java Mon Nov 10 18:13:01 2014 +0100 @@ -689,13 +689,17 @@ CallingConvention cc = getCallingConvention(getCodeCache(), Type.JavaCallee, graphToCompile.method(), false); try (Context c = new Context(); Debug.Scope s = Debug.scope("ReplayCompiling", new DebugDumpScope("REPLAY", true))) { - Request request = new GraalCompiler.Request<>(graphToCompile, null, cc, installedCodeOwner, getProviders(), getBackend(), getCodeCache().getTarget(), null, - getDefaultGraphBuilderSuite(), OptimisticOptimizations.ALL, getProfilingInfo(graphToCompile), getSpeculationLog(), getSuites(), new CompilationResult(), - CompilationResultBuilderFactory.Default); + try { + Request request = new GraalCompiler.Request<>(graphToCompile, null, cc, installedCodeOwner, getProviders(), getBackend(), getCodeCache().getTarget(), null, + getDefaultGraphBuilderSuite(), OptimisticOptimizations.ALL, getProfilingInfo(graphToCompile), getSpeculationLog(), getSuites(), new CompilationResult(), + CompilationResultBuilderFactory.Default); - request = c.get(request); - - return GraalCompiler.compile(request); + request = c.get(request); + return GraalCompiler.compile(request); + } catch (Throwable e) { + e.printStackTrace(); + throw e; + } } catch (Throwable e) { throw Debug.handle(e); }