@TearDown(Level.Invocation)
public void afterInvocation() {
if (invocation == 0) {
// Only need to check the first invocation
invocation++;
for (int i = 0; i < nodes.length; i++) {
if (nodes[i] != originalNodes[i]) {
throw new InternalError(String.format("Benchmark method mutated node %d: original=%s, current=%s", i, originalNodes[i], nodes[i]));
}
}
}
}
NodesState.java 文件源码
java
阅读 32
收藏 0
点赞 0
评论 0
项目:graal-core
作者:
评论列表
文章目录