Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/opto/cfgnode.cpp Fri Jul 10 16:01:20 2009 -0700 +++ b/src/share/vm/opto/cfgnode.cpp Tue Jul 14 15:40:39 2009 -0700 @@ -1789,7 +1789,7 @@ #ifdef _LP64 // Push DecodeN down through phi. // The rest of phi graph will transform by split EncodeP node though phis up. - if (UseCompressedOops && can_reshape && progress == NULL) { + if (UseNewCode && UseCompressedOops && can_reshape && progress == NULL) { bool may_push = true; bool has_decodeN = false; Node* in_decodeN = NULL;