Mercurial > hg > release > icedtea7-forest-2.6 > hotspot
changeset 6471:0771982261c9
8157306, PR3209: Random infrequent null pointer exceptions in javac
Reviewed-by: kvn
author | aph |
---|---|
date | Wed, 26 Oct 2016 05:40:47 +0100 |
parents | 854132273cf4 |
children | b2f113534842 |
files | src/share/vm/opto/lcm.cpp |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/opto/lcm.cpp Thu Oct 06 15:11:35 2016 +0000 +++ b/src/share/vm/opto/lcm.cpp Wed Oct 26 05:40:47 2016 +0100 @@ -1068,11 +1068,14 @@ Block *sb = _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 = _nodes[j-1]->clone(); sb->_nodes.insert( 1, clone ); bbs.map(clone->_idx,sb); +#ifdef AARCH64 + if (clone->needs_anti_dependence_check()) { + insert_anti_dependences(sb, clone); + } +#endif } }