Mercurial > hg > truffle
comparison src/share/vm/opto/compile.cpp @ 12226:7944aba7ba41
8015107: NPG: Use consistent naming for metaspace concepts
Reviewed-by: coleenp, mgerdin, hseigel
author | ehelin |
---|---|
date | Mon, 12 Aug 2013 17:37:02 +0200 |
parents | 650868c062a9 |
children | 884ed7a10f09 |
comparison
equal
deleted
inserted
replaced
12186:313b724f8911 | 12226:7944aba7ba41 |
---|---|
2629 assert( !addp->is_AddP() || | 2629 assert( !addp->is_AddP() || |
2630 addp->in(AddPNode::Base)->is_top() || // Top OK for allocation | 2630 addp->in(AddPNode::Base)->is_top() || // Top OK for allocation |
2631 addp->in(AddPNode::Base) == n->in(AddPNode::Base), | 2631 addp->in(AddPNode::Base) == n->in(AddPNode::Base), |
2632 "Base pointers must match" ); | 2632 "Base pointers must match" ); |
2633 #ifdef _LP64 | 2633 #ifdef _LP64 |
2634 if ((UseCompressedOops || UseCompressedKlassPointers) && | 2634 if ((UseCompressedOops || UseCompressedClassPointers) && |
2635 addp->Opcode() == Op_ConP && | 2635 addp->Opcode() == Op_ConP && |
2636 addp == n->in(AddPNode::Base) && | 2636 addp == n->in(AddPNode::Base) && |
2637 n->in(AddPNode::Offset)->is_Con()) { | 2637 n->in(AddPNode::Offset)->is_Con()) { |
2638 // Use addressing with narrow klass to load with offset on x86. | 2638 // Use addressing with narrow klass to load with offset on x86. |
2639 // On sparc loading 32-bits constant and decoding it have less | 2639 // On sparc loading 32-bits constant and decoding it have less |
3016 } | 3016 } |
3017 } | 3017 } |
3018 | 3018 |
3019 // Skip next transformation if compressed oops are not used. | 3019 // Skip next transformation if compressed oops are not used. |
3020 if ((UseCompressedOops && !Matcher::gen_narrow_oop_implicit_null_checks()) || | 3020 if ((UseCompressedOops && !Matcher::gen_narrow_oop_implicit_null_checks()) || |
3021 (!UseCompressedOops && !UseCompressedKlassPointers)) | 3021 (!UseCompressedOops && !UseCompressedClassPointers)) |
3022 return; | 3022 return; |
3023 | 3023 |
3024 // Go over safepoints nodes to skip DecodeN/DecodeNKlass nodes for debug edges. | 3024 // Go over safepoints nodes to skip DecodeN/DecodeNKlass nodes for debug edges. |
3025 // It could be done for an uncommon traps or any safepoints/calls | 3025 // It could be done for an uncommon traps or any safepoints/calls |
3026 // if the DecodeN/DecodeNKlass node is referenced only in a debug info. | 3026 // if the DecodeN/DecodeNKlass node is referenced only in a debug info. |