changeset 14542:084603b0bfbb

CheckGraalInvariants: catch BailoutException
author Bernhard Urban <bernhard.urban@jku.at>
date Fri, 14 Mar 2014 18:10:59 +0100
parents 145b31ba9a57
children 12eaf1a47a90 c828417b7037
files graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/CheckGraalInvariants.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/CheckGraalInvariants.java	Fri Mar 14 15:40:54 2014 +0100
+++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/CheckGraalInvariants.java	Fri Mar 14 18:10:59 2014 +0100
@@ -120,6 +120,9 @@
                                 errors.add(e.getMessage());
                             } catch (LinkageError e) {
                                 // suppress linkages errors resulting from eager resolution
+                            } catch (BailoutException e) {
+                                // Graal bail outs on certain patterns in Java bytecode (e.g.,
+                                // unbalanced monitors introduced by jacoco).
                             } catch (Throwable e) {
                                 StringWriter sw = new StringWriter();
                                 e.printStackTrace(new PrintWriter(sw));