comparison src/share/vm/opto/compile.cpp @ 325:93befa083681

6741004: UseLargePages + UseCompressedOops breaks implicit null checking guard page Summary: Turn off c2 implicit null checking on windows and large pages specified. Reviewed-by: jrose, xlu
author coleenp
date Tue, 02 Sep 2008 15:18:26 -0400
parents c3e045194476
children 7484fa4b8825
comparison
equal deleted inserted replaced
324:23c6240101a0 325:93befa083681
2080 Node* in2 = NULL; 2080 Node* in2 = NULL;
2081 if( n->in(2)->is_DecodeN() ) { 2081 if( n->in(2)->is_DecodeN() ) {
2082 in2 = n->in(2)->in(1); 2082 in2 = n->in(2)->in(1);
2083 } else if ( n->in(2)->Opcode() == Op_ConP ) { 2083 } else if ( n->in(2)->Opcode() == Op_ConP ) {
2084 const Type* t = n->in(2)->bottom_type(); 2084 const Type* t = n->in(2)->bottom_type();
2085 if (t == TypePtr::NULL_PTR) { 2085 if (t == TypePtr::NULL_PTR && UseImplicitNullCheckForNarrowOop) {
2086 Node *in1 = n->in(1); 2086 Node *in1 = n->in(1);
2087 if (Matcher::clone_shift_expressions) { 2087 if (Matcher::clone_shift_expressions) {
2088 // x86, ARM and friends can handle 2 adds in addressing mode. 2088 // x86, ARM and friends can handle 2 adds in addressing mode.
2089 // Decode a narrow oop and do implicit NULL check in address 2089 // Decode a narrow oop and do implicit NULL check in address
2090 // [R12 + narrow_oop_reg<<3 + offset] 2090 // [R12 + narrow_oop_reg<<3 + offset]