< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/VerifyBailoutUsage.java
Print this page
*** 71,81 ****
}
return false;
}
@Override
! protected boolean verify(StructuredGraph graph, PhaseContext context) {
final ResolvedJavaType bailoutType = context.getMetaAccess().lookupJavaType(BailoutException.class);
ResolvedJavaMethod caller = graph.method();
String holderQualified = caller.format("%H");
String holderUnqualified = caller.format("%h");
String packageName = holderQualified.substring(0, holderQualified.length() - holderUnqualified.length() - 1);
--- 71,81 ----
}
return false;
}
@Override
! protected void verify(StructuredGraph graph, PhaseContext context) {
final ResolvedJavaType bailoutType = context.getMetaAccess().lookupJavaType(BailoutException.class);
ResolvedJavaMethod caller = graph.method();
String holderQualified = caller.format("%H");
String holderUnqualified = caller.format("%h");
String packageName = holderQualified.substring(0, holderQualified.length() - holderUnqualified.length() - 1);
*** 90,98 ****
RetryableBailoutException.class.getName());
}
}
}
}
- return true;
}
}
--- 90,97 ----
< prev index next >