[aarch64-port-dev ] jdk8u: 8157306: Random infrequent null pointer exceptions in javac
Andrew Haley
aph at redhat.com
Tue Aug 9 15:33:41 UTC 2016
Backport from JDK9; critical crasher bug.
Andrew.
changeset: 9110:1f235fde052f
tag: tip
user: aph
date: Thu Jun 23 17:58:59 2016 +0000
summary: 8157306: Random infrequent null pointer exceptions in javac
diff -r 789ee8b7b92a -r 1f235fde052f src/share/vm/opto/lcm.cpp
--- a/src/share/vm/opto/lcm.cpp Tue Aug 02 16:52:03 2016 +0100
+++ b/src/share/vm/opto/lcm.cpp Thu Jun 23 17:58:59 2016 +0000
@@ -1090,11 +1090,12 @@
Block *sb = block->_succs[i];
// Clone the entire area; ignoring the edge fixup for now.
for( uint j = end; j > beg; j-- ) {
- // It is safe here to clone a node with anti_dependence
- // since clones dominate on each path.
Node *clone = block->get_node(j-1)->clone();
sb->insert_node(clone, 1);
map_node_to_block(clone, sb);
+ if (clone->needs_anti_dependence_check()) {
+ insert_anti_dependences(sb, clone);
+ }
}
}
More information about the aarch64-port-dev
mailing list