comparison src/share/vm/opto/cfgnode.cpp @ 845:df6caf649ff7

6700789: G1: Enable use of compressed oops with G1 heaps Summary: Modifications to G1 so as to allow the use of compressed oops. Reviewed-by: apetrusenko, coleenp, jmasa, kvn, never, phh, tonyp
author ysr
date Tue, 14 Jul 2009 15:40:39 -0700
parents 7bb995fbd3c0
children 433f394ab509 36b5611220a7
comparison
equal deleted inserted replaced
839:bb18957ad21e 845:df6caf649ff7
1787 } 1787 }
1788 1788
1789 #ifdef _LP64 1789 #ifdef _LP64
1790 // Push DecodeN down through phi. 1790 // Push DecodeN down through phi.
1791 // The rest of phi graph will transform by split EncodeP node though phis up. 1791 // The rest of phi graph will transform by split EncodeP node though phis up.
1792 if (UseCompressedOops && can_reshape && progress == NULL) { 1792 if (UseNewCode && UseCompressedOops && can_reshape && progress == NULL) {
1793 bool may_push = true; 1793 bool may_push = true;
1794 bool has_decodeN = false; 1794 bool has_decodeN = false;
1795 Node* in_decodeN = NULL; 1795 Node* in_decodeN = NULL;
1796 for (uint i=1; i<req(); ++i) {// For all paths in 1796 for (uint i=1; i<req(); ++i) {// For all paths in
1797 Node *ii = in(i); 1797 Node *ii = in(i);